[rubygem-gem-nice-install] Initial import (#868908).

Josef Stribny jstribny at fedoraproject.org
Mon Oct 29 14:42:46 UTC 2012


commit bd3d2539ec8cd7380edc564b2e7baa53d2c318ea
Author: Josef Strzibny <strzibny at dhcp-25-242.brq.redhat.com>
Date:   Mon Oct 29 15:42:37 2012 +0100

    Initial import (#868908).

 .gitignore                    |    1 +
 rubygem-gem-nice-install.spec |   63 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..73d51a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gem-nice-install-0.1.0.gem
diff --git a/rubygem-gem-nice-install.spec b/rubygem-gem-nice-install.spec
new file mode 100644
index 0000000..8314a35
--- /dev/null
+++ b/rubygem-gem-nice-install.spec
@@ -0,0 +1,63 @@
+# Generated from gem-nice-install-0.1.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name gem-nice-install
+%global rubyabi 1.9.1
+
+Summary: A RubyGems plugin that improves gem installation user experience
+Name: rubygem-%{gem_name}
+Version: 0.1.0
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/voxik/gem-nice-install
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: rubygems-devel
+Requires: ruby(abi) = 1.9.1
+Requires: ruby(rubygems)
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+A RubyGems plugin that improves gem installation user experience. If binary
+extension build fails, it tries to install its development dependencies.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+
+
+%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}/
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%{gem_instdir}/data
+%doc %{gem_instdir}/MIT
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+
+%changelog
+* Thu Oct 25 2012 Josef Strzibny <jstribny at redhat.com> - 0.1.0-2
+- Removed LANG=en_US.utf8 option from the installation step;
+  was needed for RubyGems 1.8, >= 1.8.24 don't need it
+
+* Thu Oct 18 2012 Josef Strzibny <jstribny at redhat.com> - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..95ec5dc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+69d29c21a6d18aa54ffba5e72776778d  gem-nice-install-0.1.0.gem


More information about the scm-commits mailing list