## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 pkgname datastructures %global giturl https://github.com/gap-packages/datastructures Name: gap-pkg-%{pkgname} Version: 0.3.1 Release: %autorelease Summary: Standard data structures for GAP License: GPL-2.0-or-later # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/datastructures/ VCS: git:%{giturl}.git Source: %{giturl}/releases/download/v%{version}/%{pkgname}-%{version}.tar.gz BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gcc BuildRequires: libtool BuildRequires: make Requires: gap-core%{?_isa} %description The datastructures package aims at providing standard datastructures, consolidating existing code and improving on it, in particular in view of HPC-GAP. The following data structures are provided: - queues - doubly linked lists - heaps - priority queues - hashtables - dictionaries %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: Data structures 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} %build # This is NOT an autoconf-generated script. Do NOT use %%configure. ./configure %{gap_archdir} %make_build # Build the documentation gap makedoc.g %install mkdir -p %{buildroot}%{gap_archdir}/pkg/%{pkgname}/doc cp -a *.g bin gap tst %{buildroot}%{gap_archdir}/pkg/%{pkgname} %gap_copy_docs %check gap -l '%{buildroot}%{gap_archdir};' tst/testall.g %files %doc CHANGES.md README.md %license COPYRIGHT.md 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/ %{gap_archdir}/pkg/%{pkgname}/doc/ %changelog ## START: Generated by rpmautospec * Wed Aug 28 2024 Jerry James - 0.3.1-1 - Version 0.3.1 - Setting LC_ALL is no longer needed - Avoid use of %%exclude * Wed Jul 17 2024 Fedora Release Engineering - 0.3.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 0.3.0-10 - Fix the VCS field * Fri Mar 15 2024 Jerry James - 0.3.0-9 - Rebuild for gap 4.13.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 0.3.0-2 - Update for split GAP directories * Fri Nov 4 2022 Jerry James - 0.3.0-1 - Version 0.3.0 - Drop obsolete -unused patch - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 0.2.7-4 - Update for gap 4.12.0 - Add -unused patch to silence compiler warnings * Wed Aug 17 2022 Jerry James - 0.2.7-3 - Convert License tag to SPDX * Sun Jul 24 2022 Jerry James - 0.2.7-3 - Rebuild due to changed binary dir name on s390x * Thu Jul 21 2022 Fedora Release Engineering - 0.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Mar 3 2022 Jerry James - 0.2.7-1 - Version 0.2.7 - Drop upstreamed -doc patch * Thu Jan 20 2022 Fedora Release Engineering - 0.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Apr 14 2021 Jerry James - 0.2.6-1 - Version 0.2.6 - Add -doc patch to fix a broken reference * Tue Jan 26 2021 Fedora Release Engineering - 0.2.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Mar 23 2020 Jerry James - 0.2.5-4 - Drop aarch64 workaround * Wed Mar 11 2020 Jerry James - 0.2.5-3 - Rebuild for gap 4.11.0 * Tue Jan 28 2020 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 11 2019 Jerry James - 0.2.5-1 - Version 0.2.5 - Drop upstreamed -doc patch * Mon Sep 16 2019 Jerry James - 0.2.4-1 - Initial RPM ## END: Generated by rpmautospec