## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 nq %global giturl https://github.com/gap-packages/nq Name: gap-pkg-%{pkgname} Version: 2.5.11 Release: %autorelease Summary: Nilpotent Quotients of finitely presented groups License: GPL-2.0-or-later # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/nq/ VCS: git:%{giturl}.git Source: %{giturl}/archive/v%{version}/%{pkgname}-%{version}.tar.gz BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gap-pkg-polycyclic BuildRequires: gcc BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig(gmp) Requires: gap-core%{?_isa} Requires: gap-pkg-polycyclic %description This package provides access from within GAP to the ANU nilpotent quotient program for computing nilpotent factor groups of finitely presented groups. %package doc # The content is GPL-2.0-or-later. The remaining licenses cover the various # fonts embedded in PDFs. # AMS: OFL-1.1-RFN # CM: Knuth-CTAN # CM-Super: GPL-1.0-or-later # Nimbus: AGPL-3.0-only # StandardSymL: GPL-1.0-or-later License: GPL-2.0-or-later AND OFL-1.1-RFN AND Knuth-CTAN AND GPL-1.0-or-later AND AGPL-3.0-only Summary: NQ documentation BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: gap-online-help %description doc This package contains documentation for gap-pkg-%{pkgname}. %prep %autosetup -n %{pkgname}-%{version} ./autogen.sh %build export LC_ALL=C.UTF-8 %configure --with-gaproot=%{gap_archdir} --disable-silent-rules %make_build gap makedoc.g %install mkdir -p %{buildroot}%{gap_archdir}/pkg/%{pkgname}/doc cp -a *.g bin examples gap tst %{buildroot}%{gap_archdir}/pkg/%{pkgname} %gap_copy_docs %check export LC_ALL=C.UTF-8 gap -l "%{buildroot}%{gap_archdir};" tst/testall.g %files %doc CHANGES README.md %license LICENSE %{gap_archdir}/pkg/%{pkgname}/ %exclude %{gap_archdir}/pkg/%{pkgname}/doc/ %exclude %{gap_archdir}/pkg/%{pkgname}/examples/ %files doc %docdir %{gap_archdir}/pkg/%{pkgname}/doc/ %docdir %{gap_archdir}/pkg/%{pkgname}/examples/ %{gap_archdir}/pkg/%{pkgname}/doc/ %{gap_archdir}/pkg/%{pkgname}/examples/ %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 2.5.11-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 2.5.11-6 - Fix the VCS field * Sun Mar 17 2024 Jerry James - 2.5.11-5 - Rebuild for gap 4.13.0 * Wed Jan 24 2024 Fedora Release Engineering - 2.5.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.5.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 17 2024 Jerry James - 2.5.11-1 - Version 2.5.11 * Wed Jul 19 2023 Fedora Release Engineering - 2.5.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Mar 29 2023 Jerry James - 2.5.10-1 - Version 2.5.10 * Thu Jan 19 2023 Fedora Release Engineering - 2.5.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 2.5.9-2 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 2.5.9-1 - Version 2.5.9 - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 2.5.8-4 - Update for gap 4.12.0 - Convert License tag to SPDX * Mon Jul 25 2022 Jerry James - 2.5.8-3 - Rebuild due to changed binary dir name on s390x * Thu Jul 21 2022 Fedora Release Engineering - 2.5.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 22 2022 Jerry James - 2.5.8-1 - Version 2.5.8 * Wed Mar 16 2022 Jerry James - 2.5.7-1 - Version 2.5.7 * Wed Feb 23 2022 Jerry James - 2.5.6-1 - Version 2.5.6 * Thu Jan 20 2022 Fedora Release Engineering - 2.5.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 2.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Apr 12 2021 Jerry James - 2.5.5-1 - Version 2.5.5 - Drop no longer relevant -doc patch * Tue Jan 26 2021 Fedora Release Engineering - 2.5.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Mar 12 2020 Jerry James - 2.5.4-5 - Rebuild for gap 4.11.0 * Tue Jan 28 2020 Fedora Release Engineering - 2.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Jerry James - 2.5.4-2 - Rebuild for changed bin dir name in gap 4.10.1 * Sat Feb 16 2019 Jerry James - 2.5.4-1 - New upstream version (bz 1677807) - Add -doc patch - Add -doc subpackage - Fix check script * Thu Jan 31 2019 Fedora Release Engineering - 2.5.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.5.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.5.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 2.5.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.5.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Apr 7 2016 Jerry James - 2.5.3-1 - New upstream version (bz 1315678) * Wed Feb 03 2016 Fedora Release Engineering - 2.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jan 8 2016 Jerry James - 2.5.2-1 - New upstream version (bz 1296735) - Update URLs * Wed Nov 11 2015 Jerry James - 2.5.1-2 - Drop scriptlets; gap-core now uses rpm file triggers - Rebuild documentation from source - Turn test failures into build failures * Fri Jun 19 2015 Jerry James - 2.5.1-1 - Initial RPM ## END: Generated by rpmautospec