diff --git a/.cvsignore b/.cvsignore index e69de29..30657fb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rack-test-0.4.0.gem diff --git a/import.log b/import.log new file mode 100644 index 0000000..8e62029 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +rubygem-rack-test-0_4_0-1_fc11:HEAD:rubygem-rack-test-0.4.0-1.fc11.src.rpm:1247215871 diff --git a/rubygem-rack-test.spec b/rubygem-rack-test.spec new file mode 100644 index 0000000..afcd801 --- /dev/null +++ b/rubygem-rack-test.spec @@ -0,0 +1,72 @@ +%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) +%global gemname rack-test +%global geminstdir %{gemdir}/gems/%{gemname}-%{version} + +Summary: Simple testing API built on Rack +Name: rubygem-%{gemname} +Version: 0.4.0 +Release: 1%{?dist} +Group: Development/Languages +License: MIT +URL: http://gitrdoc.com/brynary/rack-test/tree/master +Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: ruby(abi) = 1.8 +Requires: rubygems +BuildRequires: rubygems +BuildArch: noarch +Provides: rubygem(%{gemname}) = %{version} + +%description +Rack::Test is a small, simple testing API for Rack apps. It can be used on its +own or as a reusable starting point for Web frameworks and testing libraries +to build on. Most of its initial functionality is an extraction of Merb 1.0's +request helpers feature. + + +%prep + + +%build + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{gemdir} +gem install --local --install-dir $RPM_BUILD_ROOT%{gemdir} \ + --force --rdoc %{SOURCE0} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%dir %{geminstdir} +%{geminstdir}/lib +%{geminstdir}/Rakefile +%doc %{gemdir}/doc/%{gemname}-%{version} +%doc %{geminstdir}/README.rdoc +%doc %{geminstdir}/MIT-LICENSE.txt +%doc %{geminstdir}/History.txt +%{gemdir}/cache/%{gemname}-%{version}.gem +%{gemdir}/specifications/%{gemname}-%{version}.gemspec + + +%changelog +* Tue Jun 30 2009 Lubomir Rintel (Good Data) - 0.4.0-1 +- Update to 0.4.0 +- Drop useless sitelib macro + +* Fri Jun 26 2009 Lubomir Rintel (Good Data) - 0.3.0-3 +- Get rid of duplicate files (thanks to Mamoru Tasaka) + +* Mon Jun 08 2009 Lubomir Rintel (Good Data) - 0.3.0-2 +- Fix up documentation list +- Depend on ruby(abi) +- Replace defines with globals + +* Fri Jun 05 2009 Lubomir Rintel (Good Data) - 0.3.0-1 +- Package generated by gem2rpm +- Fix up License diff --git a/sources b/sources index e69de29..30ea21f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +65ab232c631353312c6375e7eb8e08d2 rack-test-0.4.0.gem