[rubygem-drake] Import rubygem-drake-0.9.2.0.3.1-2.el7.src.rpm

Lubomir Rintel lkundrak at fedoraproject.org
Fri May 16 18:35:11 UTC 2014


commit 34a182f60780bd7b0e43091e2ff879cb68c5faaa
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Fri May 16 20:35:02 2014 +0200

    Import rubygem-drake-0.9.2.0.3.1-2.el7.src.rpm

 .gitignore         |    1 +
 rubygem-drake.spec |   99 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 101 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a065f62 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/drake-0.9.2.0.3.1.gem
diff --git a/rubygem-drake.spec b/rubygem-drake.spec
new file mode 100644
index 0000000..ca78db7
--- /dev/null
+++ b/rubygem-drake.spec
@@ -0,0 +1,99 @@
+# Tests disabled for now -- deps not in EPEL yet and Fedora packages
+# don't seem to be recent enough
+%bcond_with tests
+
+%global gem_name drake
+
+Name:           rubygem-%{gem_name}
+Version:        0.9.2.0.3.1
+Release:        2%{?dist}
+Summary:        A branch of Rake supporting automatic parallelizing of tasks
+
+Group:          Development/Tools
+License:        MIT
+URL:            http://quix.github.io/rake/
+Source0:        http://rubygems.org/downloads/%{gem_name}-%{version}.gem
+BuildArch:      noarch
+
+BuildRequires:  rubygems-devel
+%if %with tests
+BuildRequires:  rubygem(minitest)
+BuildRequires:  rubygem(flexmock)
+BuildRequires:  rubygem(session)
+BuildRequires:  rubygem(comp_tree)
+%endif
+Requires:       ruby(release) >= 1.8
+Requires:       rubygem(comp_tree)
+Requires:       rubygems
+Provides:       rubygem(%{gem_name}) = %{version}-%{release}
+
+%description
+Drake is an auto-parallelizing branch of Rake, a Make-like program
+implemented in Ruby. Tasks and dependencies are specified in standard
+Ruby syntax.
+
+
+%package doc
+Summary:        Documentation for %{name}
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+
+%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
+
+
+%if %with tests
+%check
+./bin/drake test
+%endif
+
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+mkdir -p %{buildroot}%{_bindir}
+cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
+cp -a ./%{_bindir}/* %{buildroot}%{_bindir}
+chmod 644 %{buildroot}%{gem_instdir}/lib/rake/ruby182_test_unit_fix.rb
+
+
+%files
+%{_bindir}/*
+%dir %{gem_instdir}
+%{gem_instdir}/bin
+%{gem_libdir}
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/*.gemspec
+%exclude %{gem_instdir}/*.rb
+%exclude %{gem_instdir}/.gemtest
+%exclude %{gem_instdir}/doc
+%exclude %{gem_instdir}/test
+%exclude %{gem_instdir}/Rakefile*
+%exclude %{gem_instdir}/CHANGES*
+%exclude %{gem_instdir}/MIT-LICENSE
+%exclude %{gem_instdir}/TODO
+%exclude %{gem_instdir}/README.rdoc
+%{gem_spec}
+%doc CHANGES* MIT-LICENSE TODO README.rdoc
+
+
+%files doc
+%{gem_docdir}
+
+
+%changelog
+* Fri May 16 2014 Lubomir Rintel <lkundrak at v3.sk> - 0.9.2.0.3.1-2
+- Fix up bad permissions
+
+* Mon Apr 28 2014 Lubomir Rintel <lkundrak at v3.sk> - 0.9.2.0.3.1-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..481a509 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+164e2f48da5c50f94bcac2f6493cc176  drake-0.9.2.0.3.1.gem


More information about the scm-commits mailing list