Compare commits
No commits in common. "main-riscv64" and "rawhide" have entirely different histories.
main-riscv
...
rawhide
@ -2,12 +2,10 @@
|
|||||||
%global header_dir %{ruby_vendorarchdir}
|
%global header_dir %{ruby_vendorarchdir}
|
||||||
|
|
||||||
%global gem_name cairo
|
%global gem_name cairo
|
||||||
|
%global gemver 1.17.8
|
||||||
#%%global gem_githash af3e3fc059
|
#%%global gem_githash af3e3fc059
|
||||||
|
|
||||||
%bcond_with bootstrap
|
%global need_test_bootstrap 1
|
||||||
%if 0%{?fedora} >= 40
|
|
||||||
%bcond_without bootstrap
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Upstream GIT http://github.com/rcairo/
|
# Upstream GIT http://github.com/rcairo/
|
||||||
|
|
||||||
@ -15,19 +13,20 @@
|
|||||||
|
|
||||||
Summary: Ruby bindings for cairo
|
Summary: Ruby bindings for cairo
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.17.13
|
Version: %{gemver}
|
||||||
Release: 2.0.riscv64%{?dist}
|
Release: 2%{?dist}
|
||||||
# From gemspec
|
License: GPLv2 or Ruby
|
||||||
# SPDX confirmed
|
|
||||||
License: GPL-2.0-or-later OR Ruby
|
|
||||||
|
|
||||||
URL: http://cairographics.org/rcairo/
|
URL: http://cairographics.org/rcairo/
|
||||||
|
%if 1
|
||||||
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
||||||
|
%else
|
||||||
|
Source0: %{gem_name}-%{gemver}-%{gem_githash}.gem
|
||||||
|
%endif
|
||||||
# Git based gem is created by below
|
# Git based gem is created by below
|
||||||
Source1: create-cairo-gem.sh
|
Source1: create-cairo-gem.sh
|
||||||
# FIXME
|
# FIXME
|
||||||
Source11: rcairo-%{version}-test-missing-files.tar.gz
|
Source11: rcairo-%{version}-test-missing-files.tar.gz
|
||||||
# Source11 is generated by $bash %%SOURCE12 %%version
|
# Source11 is generated by the below
|
||||||
Source12: rcairo-create-missing-test-files.sh
|
Source12: rcairo-create-missing-test-files.sh
|
||||||
|
|
||||||
Requires: ruby(release)
|
Requires: ruby(release)
|
||||||
@ -45,7 +44,7 @@ BuildRequires: rubygem(test-unit-notify)
|
|||||||
BuildRequires: rubygem(pkg-config)
|
BuildRequires: rubygem(pkg-config)
|
||||||
BuildRequires: rubygem(native-package-installer)
|
BuildRequires: rubygem(native-package-installer)
|
||||||
# Circular dependency
|
# Circular dependency
|
||||||
%if %{without bootstrap}
|
%if 0%{?need_test_bootstrap} < 1
|
||||||
BuildRequires: rubygem(poppler)
|
BuildRequires: rubygem(poppler)
|
||||||
# Make sure at least one font is available for test/test_context.rb:57
|
# Make sure at least one font is available for test/test_context.rb:57
|
||||||
# `initialize': out of memory (NoMemoryError)
|
# `initialize': out of memory (NoMemoryError)
|
||||||
@ -77,6 +76,11 @@ Requires: ruby-devel
|
|||||||
# Obsoletes / Provides
|
# Obsoletes / Provides
|
||||||
# ruby(cairo-devel) Provides is for compatibility
|
# ruby(cairo-devel) Provides is for compatibility
|
||||||
#
|
#
|
||||||
|
# Actually ruby(cairo-devel) provides should not exist -
|
||||||
|
# Remove on F-17 and above
|
||||||
|
Obsoletes: ruby-cairo-devel < 1.9
|
||||||
|
Provides: ruby-cairo-devel = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files and libraries for building a extension library for the
|
Header files and libraries for building a extension library for the
|
||||||
ruby-cairo
|
ruby-cairo
|
||||||
@ -122,23 +126,15 @@ rm -f .%{gem_extdir_mri}/{gem_make.out,mkmf.log}
|
|||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# cleanups
|
||||||
|
rm -rf ./TMPINSTDIR/%{gem_instdir}/ext/
|
||||||
|
rm -f ./TMPINSTDIR/%{gem_instdir}/{Makefile*,extconf.rb}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cp -a ./TMPINSTDIR/* %{buildroot}/
|
cp -a ./TMPINSTDIR/* %{buildroot}/
|
||||||
|
|
||||||
# cleanups
|
|
||||||
rm -f %{buildroot}%{gem_cache}
|
|
||||||
pushd %{buildroot}%{gem_instdir}
|
|
||||||
rm -rf \
|
|
||||||
Gemfile \
|
|
||||||
Rakefile \
|
|
||||||
*.gemspec \
|
|
||||||
ext/ \
|
|
||||||
test/ \
|
|
||||||
%{nil}
|
|
||||||
popd
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with bootstrap}
|
%if 0%{?need_test_bootstrap} >= 1
|
||||||
exit 0
|
exit 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -167,49 +163,24 @@ ruby ./test/run-test.rb
|
|||||||
%{gem_extdir_mri}/
|
%{gem_extdir_mri}/
|
||||||
|
|
||||||
%dir %{gem_instdir}/
|
%dir %{gem_instdir}/
|
||||||
%doc %{gem_instdir}/[A-CN-Z]*
|
%doc %{gem_instdir}/[A-Z]*
|
||||||
%license %{gem_instdir}/GPL
|
%exclude %{gem_instdir}/Gemfile
|
||||||
|
%exclude %{gem_instdir}/Rakefile
|
||||||
%{gem_instdir}/lib/
|
%{gem_instdir}/lib/
|
||||||
|
%exclude %{gem_cache}
|
||||||
%{gem_spec}
|
%{gem_spec}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
%{gem_instdir}/Gemfile
|
||||||
|
%{gem_instdir}/Rakefile
|
||||||
%{gem_instdir}/samples/
|
%{gem_instdir}/samples/
|
||||||
|
%{gem_instdir}/test/
|
||||||
%{gem_docdir}/
|
%{gem_docdir}/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{header_dir}/rb_cairo.h
|
%{header_dir}/rb_cairo.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 08 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.17.13-2.0.riscv64
|
|
||||||
- Bootstrap (riscv64)
|
|
||||||
|
|
||||||
* Wed Jan 03 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.13-2
|
|
||||||
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3
|
|
||||||
|
|
||||||
* Tue Dec 19 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.13-1
|
|
||||||
- 1.17.13
|
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.12-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 19 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.12-1
|
|
||||||
- 1.17.12
|
|
||||||
|
|
||||||
* Thu Jun 15 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.9-1
|
|
||||||
- 1.17.9
|
|
||||||
|
|
||||||
* Wed May 24 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.8-5
|
|
||||||
- Enable test suite again
|
|
||||||
- SPDX migration
|
|
||||||
- spec file cleanup
|
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.8-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.8-3
|
|
||||||
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
|
|
||||||
|
|
||||||
* Thu Sep 29 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.8-2
|
* Thu Sep 29 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.8-2
|
||||||
- Once kill test suite dependency for now
|
- Once kill test suite dependency for now
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (cairo-1.17.13.gem) = 82fb621f97b6eb292565fd0f90f5e686c2cd4cd8aa61fa0ab6e25aac665aa9f7e780481a6571fd443be8c53070f29a2dfea5a54949350fe783b12aeb6aba3769
|
SHA512 (cairo-1.17.8.gem) = a2b756dc1cf1abb98e4b60b9b56f5f610058bd840b67c991d6bfb3da2523b0f77a5854147f9d14ca461d573e51fbe3ba35c83659af5c031086710970fac6665a
|
||||||
SHA512 (rcairo-1.17.13-test-missing-files.tar.gz) = 6d701b9ac76a4a4e62432c002b6a7d3bb3d985c2d8caef7bac83b60cd65e0f974b03753bfd2687676b88ebac10a0601a7b2e0d063ff953cdba0f742611ca2a75
|
SHA512 (rcairo-1.17.8-test-missing-files.tar.gz) = b97e6769042b29fdf95f49bd288e6d4155869db31ca60297ffa7207586a5e579059447166d0e97322d8fe6f6b7af15ed26a8d74036fe27ac42072aede8a25f00
|
||||||
|
Loading…
Reference in New Issue
Block a user