## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 liepring %global giturl https://github.com/gap-packages/liepring Name: gap-pkg-%{pkgname} Version: 2.9.1 Release: %autorelease Summary: Database and algorithms for Lie p-rings License: GPL-2.0-or-later BuildArch: noarch # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/liepring/ VCS: git:%{giturl}.git Source: %{giturl}/releases/download/v%{version}/%{pkgname}-%{version}.tar.gz BuildRequires: gap-devel BuildRequires: GAPDoc-latex BuildRequires: gap-pkg-liering BuildRequires: gap-pkg-polycyclic BuildRequires: gap-pkg-singular BuildRequires: tth Requires: gap-pkg-liering Recommends: gap-pkg-singular %description The main object of the LiePRing package is to provide access to the nilpotent Lie rings of order p^n for p>2 and n<=7. %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 # Nimbus: AGPL-3.0-only # StandardSymL: GPL-1.0-or-later License: GPL-2.0-or-later AND Knuth-CTAN AND AGPL-3.0-only AND GPL-1.0-or-later Summary: LiePRing documentation Requires: %{name} = %{version}-%{release} Requires: gap-online-help %description doc This package contains documentation for gap-pkg-%{pkgname}. %prep %autosetup -n %{pkgname}-%{version} # Fix paths sed -i 's,\.\./\.\./\.\./,%{gap_libdir}/,' doc/make_doc %build export LC_ALL=C.UTF-8 ln -s %{gap_libdir}/doc ../../doc cd doc ./make_doc cd - rm ../../doc %install mkdir -p %{buildroot}%{gap_libdir}/pkg/%{pkgname}/doc cp -a *.g gap htm lib tst VERSION %{buildroot}%{gap_libdir}/pkg/%{pkgname} %gap_copy_docs %check export LC_ALL=C.UTF-8 gap -l "%{buildroot}%{gap_libdir};%{gap_libdir}" tst/testall.g %files %doc README.md %license LICENSE %{gap_libdir}/pkg/%{pkgname}/ %exclude %{gap_libdir}/pkg/%{pkgname}/doc/ %exclude %{gap_libdir}/pkg/%{pkgname}/htm/ %exclude %{gap_libdir}/pkg/%{pkgname}/lib/notes/ %exclude %{gap_libdir}/pkg/%{pkgname}/lib/dim6/notes/ %exclude %{gap_libdir}/pkg/%{pkgname}/lib/dim7/2gen/notes/ %exclude %{gap_libdir}/pkg/%{pkgname}/lib/dim7/3gen/notes/ %exclude %{gap_libdir}/pkg/%{pkgname}/lib/dim7/4gen/notes/ %exclude %{gap_libdir}/pkg/%{pkgname}/lib/dim7/5gen/notes/ %files doc %docdir %{gap_libdir}/pkg/%{pkgname}/doc/ %docdir %{gap_libdir}/pkg/%{pkgname}/lib/notes/ %docdir %{gap_libdir}/pkg/%{pkgname}/lib/dim6/notes/ %docdir %{gap_libdir}/pkg/%{pkgname}/lib/dim7/2gen/notes/ %docdir %{gap_libdir}/pkg/%{pkgname}/lib/dim7/3gen/notes/ %docdir %{gap_libdir}/pkg/%{pkgname}/lib/dim7/4gen/notes/ %docdir %{gap_libdir}/pkg/%{pkgname}/lib/dim7/5gen/notes/ %{gap_libdir}/pkg/%{pkgname}/doc/ %{gap_libdir}/pkg/%{pkgname}/htm/ %{gap_libdir}/pkg/%{pkgname}/lib/notes/ %{gap_libdir}/pkg/%{pkgname}/lib/dim6/notes/ %{gap_libdir}/pkg/%{pkgname}/lib/dim7/2gen/notes/ %{gap_libdir}/pkg/%{pkgname}/lib/dim7/3gen/notes/ %{gap_libdir}/pkg/%{pkgname}/lib/dim7/4gen/notes/ %{gap_libdir}/pkg/%{pkgname}/lib/dim7/5gen/notes/ %changelog ## START: Generated by rpmautospec * Tue Jul 16 2024 Jerry James - 2.9.1-2 - Fix the VCS field * Wed Jun 12 2024 Jerry James - 2.9.1-1 - Version 2.9.1 * Mon Apr 29 2024 Jerry James - 2.9-1 - Version 2.9 - gap-pkg-singular is now a Recommends rather than a Requires * Sun Mar 17 2024 Jerry James - 2.8-10 - Rebuild for gap 4.13.0 * Wed Jan 24 2024 Fedora Release Engineering - 2.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 2.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 2.8-2 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 2.8-1 - Clarify license of the doc subpackage * Sat Oct 22 2022 Jerry James - 2.8-1 - Version 2.8 - Remove runtime dependency on the polycyclic package * Tue Sep 27 2022 Jerry James - 2.7-2 - Update for gap 4.12.0 - Convert License tag to SPDX * Sat Aug 6 2022 Jerry James - 2.7-1 - Version 2.7 * Thu Jul 21 2022 Fedora Release Engineering - 2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Apr 12 2022 Jerry James - 2.6-1 - Version 2.6 - Add dependencies on gap-pkg-polycyclic and gap-pkg-singular * Thu Jan 20 2022 Fedora Release Engineering - 1.9.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.9.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Sep 19 2019 Jerry James - 1.9.2-1 - Initial RPM ## END: Generated by rpmautospec