CBL-Mariner/SPECS/rubygem-rake/rubygem-rake.spec

259 строки
8.4 KiB
Plaintext
Исходник Обычный вид История

%global gem_name rake
Summary: Rake is a Make-like program implemented in Ruby
Name: rubygem-%{gem_name}
Version: 13.0.6
Release: 6%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://ruby.github.io/rake/
Source0: https://github.com/ruby/rake/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: ruby
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
%if %{with_check}
BuildRequires: rubygem(minitest) >= 5
%endif
# This package used to be bundled with older versions of Ruby.
Obsoletes: ruby <= 3.1.2-2%{?dist}
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
specified in standard Ruby syntax.
%package doc
Summary: Documentation for %{name}
BuildArch: noarch
# Directory ownership issue
Requires: %{name} = %{version}-%{release}
%description doc
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} --bindir %{buildroot}/%{_bindir} %{gem_name}-%{version}.gem
# Install man pages into appropriate place.
mkdir -p %{buildroot}%{_mandir}/man1
mv %{buildroot}%{gem_instdir}/doc/rake.1 %{buildroot}%{_mandir}/man1
%check
pushd /%{gem_instdir}
# symlink tests here
ln -s %{_builddir}/test .
# Get rid of Bundler.
sed -i '/bundler/ s/^/#/' Rakefile
ruby -Ilib:. -e 'Dir.glob "test/**/test_*.rb", &method(:require)'
popd
%files
%dir %{gem_instdir}
%license %{gem_instdir}/MIT-LICENSE
%{gem_instdir}/exe
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%{_mandir}/man1/*
%{_bindir}/rake
%exclude %{gem_instdir}/.*
%exclude %{gem_instdir}/rake.gemspec
%files doc
%doc %{gem_dir}/doc/
%doc %{gem_instdir}/doc
%doc %{gem_instdir}/*.rdoc
%changelog
* Mon Oct 24 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 13.0.6-6
- Adding 'Obsoletes: ruby <= 3.1.2-2'.
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 13.0.6-5
- Add provides.
* Wed May 04 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 13.0.6-4
- Add executable.
* Fri Apr 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 13.0.6-3
- Remove files not building.
* Wed Mar 30 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 13.0.6-2
- Updating dependencies.
* Fri Mar 11 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 13.0.6-1
- Update to v13.0.6.
- License verified.
- Build from .tar.gz source.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 13.0.1-202
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.1-201
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jan 22 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 13.0.1-200
- 13.0.1
* Tue Aug 06 2019 Pavel Valena <pvalena@redhat.com> - 12.3.3-202
- Update to Rake 12.3.3.
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 12.3.2-201.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Feb 05 2019 Vít Ondruch <vondruch@redhat.com> - 12.3.2-201
- Coveralls is not needed.
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 12.3.2-200.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 26 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 12.3.2-200
- 12.3.2
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 12.3.1-200.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Apr 6 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 12.3.1-200
- 12.3.1
- Bump release number
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 12.3.0-100.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 1 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 12.3.0-100
- A Happy New Year and 12.3.0
* Fri Nov 10 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 12.2.1-100
- 12.2.1
* Wed Sep 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 12.1.0-100
- 12.1.0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.0-100.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Mar 17 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 12.0.0-100
- 12.0.0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 11.3.0-100.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Nov 15 2016 Vít Ondruch <vondruch@redhat.com> - 11.3.0-100
- Update to Rake 11.3.0.
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 10.4.2-100.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Sep 24 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 10.4.2-100
- 10.4.2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.0.4-1.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.0.4-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.0.4-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Mar 28 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 10.0.4-1
- 10.0.4
* Fri Feb 22 2013 Vít Ondruch <vondruch@redhat.com> - 10.0.3-3
- Rebuid due to error in RubyGems stub shebang.
* Tue Feb 19 2013 Vít Ondruch <vondruch@redhat.com> - 10.0.3-2
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.0.3-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jan 2 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 10.0.3-1
- 10.0.3
* Tue Jan 1 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 10.0.2-1
- Update to 10.0.2
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2.2-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Feb 09 2012 Vít Ondruch <vondruch@redhat.com> - 0.9.2.2-2
- Rebuilt for Ruby 1.9.3.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2.2-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Dec 19 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.2.2-1
- 0.9.2.2
* Sat Jun 11 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.2-1
- 0.9.2
* Sun Jun 5 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.1-2
- Add BR: rubygem(minitest) for %%check
* Sat Jun 4 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.1-1
- 0.9.1
* Fri Mar 18 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.0-0.4.beta.5
- 0.9.0 beta.5
* Mon Mar 7 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.0-0.3.beta.4
- 0.9.0 beta.4
* Fri Mar 4 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.0-0.2.beta.1
- 0.9.0 beta.1
* Thu Feb 24 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.0-0.1.beta.0
- 0.9.0 beta.0
- Split out document files
* Thu Feb 10 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.8.7-4
- Use BuildRequires, not BuildRequires(check)
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Jun 18 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.8.7-1
- 0.8.7
- Enable %%check
* Tue Mar 17 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 0.8.4-1
- New upstream version
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Oct 27 2008 David Lutterkort <lutter@redhat.com> - 0.8.3-1
- Cleanup multiply listed files
- Set permissions in doc/, lib/ and test/ to 644
* Thu May 15 2008 Alan Pevec <apevec@redhat.com> 0.8.1-2
- fix shebang in scripts
* Thu May 15 2008 Alan Pevec <apevec@redhat.com> 0.8.1-1
- new upstream version
* Thu Aug 23 2007 David Lutterkort <dlutter@redhat.com> - 0.7.3-2
- Fix license tag
- Remove bogus shebangs in lib/ and test/
* Mon Jun 18 2007 David Lutterkort <dlutter@redhat.com> - 0.7.3-1
- Initial package