## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pkgname singular %global giturl https://github.com/gap-packages/singular Name: gap-pkg-%{pkgname} Version: 2024.06.03 Release: %autorelease Summary: GAP interface to Singular License: GPL-2.0-or-later BuildArch: noarch # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/singular/ VCS: git:%{giturl}.git Source: %{giturl}/releases/download/v%{version}/%{pkgname}-%{version}.tar.gz # Support the bigint, bigintvec, and bigintmat types # Not quite ready for upstream: the bigintmat type can be converted from # Singular to GAP, but not the other way around. Patch: %{name}-bigint.patch BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gap-pkg-guava-doc BuildRequires: Singular Requires: gap-core Requires: Singular %description This package contains a GAP interface to the computer algebra system Singular. %package doc # The content is GPL-2.0-or-later. The remaining licenses cover the various # fonts embedded in PDFs. # CM: Knuth-CTAN # CM-Super: GPL-1.0-or-later # Nimbus: AGPL-3.0-only License: GPL-2.0-or-later AND Knuth-CTAN AND GPL-1.0-or-later AND AGPL-3.0-only Summary: Singular documentation Requires: %{name} = %{version}-%{release} Requires: gap-pkg-guava-doc %description doc This package contains documentation for gap-pkg-%{pkgname}. %prep %autosetup -n %{pkgname}-%{version} -p1 %build export LC_ALL=C.UTF-8 gap makedoc.g %install mkdir -p %{buildroot}%{gap_libdir}/pkg/%{pkgname}/doc cp -a *.g contrib gap lib tst %{buildroot}%{gap_libdir}/pkg/%{pkgname} %gap_copy_docs %check export LC_ALL=C.UTF-8 gap -l "%{buildroot}%{gap_libdir};" tst/testall.g %files %doc CHANGES.md README.md %license LICENSE %{gap_libdir}/pkg/%{pkgname}/ %exclude %{gap_libdir}/pkg/%{pkgname}/doc/ %exclude %{gap_libdir}/pkg/%{pkgname}/lib/ %files doc %docdir %{gap_libdir}/pkg/%{pkgname}/doc/ %docdir %{gap_libdir}/pkg/%{pkgname}/lib/ %{gap_libdir}/pkg/%{pkgname}/doc/ %{gap_libdir}/pkg/%{pkgname}/lib/ %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Jerry James - 2024.06.03-4 - Support the bigint, bigintvec, and bigintmat types * Thu Jul 18 2024 Fedora Release Engineering - 2024.06.03-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 2024.06.03-2 - Fix the VCS field * Thu Jun 06 2024 Jerry James - 2024.06.03-1 - Version 2024.06.03 * Sun Mar 17 2024 Jerry James - 2023.02.09-7 - Rebuild for gap 4.13.0 * Wed Jan 24 2024 Fedora Release Engineering - 2023.02.09-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2023.02.09-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2023.02.09-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Feb 10 2023 Jerry James - 2023.02.09-1 - Version 2023.02.09 - Drop upstreamed -test patch * Thu Jan 19 2023 Fedora Release Engineering - 2022.09.23-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 2022.09.23-2 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 2022.09.23-1 - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 2022.09.23-1 - Version 2022.09.23 - Update for gap 4.12.0 - Convert License tag to SPDX * Thu Jul 21 2022 Fedora Release Engineering - 2020.12.18-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 2020.12.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 28 2021 Jerry James - 2020.12.18-3 - Add -test patch to adapt to Singular 4.2.x * Wed Jul 21 2021 Fedora Release Engineering - 2020.12.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2020.12.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 21 2020 Jerry James - 2020.12.18-1 - Version 2020.12.18 - Drop upstreamed -ref patch * Mon Jul 27 2020 Fedora Release Engineering - 2019.10.01-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 2019.10.01-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 2 2019 Jerry James - 2019.10.01-1 - New upstream version * Thu Jul 25 2019 Fedora Release Engineering - 2019.02.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jun 8 2019 Jerry James - 2019.02.22-1 - Initial RPM ## END: Generated by rpmautospec