[rubygem-ref] Initial import (#838801).

Vít Ondruch vondruch at fedoraproject.org
Thu Jul 12 05:34:10 UTC 2012


commit efb733dd1757669e777de3f1d80b61f3ba5bfea6
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Thu Jul 12 07:33:33 2012 +0200

    Initial import (#838801).

 .gitignore       |    1 +
 rubygem-ref.spec |   74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..09fe12c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ref-1.0.0.gem
diff --git a/rubygem-ref.spec b/rubygem-ref.spec
new file mode 100644
index 0000000..90eb5e8
--- /dev/null
+++ b/rubygem-ref.spec
@@ -0,0 +1,74 @@
+# Generated from ref-1.0.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name ref
+%global rubyabi 1.9.1
+
+Summary: Library that implements weak, soft, and strong references in Ruby
+Name: rubygem-%{gem_name}
+Version: 1.0.0
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/bdurand/ref
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(minitest)
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Library that implements weak, soft, and strong references in Ruby that work
+across multiple runtimes (MRI, REE, YARV, Jruby, Rubinius, and IronRuby). Also
+includes implementation of maps/hashes that use references and a reference
+queue.
+
+
+%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 test/*_test.rb
+popd
+
+
+%files
+%dir %{gem_instdir}
+%exclude %{gem_instdir}/ext
+%{gem_libdir}
+%exclude %{gem_libdir}/org
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.rdoc
+%{gem_instdir}/VERSION
+%{gem_instdir}/test
+%exclude %{gem_instdir}/test/*.rbc
+
+%changelog
+* Tue Jul 10 2012 Vít Ondruch <vondruch at redhat.com> - 1.0.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..36fd2a4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+60dda373c4ea78cf41c35ed351cf2396  ref-1.0.0.gem


More information about the scm-commits mailing list