[rubygem-more_core_extensions] Initial import

Mo Morsi mmorsi at fedoraproject.org
Wed Dec 10 19:10:41 UTC 2014


commit 73fc7fb22f51e4fdc6d5a24b2f074979da7247eb
Author: Mo Morsi <mmorsi at redhat.com>
Date:   Wed Dec 10 14:10:36 2014 -0500

    Initial import

 .gitignore                        |    1 +
 rubygem-more_core_extensions.spec |   95 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 3 files changed, 97 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5a4ec6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/more_core_extensions-1.2.0.gem
diff --git a/rubygem-more_core_extensions.spec b/rubygem-more_core_extensions.spec
new file mode 100644
index 0000000..212f746
--- /dev/null
+++ b/rubygem-more_core_extensions.spec
@@ -0,0 +1,95 @@
+%global gem_name more_core_extensions
+
+Name: rubygem-%{gem_name}
+Version: 1.2.0
+Release: 2%{?dist}
+Summary: Set of core extensions beyond those provided by ActiveSupport
+Group: Development/Languages
+License: MIT
+URL: http://github.com/ManageIQ/more_core_extensions
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
+Requires: ruby(release)
+Requires: ruby(rubygems)
+Requires: rubygem(activesupport) > 3.2
+%endif
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildArch: noarch
+%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
+Provides: rubygem(%{gem_name}) = %{version}
+%endif
+
+%description
+Set of core extensions beyond those provided by ActiveSupport.
+
+%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
+gem build %{gem_name}.gemspec
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+pushd %{buildroot}%{gem_instdir}
+rm .gitignore .rspec .travis.yml Gemfile Rakefile *.gemspec
+popd
+
+# Run the test suite
+%check
+pushd .%{gem_instdir}
+#rspec -Ilib spec TODO
+popd
+
+%files
+%{!?_licensedir:%global license %%doc}
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+%license %{gem_instdir}/LICENSE.txt
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/spec
+
+%changelog
+* Thu Aug 21 2014 Mo Morsi <mmorsi at redhat.com> - 1.2.0-2
+- Shorten summary,
+- Remove uneeded ruby BR
+- Conditionalize Requires and Provides
+- Use license macro
+
+* Thu Aug 21 2014 Mo Morsi <mmorsi at redhat.com> - 1.2.0-1
+- Update to latest Fedora guidelines
+
+* Fri Aug 23 2013 Mo Morsi <mmorsi at redhat.com> - 1.1.2-1
+- Release 1.1.2
+
+* Fri Aug 23 2013 Mo Morsi <mmorsi at redhat.com> - 1.0.2-1
+- Bumped version
+
+* Fri Aug 23 2013 Mo Morsi <mmorsi at redhat.com> - 1.0.1-1
+- Bumped version
+
+* Thu Jun 20 2013 Steve Linabery <slinaber at redhat.com> - 1.0.0-1
+- Initial package
+
diff --git a/sources b/sources
index e69de29..1a2d635 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+56f7449cdd85bb0240a5453f14685fba  more_core_extensions-1.2.0.gem


More information about the scm-commits mailing list