[rubygem-hashery/f14/master] Initial import (#653407).

Marek Goldmann goldmann at fedoraproject.org
Fri Nov 19 09:03:19 UTC 2010


commit 823aa4f9e105a6081c4b51c62addeae219834842
Author: Marek Goldmann <marek.goldmann at gmail.com>
Date:   Fri Nov 19 10:03:15 2010 +0100

    Initial import (#653407).

 .gitignore           |    1 +
 rubygem-hashery.spec |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8af5d31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hashery-1.3.0.gem
diff --git a/rubygem-hashery.spec b/rubygem-hashery.spec
new file mode 100644
index 0000000..2f32431
--- /dev/null
+++ b/rubygem-hashery.spec
@@ -0,0 +1,67 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname hashery
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: Facets bread collection of Hash-like classes
+Name: rubygem-%{gemname}
+Version: 1.3.0
+Release: 2%{?dist}
+Group: Development/Languages
+License: ASL 2.0 and GPL+ and (GPLv2 or Ruby)
+URL: http://rubyworks.github.com/hashery
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+
+Requires: ruby(abi) = %{rubyabi}
+Requires: rubygems
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+The Hashery is a collection of Hash-like classes, spun-off from the original
+Ruby Facets library. Included are the widely used OrderedHash, the related but
+more featured Dictionary class, a number of open classes, similiar to the
+standard OpenStruct and a few variations on the standard Hash.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires:%{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{geminstdir}/lib
+%doc %{geminstdir}/HISTORY.rdoc
+%doc %{geminstdir}/PROFILE
+%doc %{geminstdir}/VERSION
+%doc %{geminstdir}/LICENSE
+%doc %{geminstdir}/README.rdoc
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%defattr(-, root, root, -)
+%{geminstdir}/test
+%{gemdir}/doc/%{gemname}-%{version}
+
+%changelog
+* Mon Nov 15 2010 Marek Goldmann <mgoldman at redhat.com> - 1.3.0-2
+- Updated license
+
+* Mon Nov 15 2010 Marek Goldmann <mgoldman at redhat.com> - 1.3.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..f7ba0ed 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cc941bff33788f921b1ff4e64cc1020a  hashery-1.3.0.gem


More information about the scm-commits mailing list