]> git.pld-linux.org Git - projects/template-specs.git/blob - ruby.spec
- template for ruby too
[projects/template-specs.git] / ruby.spec
1 Summary:        -
2 Name:           ruby-
3 Version:        -
4 Release:        0.1
5 License:        - (enter GPL/GPL v2/GPL v3+/LGPL/MIT/Ruby License/other license name here)
6 Source0:        http://rubyforge.org/frs/download.php/...
7 # Source0-md5:  -
8 Group:          Development/Languages
9 URL:            http://rubyforge.org/projects/.../
10 BuildRequires:  rpmbuild(macros) >= 1.277
11 BuildRequires:  ruby-modules
12 %{?ruby_mod_ver_requires_eq}
13 #BuildArch:     noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 # nothing to be placed there. we're not noarc only because of ruby packaging
17 %define         _enable_debug_packages  0
18
19 %description
20 ...
21
22 %package rdoc
23 Summary:        Documentation files for ...
24 Group:          Documentation
25
26 %description rdoc
27 Documentation files for ....
28
29 %prep
30 %setup -q -n ...-%{version}
31
32 %build
33 rdoc --ri --op ri lib
34 rdoc --op rdoc lib
35 %{__rm} -f ri/created.rid
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
40 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
41 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc CHANGELOG README
49
50 %files rdoc
51 %defattr(644,root,root,755)
52 %{ruby_ridir}/ri/...
This page took 0.156055 seconds and 4 git commands to generate.