## 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 normalizinterface %global gap_upstream_name NormalizInterface %global giturl https://github.com/gap-packages/NormalizInterface Name: gap-pkg-%{gap_pkg_name} Version: 1.4.1 Release: %autorelease Summary: GAP wrapper for Normaliz License: GPL-2.0-or-later URL: https://gap-packages.github.io/NormalizInterface/ 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(install): bin etc examples lib tst BuildOption(check): tst/testall.g BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gcc-c++ BuildRequires: libnormaliz-devel BuildRequires: make Requires: gap-core%{?_isa} %description Normaliz is software for computations with rational cones and affine monoids. It pursues two main computational goals: finding the Hilbert basis, a minimal generating system of the monoid of lattice points of a cone; and counting elements degree-wise in a generating function, the Hilbert series. As a recent extension, Normaliz can handle unbounded polyhedra. The Hilbert basis computation can be considered as solving a linear diophantine system of inhomogeneous equations, inequalities and congruences. This package allows creating libnormaliz cone objects from within GAP, and gives access to it in the GAP environment. In this way GAP can be used as an interactive interface to libnormaliz. %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 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 Summary: Documentation for the GAP %{gap_upstream_name} package BuildArch: noarch Requires: %{name} = %{version}-%{release} %description doc This package contains documentation for gap-pkg-%{gap_pkg_name}. %prep %autosetup -n %{gap_upstream_name}-%{version} -p1 %conf # Defeat attempts to set an rpath sed -i 's/\(NORMALIZ_RPATH_EXTRA=\)"-.*"/\1""/' configure %build -p sed -i '/GMP_PREFIX/s,-none,-%{_prefix},' configure %configure --with-gaproot=%{gap_archdir} %make_build %files %doc CHANGES README.md %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}/etc/ %{gap_archdir}/pkg/%{gap_upstream_name}/lib/ %{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 * Fri Sep 05 2025 Jerry James - 1.4.1-1 - Uncommitted changes * Wed Jul 23 2025 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jun 12 2025 Jerry James - 1.4.0-2 - Rebuild for normaliz 3.10.5 * Mon Apr 14 2025 Jerry James - 1.4.0-1 - Version 1.4.0 * Thu Jan 16 2025 Fedora Release Engineering - 1.3.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Jan 14 2025 Jerry James - 1.3.7-3 - Move configuration steps to %%conf * Thu Oct 10 2024 Jerry James - 1.3.7-2 - Rebuild for normaliz 3.10.4 * Tue Sep 03 2024 Jerry James - 1.3.7-1 - Version 1.3.7 - Change from C++11 to C++14 has been upstreamed - Setting LC_ALL is no longer necessary * Wed Aug 14 2024 Jerry James - 1.3.6-1 - Initial RPM ## END: Generated by rpmautospec