Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
136 - 1
%{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
2
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
3
 
4
Name:
5
Version:
6
Release:        1%{?dist}
7
Summary:
8
 
9
Group:          Development/Languages
10
 
11
License:
12
URL:
13
Source0:
14
 
15
BuildArch:
16
BuildRequires:  ruby ruby-devel
17
Requires:       ruby(abi) = 1.8
18
# If this package is mainly a ruby library, it should provide
19
# whatever people have to require in their ruby scripts to use the library
20
# For example, if people use this lib with "require 'foo'", it should provide
21
# ruby(foo)
22
Provides:       ruby(LIBNAME)
23
 
24
%description
25
 
26
 
27
%prep
28
%setup -q
29
 
30
 
31
%build
32
export CFLAGS="$RPM_OPT_FLAGS"
33
 
34
 
35
%install
36
rm -rf $RPM_BUILD_ROOT
37
 
38
 
39
%check
40
 
41
 
42
%clean
43
rm -rf $RPM_BUILD_ROOT
44
 
45
 
46
%files
47
%defattr(-,root,root,-)
48
%doc
49
# For noarch packages: ruby_sitelib
50
%{ruby_sitelib}/*
51
# For arch-specific packages: ruby_sitearch
52
%{ruby_sitearch}/*
53
 
54
 
55
%changelog