forked from pool/gap-semigroups
Jan Engelhardt
98d7b31a12
OBS-URL: https://build.opensuse.org/package/show/science/gap-semigroups?expand=0&rev=28
82 lines
3.0 KiB
RPMSpec
82 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package gap-semigroups
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gap-semigroups
|
|
Version: 5.3.6
|
|
Release: 0
|
|
Summary: GAP: Computing with Semigroups of Transformations and Partial Permutations
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Scientific/Math
|
|
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
|
|
BuildRequires: automake
|
|
BuildRequires: c++_compiler
|
|
BuildRequires: fdupes
|
|
BuildRequires: gap-devel >= 4.12
|
|
BuildRequires: gap-rpm-devel
|
|
BuildRequires: gmp-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: xz
|
|
BuildRequires: pkgconfig(libsemigroups)
|
|
Requires: gap-core >= 4.12
|
|
Requires: gap-datastructures >= 0.2.5
|
|
Requires: gap-digraphs >= 1.6.2
|
|
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
|
|
|
|
%description
|
|
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.
|
|
|
|
%prep
|
|
%autosetup -n semigroups-%version
|
|
|
|
%build
|
|
autoreconf -fi
|
|
%configure --with-gaproot="%gapdir" --with-external-libsemigroups
|
|
%make_build
|
|
|
|
%install
|
|
rm -Rf libsemigroups
|
|
%gappkg_simple_install
|
|
pushd "%buildroot/$fmoddir/"
|
|
rm -Rfv Makefile* configure* cnf/ src/ gapbind14/src/ gapbind14/include/ autom4te.cache config.log
|
|
popd
|
|
find "%buildroot" "(" -name "*.orig" -o -name .gitignore -o \
|
|
-name .dirstamp -o -name .clang-format -o -name .ccls ")" -print -delete
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
%files -f %name.files
|
|
|
|
%changelog
|