]> git.pld-linux.org Git - SPECS.git/blob - ruby-deprecated.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / ruby-deprecated.spec
1 Summary:        Library for dealing with deprecated functions
2 Name:           ruby-deprecated
3 Version:        2.0.1
4 Release:        1
5 License:        Ruby
6 Source0:        http://rubyforge.org/frs/download.php/40375/deprecated-%{version}.tar.gz
7 # Source0-md5:  10d0962965ee856c364be2bfe8f1c323
8 Group:          Development/Languages
9 URL:            http://deprecated.rubyforge.org/
10 BuildRequires:  rpmbuild(macros) >= 1.277
11 BuildRequires:  ruby-modules
12 BuildRequires:  setup.rb
13 %{?ruby_mod_ver_requires_eq}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This is a small library intended to aid developers working with
18 deprecated code. The idea comes from the 'D' programming language,
19 where developers can mark certain code as deprecated, and then
20 allow/disallow the ability to execute deprecated code.
21
22 %prep
23 %setup -q -n deprecated-%{version}
24 install %{_datadir}/setup.rb .
25
26 %build
27 ruby setup.rb config --rbdir=%{ruby_rubylibdir} --sodir=%{ruby_archdir}
28 ruby setup.rb setup
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
33
34 ruby setup.rb install --prefix=$RPM_BUILD_ROOT
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %{ruby_rubylibdir}/*.rb
This page took 0.804228 seconds and 3 git commands to generate.