1 %define gem_name abstract
2 Summary: Allows you to define an abstract method in Ruby
6 License: GPL v2 or Ruby
7 Group: Development/Languages
8 URL: http://rubyforge.org/projects/abstract
9 Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
10 # Source0-md5: ea26d93f0a47a530631da430c9e9b7e5
11 BuildRequires: rpm-rubyprov
12 BuildRequires: rpmbuild(macros) >= 1.656
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Small library that allows you to define an abstract method in Ruby.
20 Summary: Documentation for %{name}
22 Requires: %{name} = %{version}-%{release}
25 This package contains documentation for %{name}.
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
38 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc README.txt ChangeLog
46 %{ruby_vendorlibdir}/abstract.rb
50 %defattr(644,root,root,755)