[rubygem-aws/f13/master] Initial import

Michal Fojtik mfojtik at fedoraproject.org
Mon Oct 11 08:26:06 UTC 2010


commit a8fd32e283a457134681da0b42a5459d4d120110
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Mon Oct 11 10:26:14 2010 +0200

    Initial import

 .gitignore       |    1 +
 rubygem-aws.spec |   75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5f5ec15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aws-2.3.21.gem
diff --git a/rubygem-aws.spec b/rubygem-aws.spec
new file mode 100644
index 0000000..bda3e61
--- /dev/null
+++ b/rubygem-aws.spec
@@ -0,0 +1,75 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname aws
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+
+Summary: Ruby gem for all Amazon Web Services
+Name: rubygem-%{gemname}
+Version: 2.3.21
+Release: 4%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/appoxy/aws
+Source0: http://rubygems.org/downloads/%{gemname}-%{version}.gem
+# This patch is needed in order to get this gem work under Ruby 1.8
+# Upstream contacted via email
+Patch0: %{name}-fix-ruby18-compatibility.patch
+Requires: rubygems
+Requires: ruby(abi) = 1.8
+Requires: rubygem(xml-simple)
+Requires: rubygem(right_http_connection)
+Requires: rubygem(uuidtools)
+Requires: rubygem(activesupport)
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+The RightScale AWS gems have been designed to provide a robust, fast, and
+secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront. These gems
+have been used in production by RightScale since late 2006 and are being
+maintained to track enhancements made by Amazon
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --no-ri --rdoc %{SOURCE0}
+# Fix typo in gemspec
+sed -i -e "s|http_connection|right_http_connection|" %{buildroot}/%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+# Ruby 1.8 compatibility fix
+(cd %{buildroot}/%{geminstdir} && %_bindir/patch -p0 < %{PATCH0})
+
+%check
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{geminstdir}/lib
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%doc %{geminstdir}/test
+%doc %{geminstdir}/README.markdown
+%doc %{gemdir}/doc/%{gemname}-%{version}
+
+%changelog
+* Mon Oct 11 2010 Michal Fojtik <mfojtik at redhat.com> - 2.3.21-4
+* Replaced patch path with macro
+
+* Tue Oct 05 2010 Michal Fojtik <mfojtik at redhat.com> - 2.3.21-3
+- Included missing patch from 2.3.21-2
+
+* Tue Oct 05 2010 Michal Fojtik <mfojtik at redhat.com> - 2.3.21-2
+- Added Ruby 1.8 compatibility patch (thx mtasaka)
+- Added activesupport dependency
+- Fixed typo in right_http_connection dependency in gemspec (upstream contacted)
+- Fixed directory ownership
+
+* Sat Sep 25 2010 Michal Fojtik <mfojtik at redhat.com> - 2.3.21-1
+- Initial package
diff --git a/sources b/sources
index e69de29..aab38d9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8cae0a0b820a3305b3ff354385ef465d  aws-2.3.21.gem


More information about the scm-commits mailing list