## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 gap_pkg_name numericalsgps %global gap_upstream_name NumericalSgps %global giturl https://github.com/gap-packages/numericalsgps Name: gap-pkg-%{gap_pkg_name} Version: 1.4.0 Release: %autorelease Summary: Compute with numerical semigroups and affine semigroups License: GPL-2.0-or-later URL: https://gap-packages.github.io/numericalsgps/ VCS: git:%{giturl}.git Source: %{giturl}/releases/download/v%{version}/%{gap_upstream_name}-%{version}.tar.gz BuildArch: noarch BuildSystem: gap BuildOption(install): data gap tst version BuildOption(check): tst/testall.g BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gap-pkg-normalizinterface BuildRequires: gap-pkg-singular Requires: gap-core Recommends: gap-pkg-normalizinterface Recommends: gap-pkg-singular %description NumericalSgps is a GAP package for computing with Numerical Semigroups. Features include: - defining numerical semigroups; - computing several properties of numerical semigroups, namely: multiplicity, Frobenius number, (minimal) system of generators, Apéry set, gaps, fundamental gaps, etc.; - perform several operations on numerical semigroups and ideals, namely: intersection, quotient by an integer, decompose into irreducible semigroups, add a special gap, ...; - computing and testing membership to relevant families of numerical semigroups. %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 # RSFS: LicenseRef-Rsfs # StandardSymL: GPL-1.0-or-later License: GPL-2.0-or-later AND GPL-1.0-or-later AND OFL-1.1-RFN AND Knuth-CTAN AND AGPL-3.0-only AND LicenseRef-Rsfs Summary: Documentation for the GAP NumericalSgps package Requires: %{name} = %{version}-%{release} %description doc This package contains documentation for gap-pkg-%{gap_pkg_name}. %prep %autosetup -n %{gap_upstream_name}-%{version} %files %doc CHANGES EXAMPLES README.md %license GPL LICENSE %dir %{gap_libdir}/pkg/%{gap_upstream_name}/ %{gap_libdir}/pkg/%{gap_upstream_name}/*.g %{gap_libdir}/pkg/%{gap_upstream_name}/data/ %{gap_libdir}/pkg/%{gap_upstream_name}/gap/ %{gap_libdir}/pkg/%{gap_upstream_name}/tst/ %{gap_libdir}/pkg/%{gap_upstream_name}/version %files doc %docdir %{gap_libdir}/pkg/%{gap_upstream_name}/doc/ %{gap_libdir}/pkg/%{gap_upstream_name}/doc/ %changelog ## START: Generated by rpmautospec * Wed Sep 17 2025 Jerry James - 1.4.0-4 - Uncommitted changes * Wed Jul 23 2025 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jan 16 2025 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Sep 03 2024 Jerry James - 1.4.0-1 - Version 1.4.0 - Setting LC_ALL is no longer necessary * Wed Aug 21 2024 Jerry James - 1.3.1-1 - Initial RPM ## END: Generated by rpmautospec