1
0
gap-semigroups/gap-semigroups.spec

77 lines
2.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gap-semigroups
#
# Copyright (c) 2022 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 http://bugs.opensuse.org/
#
Name: gap-semigroups
Version: 5.2.0
Release: 0
Summary: GAP: Computing with Semigroups of Transformations and Partial Permutations
License: GPL-2.0+
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: c++_compiler
BuildRequires: gap-devel >= 4.12
BuildRequires: gap-rpm-devel
BuildRequires: gmp-devel
BuildRequires: pkgconfig(libsemigroups)
BuildRequires: xz
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
%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* src/
popd
find "%buildroot" -name "*.orig" -print -delete
%files -f %name.files
%changelog