[rubygem-map] Initial package (#785711)

Bohuslav Kabrda bkabrda at fedoraproject.org
Wed Feb 1 08:58:19 UTC 2012


commit d88e1cb18ff744f57879e916dd623e94f88f080f
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Wed Feb 1 09:58:12 2012 +0100

    Initial package (#785711)

 .gitignore       |    1 +
 rubygem-map.spec |   72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0b5c458 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/map-5.2.0.gem
diff --git a/rubygem-map.spec b/rubygem-map.spec
new file mode 100644
index 0000000..cce361f
--- /dev/null
+++ b/rubygem-map.spec
@@ -0,0 +1,72 @@
+# Generated from map-5.2.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name map
+%global rubyabi 1.9.1
+
+Summary: String/symbol indifferent ordered hash
+Name: rubygem-%{gem_name}
+Version: 5.2.0
+Release: 1%{?dist}
+Group: Development/Languages
+License: Ruby or BSD
+URL: https://github.com/ahoward/map
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems) 
+Requires: ruby 
+BuildRequires: rubygems-devel
+BuildRequires: rubygem(minitest)
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+The awesome ruby container you've always wanted: a string/symbol
+indifferent ordered hash that works in all rubies.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+%setup -q -c -T
+mkdir -p .%{gem_dir}
+gem install --local --install-dir .%{gem_dir} \
+            --force %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+%check
+pushd .%{gem_instdir}
+testrb -Ilib -Itest/lib test/map_test.rb
+popd
+
+
+%files
+%dir %{gem_instdir}
+%doc %{gem_instdir}/LICENSE
+%{gem_libdir}
+%exclude %{gem_instdir}/%{gem_name}.gemspec
+%exclude %{gem_instdir}/a.rb
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README
+%doc %{gem_instdir}/TODO
+%{gem_instdir}/Rakefile
+%{gem_instdir}/test
+
+
+%changelog
+* Mon Jan 30 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 5.2.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..6ffdbdc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+63043690ced8648195a3cd303d2fb2d7  map-5.2.0.gem


More information about the scm-commits mailing list