2014-02-05 11:22:34 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-semigroups
|
|
|
|
#
|
2023-03-05 13:57:07 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-02-05 11:22:34 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-semigroups
|
2023-10-08 05:53:16 +02:00
|
|
|
Version: 5.3.2
|
2014-02-05 11:22:34 +01:00
|
|
|
Release: 0
|
2014-12-12 14:39:17 +01:00
|
|
|
Summary: GAP: Computing with Semigroups of Transformations and Partial Permutations
|
2014-02-05 11:22:34 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Scientific/Math
|
2022-11-19 03:09:58 +01:00
|
|
|
URL: https://semigroups.github.io/Semigroups/
|
|
|
|
#Git-Clone: https://github.com/semigroups/Semigroups
|
|
|
|
Source: https://github.com/semigroups/Semigroups/releases/download/v%version/semigroups-%version.tar.gz
|
2022-12-21 00:48:48 +01:00
|
|
|
BuildRequires: automake
|
2022-11-19 03:09:58 +01:00
|
|
|
BuildRequires: c++_compiler
|
2022-12-21 00:40:30 +01:00
|
|
|
BuildRequires: fdupes
|
2022-11-19 03:09:58 +01:00
|
|
|
BuildRequires: gap-devel >= 4.12
|
2014-02-05 11:22:34 +01:00
|
|
|
BuildRequires: gap-rpm-devel
|
|
|
|
BuildRequires: gmp-devel
|
2022-12-21 00:48:48 +01:00
|
|
|
BuildRequires: libtool
|
2022-11-19 03:09:58 +01:00
|
|
|
BuildRequires: pkgconfig(libsemigroups)
|
2014-02-05 11:22:34 +01:00
|
|
|
BuildRequires: xz
|
2022-11-19 03:09:58 +01:00
|
|
|
Requires: gap-core >= 4.12
|
|
|
|
Requires: gap-datastructures >= 0.2.5
|
|
|
|
Requires: gap-digraphs >= 1.5.0
|
|
|
|
Requires: gap-genss >= 1.6.5
|
|
|
|
Requires: gap-images >= 1.3.1
|
|
|
|
Requires: gap-io >= 4.5.1
|
|
|
|
Requires: gap-orb >= 4.8.2
|
|
|
|
Suggests: gap-autodic >= 2020.08.11
|
|
|
|
Suggests: gap-gapdoc >= 1.6.3
|
2014-02-05 11:22:34 +01:00
|
|
|
|
|
|
|
%description
|
2022-11-19 03:09:58 +01:00
|
|
|
The Semigroups package is a GAP package containing methods for
|
|
|
|
semigroups, principally semigroups of transformations, partial
|
|
|
|
permutations or subsemigroups of regular Rees 0-matrix semigroups.
|
|
|
|
Semigroups contains more efficient methods than those available in
|
|
|
|
the GAP library (and in many cases more efficient than any other
|
|
|
|
software) for creating semigroups, calculating their Green's classes,
|
|
|
|
size, elements, group of units, minimal ideal, small generating sets,
|
|
|
|
testing membership, finding the inverses of a regular element,
|
|
|
|
factorizing elements over the generators, and many more. It is also
|
|
|
|
possible to test if a semigroup satisfies a particular property, such
|
|
|
|
as if it is regular, simple, inverse, completely regular, and a
|
|
|
|
variety of further properties.
|
2014-02-05 11:22:34 +01:00
|
|
|
|
|
|
|
%prep
|
2022-11-19 03:09:58 +01:00
|
|
|
%autosetup -n semigroups-%version
|
2014-02-05 11:22:34 +01:00
|
|
|
|
|
|
|
%build
|
2022-11-19 03:09:58 +01:00
|
|
|
autoreconf -fi
|
|
|
|
%configure --with-gaproot="%gapdir" --with-external-libsemigroups
|
|
|
|
%make_build
|
2014-02-05 11:22:34 +01:00
|
|
|
|
|
|
|
%install
|
2022-12-20 23:10:29 +01:00
|
|
|
rm -Rf libsemigroups
|
2014-02-05 11:22:34 +01:00
|
|
|
%gappkg_simple_install
|
2022-11-19 03:09:58 +01:00
|
|
|
pushd "%buildroot/$fmoddir/"
|
2024-01-03 13:35:27 +01:00
|
|
|
rm -Rfv Makefile* configure* cnf/ src/ gapbind14/src/ gapbind14/include/ autom4te.cache config.log
|
2022-11-19 03:09:58 +01:00
|
|
|
popd
|
2022-12-21 00:40:30 +01:00
|
|
|
find "%buildroot" "(" -name "*.orig" -o -name .gitignore -o \
|
|
|
|
-name .dirstamp -o -name .clang-format -o -name .ccls ")" -print -delete
|
|
|
|
%fdupes %buildroot/%_prefix
|
2014-02-05 11:22:34 +01:00
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
|
|
|
|
%changelog
|