]> git.pld-linux.org Git - SPECS.git/blob - ruby-dev-utils.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / ruby-dev-utils.spec
1 Summary:        Tools to aid Ruby development
2 Summary(pl.UTF-8):      Narzędzia pomagające przy programowaniu w języku Ruby
3 Name:           ruby-dev-utils
4 Version:        1.0.1
5 Release:        2
6 License:        GPL
7 Group:          Development/Languages
8 Source0:        http://rubyforge.org/frs/download.php/1678/dev-utils-%{version}.tgz
9 # Source0-md5:  4869bdb1d0f72ab015110797e691a530
10 URL:            http://dev-utils.rubyforge.org/
11 BuildRequires:  rpmbuild(macros) >= 1.277
12 BuildRequires:  ruby-devel
13 %{?ruby_mod_ver_requires_eq}
14 Requires:       ruby-extensions
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 dev-utils provides utilites to assist the process of developing Ruby
19 programs. At the moment, the target areas are debugging and unit
20 testing (planned).
21
22 %description -l pl.UTF-8
23 Pakiet dev-utils dostarcza narzędzia pomagające przy procesie
24 tworzenia programów w języku Ruby. Aktualnie docelowe obszary to
25 odpluskwianie i testy jednostkowe (planowane).
26
27 %prep
28 %setup -q -n dev-utils-%{version}
29
30 %build
31 ruby setup.rb config \
32         --rbdir=%{ruby_rubylibdir} \
33         --sodir=%{ruby_archdir}
34
35 ruby setup.rb setup
36
37 rdoc -o rdoc/ --main README.txt README.txt lib/* --title "%{name} %{version}" --inline-source
38 rdoc --ri -o ri lib/*
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
43
44 ruby setup.rb install --prefix=$RPM_BUILD_ROOT
45
46 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc rdoc/*
54 %{ruby_rubylibdir}/dev-utils
55 %{ruby_ridir}/DevUtils
This page took 0.395577 seconds and 3 git commands to generate.