From 8f3fffd16d1543a3a4a72bb97c6d40d3374667ad Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Dec 20 2007 17:50:31 +0000 Subject: New package. Review: bz 418921 --- diff --git a/.cvsignore b/.cvsignore index e69de29..4cf848f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +activeresource-2.0.1.gem diff --git a/rubygem-activeresource.spec b/rubygem-activeresource.spec new file mode 100644 index 0000000..e5a09a4 --- /dev/null +++ b/rubygem-activeresource.spec @@ -0,0 +1,55 @@ +# Generated from activeresource-2.0.1.gem by gem2rpm -*- rpm-spec -*- +%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) +%define gemname activeresource +%define geminstdir %{gemdir}/gems/%{gemname}-%{version} + +Summary: Active Record for web resources +Name: rubygem-%{gemname} +Version: 2.0.1 +Release: 1%{?dist} +Group: Development/Languages +License: GPLv2+ or Ruby +URL: http://www.rubyonrails.org +Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: rubygems +Requires: rubygem(activesupport) = 2.0.1 +BuildRequires: rubygems +BuildArch: noarch +Provides: rubygem(%{gemname}) = %{version} + +%description +Wraps web resources in model classes that can be manipulated through XML over +REST. + + +%prep + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{gemdir} +gem install --local --install-dir %{buildroot}%{gemdir} \ + --force --rdoc %{SOURCE0} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%dir %{geminstdir} +%doc %{geminstdir}/CHANGELOG +%{geminstdir}/lib +%{geminstdir}/Rakefile +%doc %{geminstdir}/README +%{geminstdir}/test +%doc %{gemdir}/doc/%{gemname}-%{version} +%{gemdir}/cache/%{gemname}-%{version}.gem +%{gemdir}/specifications/%{gemname}-%{version}.gemspec + + +%changelog +* Mon Dec 10 2007 David Lutterkort - 2.0.1-1 +- Initial package diff --git a/sources b/sources index e69de29..a97768a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +57bd1a79b3da390a96a698509a782d10 activeresource-2.0.1.gem