## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 orb %global giturl https://github.com/gap-packages/orb %bcond bootstrap 0 Name: gap-pkg-%{pkgname} Version: 4.9.1 Release: %autorelease Summary: Methods to enumerate orbits in GAP License: GPL-3.0-or-later # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/orb/ VCS: git:%{giturl}.git Source0: %{giturl}/releases/download/v%{version}/%{pkgname}-%{version}.tar.gz # Predownloaded data from ATLAS needed for the tests Source1: %{name}-testdata.tar.xz BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gap-pkg-io BuildRequires: gcc BuildRequires: libtool BuildRequires: make # Only pull in test dependencies in non-bootstrap mode, because gap-pkg-cvec # requires this package to run at all. %if %{without bootstrap} BuildRequires: gap-pkg-atlasrep BuildRequires: gap-pkg-browse BuildRequires: gap-pkg-ctbllib BuildRequires: gap-pkg-cvec BuildRequires: gap-pkg-tomlib %endif Requires: gap-pkg-io%{?_isa} %description This package enables enumerating orbits in various ways from within GAP. %package doc # The content is GPL-3.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 # StandardSymL: GPL-1.0-or-later License: GPL-3.0-or-later AND Knuth-CTAN AND GPL-1.0-or-later AND AGPL-3.0-only Summary: ORB 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} -b 1 # Account for changed hash values on big endian architectures # https://github.com/gap-packages/orb/issues/70 %ifarch s390x sed -i 's/799/741/;s/573/237/' tst/bugfix.tst %endif %build # This is NOT an autoconf-generated script. Do NOT use %%configure. ./configure --with-gaproot=%{gap_archdir} %make_build V=1 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 %if %{without bootstrap} %check # Skip the speed test; this is for correctness only rm -f tst/orbitspeedtest.g # Tell ATLAS where to find downloaded files mkdir ~/.gap cat > ~/.gap/gap.ini << EOF SetUserPreference( "AtlasRep", "AtlasRepDataDirectory", "%{_builddir}/atlasrep/" ); EOF gap -l '%{buildroot}%{gap_archdir};' tst/testall.g %endif %files %doc CHANGES README.md %license LICENSE %dir %{gap_archdir}/pkg/%{pkgname}/ %{gap_archdir}/pkg/%{pkgname}/*.g %{gap_archdir}/pkg/%{pkgname}/bin/ %{gap_archdir}/pkg/%{pkgname}/gap/ %{gap_archdir}/pkg/%{pkgname}/tst/ %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 * Mon Sep 09 2024 Jerry James - 4.9.1-2 - Work around differing hash values based on endianness * Tue Sep 03 2024 Jerry James - 4.9.1-1 - Version 4.9.1 - Setting LC_ALL is no longer necessary - Avoid %%exclude * Thu Jul 18 2024 Fedora Release Engineering - 4.9.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 4.9.0-13 - Fix the VCS field * Sat Mar 16 2024 Jerry James - 4.9.0-12 - Rebuild for gap 4.13.0 * Wed Jan 24 2024 Fedora Release Engineering - 4.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 4.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 4.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 4.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 4.9.0-2 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 4.9.0-1 - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 4.9.0-1 - Version 4.9.0 - Update for gap 4.12.0 - Convert License tag to SPDX - Move TOC data into the testdata tarball * Tue Jul 26 2022 Jerry James - 4.8.5-1 - Version 4.8.5 * Sun Jul 24 2022 Jerry James - 4.8.4-3 - Add TOC data to fix the tests with recent versions of atlasrep * Thu Jul 21 2022 Fedora Release Engineering - 4.8.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 4.8.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 7 2021 Jerry James - 4.8.4-1 - Version 4.8.4 * Wed Jul 21 2021 Fedora Release Engineering - 4.8.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 4.8.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 4.8.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Mar 12 2020 Jerry James - 4.8.3-3 - Rebuild for gap 4.11.0 * Tue Jan 28 2020 Fedora Release Engineering - 4.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 4 2019 Jerry James - 4.8.3-1 - New upstream version - Add files needed for testing * Thu Jul 25 2019 Fedora Release Engineering - 4.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Jerry James - 4.8.2-2 - Rebuild for changed bin dir name in gap 4.10.1 - Do not install libtool artifacts * Sat Feb 23 2019 Jerry James - 4.8.2-1 - New upstream version * Sat Feb 2 2019 Jerry James - 4.8.1-1 - New upstream version - Add -doc subpackage * Thu Jan 31 2019 Fedora Release Engineering - 4.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 4.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 4.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 17 2017 Jerry James - 4.8.0-1 - New upstream version (bz 1511917) * Wed Aug 02 2017 Fedora Release Engineering - 4.7.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 4.7.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 4.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Apr 7 2016 Jerry James - 4.7.6-1 - New upstream version (bz 1315679) * Wed Feb 03 2016 Fedora Release Engineering - 4.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 20 2016 Jerry James - 4.7.5-1 - New upstream version (bz 1300480) * Fri Jan 8 2016 Jerry James - 4.7.4-1 - New upstream version - Update URLs * Wed Nov 11 2015 Jerry James - 4.7.3-2 - Drop scriptlets; gap-core now uses rpm file triggers - Rebuild documentation from source - Turn test failures into build failures * Fri Jul 24 2015 Jerry James - 4.7.3-1 - Initial RPM ## END: Generated by rpmautospec