%global pkgname circle Name: gap-pkg-%{pkgname} Version: 1.6.6 Release: 4%{?dist} Summary: Adjoint groups of finite rings License: GPL-2.0-or-later BuildArch: noarch ExclusiveArch: %{gap_arches} noarch URL: https://gap-packages.github.io/circle/ Source0: https://github.com/gap-packages/circle/releases/download/v%{version}/%{pkgname}-%{version}.tar.gz BuildRequires: gap-devel BuildRequires: gap-pkg-laguna BuildRequires: GAPDoc-latex BuildRequires: tth Requires: gap-core %description Let R be an associative ring, not necessarily with a unit element. The set of all elements of R forms a monoid with the neutral element 0 from R under the operation r*s = r + s + rs defined for all r,s from R. This operation is called 'circle multiplication'; it is also known as 'star multiplication'. The monoid of elements of R under circle multiplication is called the adjoint semigroup of R. The group of all invertible elements of this monoid is called the adjoint group of R. These notions naturally lead to a number of questions about the connection between a ring and its adjoint group, for example, how the ring properties will determine properties of the adjoint group; which groups can appear as adjoint groups of rings; which rings can have adjoint groups with prescribed properties, etc. The main objective of the GAP package 'Circle' is to extend GAP functionality for computations in adjoint groups of associative rings to make it possible to use the GAP system for the investigation of such questions. Circle provides functionality to construct circle objects that will respect circle multiplication r*s = r + s + rs, create multiplicative groups, generated by these objects, and compute groups of elements, invertible with respect to this operation, for finite radical algebras and finite associative rings without one. %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: Circle documentation Requires: %{name} = %{version}-%{release} Requires: gap-online-help %description doc This package contains documentation for gap-pkg-%{pkgname}. %prep %autosetup -n %{pkgname}-%{version} %build export LC_ALL=C.UTF-8 mkdir -p ../pkg ln -s ../%{pkgname}-%{version} ../pkg gap -l "$PWD/..;" makedoc.g rm -fr ../pkg # Fix paths in the extracted example files sed -i "s,$PWD/\.\.,%{gap_libdir},g" tst/circle*.tst %install mkdir -p %{buildroot}%{gap_libdir}/pkg/%{pkgname}/doc cp -a *.g lib tst %{buildroot}%{gap_libdir}/pkg/%{pkgname} rm %{buildroot}%{gap_libdir}/pkg/%{pkgname}/tst/README.md %gap_copy_docs %check export LC_ALL=C.UTF-8 gap -l "%{buildroot}%{gap_libdir};" tst/testall.g %files %doc README.md %license COPYING %{gap_libdir}/pkg/%{pkgname}/ %exclude %{gap_libdir}/pkg/%{pkgname}/doc/ %files doc %docdir %{gap_libdir}/pkg/%{pkgname}/doc/ %{gap_libdir}/pkg/%{pkgname}/doc/ %changelog * Wed Jan 24 2024 Fedora Release Engineering - 1.6.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.6.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Feb 25 2023 Jerry James - 1.6.6-1 - Version 1.6.6 * Thu Jan 19 2023 Fedora Release Engineering - 1.6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 1.6.5-5 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 1.6.5-4 - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 1.6.5-3 - Update for gap 4.12.0 * Tue Aug 16 2022 Jerry James - 1.6.5-2 - Convert License tag to SPDX * Thu Jul 21 2022 Fedora Release Engineering - 1.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Apr 27 2022 Jerry James - 1.6.5-1 - Version 1.6.5 * Thu Jan 20 2022 Fedora Release Engineering - 1.6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Feb 22 2021 Jerry James - 1.6.4-1 - Version 1.6.4 * Tue Jan 26 2021 Fedora Release Engineering - 1.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 6 2019 Jerry James - 1.6.3-1 - Version 1.6.3 * Thu Oct 24 2019 Jerry James - 1.6.1-1 - Initial RPM