1 %define pkgname require_all
2 Summary: A wonderfully simple way to load your code
7 Group: Development/Languages
8 Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
9 # Source0-md5: e1b78e9e38833e514bbd323e8e377917
10 URL: http://github.com/jarmo/require_all
11 BuildRequires: rpm-rubyprov
12 BuildRequires: rpmbuild(macros) >= 1.656
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 A wonderfully simple way to load your code.
19 The easiest way to use require_all is to just point it at a directory
20 containing a bunch of .rb files. These files can be nested under
21 subdirectories as well:
26 %setup -q -n %{pkgname}-%{version}
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
31 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
34 rm -rf $RPM_BUILD_ROOT
37 %defattr(644,root,root,755)
38 %doc README.textile CHANGES LICENSE
39 %{ruby_vendorlibdir}/%{pkgname}.rb