[rubygem-atomic] gem2rpm output.

Vít Ondruch vondruch at fedoraproject.org
Mon May 13 09:55:02 UTC 2013


commit 98a3163993e31e8786048738f142bdbce0d009fe
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon May 6 15:16:52 2013 +0200

    gem2rpm output.

 rubygem-atomic.spec |   83 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-atomic.spec b/rubygem-atomic.spec
new file mode 100644
index 0000000..f7e1c87
--- /dev/null
+++ b/rubygem-atomic.spec
@@ -0,0 +1,83 @@
+# Generated from atomic-1.1.8.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name atomic
+
+Name: rubygem-%{gem_name}
+Version: 1.1.8
+Release: 1%{?dist}
+Summary: An atomic reference implementation for JRuby, Rubinius, and MRI
+Group: Development/Languages
+License: Apache-2.0
+URL: http://github.com/headius/ruby-atomic
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(release)
+Requires: ruby(rubygems) 
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel 
+BuildRequires: ruby-devel 
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+= An atomic reference implementation for JRuby, Rubinius, and MRI.
+== Changes since 1.1.7
+* 0b1cd2d Add license to gemspec.
+* e8d43f1 Limit gem description to just commit log.
+* 6869b89 Version 1.1.8.
+* ed84820 Add numeric CAS logic for fallback, MRI, and Rubinius.
+* 40eca8e Make test work under 1.8-compat.
+* b6398e5 Add some missing license headers.
+* c291231 Allow forcing fallback impl.
+* 6c2ce92 Fix #21 by moving win32 CFLAGS tweak above other test compiles.
+* e59e92b Add CAS tests for more numeric types.
+* 0749145 Add pkg/ and *.gem to gitignore.
+* 073b4c1 Partial fix for numeric idempotence differences across Rubies.
+
+
+%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}/
+
+mkdir -p %{buildroot}%{gem_extdir_mri}/lib
+# TODO: move the extensions
+mv %{buildroot}%{gem_instdir}/lib/shared_object.so %{buildroot}%{gem_extdir_mri}/lib/
+
+
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_instdir}/ext
+%{gem_extdir_mri}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+
+%changelog
+* Mon May 06 2013 Vít Ondruch <vondruch at redhat.com> - 1.1.8-1
+- Initial package


More information about the scm-commits mailing list