[rubygem-backports] Initial import (#816991).

Vít Ondruch vondruch at fedoraproject.org
Fri Sep 20 12:06:54 UTC 2013


commit 3b7c2c9e155984d86a2fc431dd49984d4d580821
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Sep 2 17:38:19 2013 +0200

    Initial import (#816991).

 rubygem-backports.spec |   74 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-backports.spec b/rubygem-backports.spec
new file mode 100644
index 0000000..5056ac9
--- /dev/null
+++ b/rubygem-backports.spec
@@ -0,0 +1,74 @@
+# Generated from backports-2.5.1.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name backports
+%global rubyabi 1.9.1
+
+Summary: Backports of Ruby 1.8.7+ for older ruby
+Name: rubygem-%{gem_name}
+Version: 2.5.1
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/marcandre/backports
+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 
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Essential backports that enable some of the really nice features of ruby
+1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.
+
+
+%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
+# Unfortunatelly no test suite is available. It should be tested using
+# RubySpec. Consult with %%{gem_instdir}/test/README for more information.
+
+%files
+%doc %{gem_instdir}/LICENSE
+%exclude %{gem_instdir}/.*
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG.rdoc
+%{gem_instdir}/Rakefile
+%doc %{gem_instdir}/README.rdoc
+%{gem_instdir}/backports.gemspec
+%doc %{gem_instdir}/VERSION.yml
+%doc %{gem_instdir}/test/README
+
+%changelog
+* Mon Apr 30 2012 Vít Ondruch <vondruch at redhat.com> - 2.5.1-2
+- Fixed license.
+
+* Fri Apr 27 2012 Vít Ondruch <vondruch at redhat.com> - 2.5.1-1
+- Initial package


More information about the scm-commits mailing list