## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 gap_pkg_name anupq %global giturl https://github.com/gap-packages/anupq # This package plays weird tricks with pointers to implement arrays with a # starting index other than zero. The weird tricks confuse fortify at level 3, # so we turn it down to keep fortify from aborting. %global _fortify_level 2 Name: gap-pkg-%{gap_pkg_name} Version: 3.3.2 Release: %autorelease Summary: ANU p-Quotient for GAP License: Artistic-2.0 URL: https://gap-packages.github.io/anupq/ VCS: git:%{giturl}.git Source: %{giturl}/releases/download/v%{version}/%{gap_upstream_name}-%{version}.tar.bz2 # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildSystem: gap BuildOption(build): --packagedirs .. BuildOption(install): bin examples lib standalone testPq tst BuildOption(check): tst/testinstall.g BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gap-pkg-autpgrp BuildRequires: gap-pkg-autpgrp-doc BuildRequires: gcc Requires: gap-core%{?_isa} Requires: gap-pkg-autpgrp %description This package gives access to the following algorithms from inside GAP: 1. A p-quotient algorithm to compute a power-commutator presentation for a group of prime power order. 2. A p-group generation algorithm to generate descriptions of groups of prime power order. 3. A standard presentation algorithm used to compute a canonical power-commutator presentation of a p-group. 4. An algorithm which can be used to compute the automorphism group of a p-group. %package doc # The content is Artistic-2.0. # 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 # StandardSymL: GPL-1.0-or-later License: Artistic-2.0 AND Knuth-CTAN AND GPL-1.0-or-later AND AGPL-3.0-only Summary: ANUPQ documentation BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: gap-pkg-autpgrp-doc %description doc This package contains documentation for gap-pkg-%{gap_pkg_name}. %prep %autosetup -n %{gap_upstream_name}-%{version} %conf cp -p standalone-doc/README README.standalone %build -p %configure --with-gaproot=%{gap_archdir} --disable-silent-rules %make_build ln -s %{gap_libdir}/doc ../../doc %build -a rm -fr ../../doc # Build the standalone documentation cd standalone-doc pdflatex guide pdflatex guide pdflatex guide cd - %files %doc CHANGES README.md README.standalone standalone-doc/guide.pdf %license LICENSE %dir %{gap_archdir}/pkg/%{gap_upstream_name}/ %{gap_archdir}/pkg/%{gap_upstream_name}/*.g %{gap_archdir}/pkg/%{gap_upstream_name}/bin/ %{gap_archdir}/pkg/%{gap_upstream_name}/lib/ %{gap_archdir}/pkg/%{gap_upstream_name}/standalone/ %{gap_archdir}/pkg/%{gap_upstream_name}/testPq %{gap_archdir}/pkg/%{gap_upstream_name}/tst/ %files doc %docdir %{gap_archdir}/pkg/%{gap_upstream_name}/doc/ %docdir %{gap_archdir}/pkg/%{gap_upstream_name}/examples/ %{gap_archdir}/pkg/%{gap_upstream_name}/doc/ %{gap_archdir}/pkg/%{gap_upstream_name}/examples/ %changelog ## START: Generated by rpmautospec * Sat Sep 06 2025 Jerry James - 3.3.2-1 - Uncommitted changes * Wed Jul 23 2025 Fedora Release Engineering - 3.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jan 16 2025 Fedora Release Engineering - 3.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Jan 14 2025 Jerry James - 3.3.1-2 - Move configuration steps to %%conf * Wed Oct 23 2024 Jerry James - 3.3.1-1 - Version 3.3.1 * Wed Jul 17 2024 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 3.3.0-2 - Transition the doc subpackage to noarch - Fix the VCS field * Wed Mar 27 2024 Jerry James - 3.3.0-1 - Initial RPM ## END: Generated by rpmautospec