[rubygem-hashie] Initial commit (#985358)

Axilleas Pipinellis axilleas at fedoraproject.org
Mon Jul 22 20:24:19 UTC 2013


commit 555b64050a094a1cb89fba43f5f792fe4d75c9a1
Author: Axilleas Pipinellis <axilleas at archlinux.gr>
Date:   Mon Jul 22 23:21:09 2013 +0300

    Initial commit (#985358)

 .gitignore          |    1 +
 rubygem-hashie.spec |   80 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9cdf358 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hashie-2.0.5.gem
diff --git a/rubygem-hashie.spec b/rubygem-hashie.spec
new file mode 100644
index 0000000..9ba9311
--- /dev/null
+++ b/rubygem-hashie.spec
@@ -0,0 +1,80 @@
+# Generated from hashie-2.0.5.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name hashie
+
+Name: rubygem-%{gem_name}
+Version: 2.0.5
+Release: 1%{?dist}
+Summary: Your friendly neighborhood hash toolkit
+Group: Development/Languages
+License: MIT
+URL: https://github.com/intridea/hashie
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(release)
+Requires: ruby(rubygems) 
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel 
+BuildRequires: ruby
+BuildRequires: rubygem(rspec) 
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Hashie is a small collection of tools that make hashes more powerful.
+Currently includes Mash (Mocking Hash) and Dash (Discrete Hash).
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+gem unpack %{SOURCE0}
+
+%setup -q -D -T -n  %{gem_name}-%{version}
+
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+# Create the gem as gem install only works on a gem file
+gem build %{gem_name}.gemspec
+
+# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
+# by default, so that we can move it into the buildroot in %%install
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+%check
+pushd .%{gem_instdir}
+rspec spec/
+popd
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%doc %{gem_instdir}/LICENSE
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/.*
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG.md
+%doc %{gem_instdir}/CONTRIBUTING.md
+%doc %{gem_instdir}/README.markdown
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Guardfile
+%{gem_instdir}/Rakefile
+%{gem_instdir}/%{gem_name}.gemspec
+%{gem_instdir}/spec/
+
+%changelog
+* Mon Jul 08 2013 Axilleas Pipinellis <axilleaspi at ymail.com> - 2.0.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..05e84b5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a25418a88788006d4bb8b6379b7b5059  hashie-2.0.5.gem


More information about the scm-commits mailing list