# 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: 19%{?dist} Summary: A branch of Rake supporting automatic parallelizing of tasks 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} 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 Jul 21 2023 Fedora Release Engineering - 0.9.2.0.3.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.9.2.0.3.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.9.2.0.3.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.9.2.0.3.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.9.2.0.3.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.9.2.0.3.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.9.2.0.3.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.9.2.0.3.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.9.2.0.3.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.9.2.0.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.9.2.0.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.9.2.0.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.9.2.0.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.9.2.0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.9.2.0.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.9.2.0.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.9.2.0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 16 2014 Lubomir Rintel - 0.9.2.0.3.1-2 - Fix up bad permissions * Mon Apr 28 2014 Lubomir Rintel - 0.9.2.0.3.1-1 - Initial packaging