2016-06-19 15:35:49 +02:00
|
|
|
#
|
|
|
|
# spec file for package gap-digraphs
|
|
|
|
#
|
2023-04-05 16:20:41 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2016-06-19 15:35:49 +02: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.
|
|
|
|
|
2018-11-22 13:11:09 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-06-19 15:35:49 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-digraphs
|
2023-09-15 12:33:38 +02:00
|
|
|
Version: 1.6.3
|
2016-06-19 15:35:49 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: GAP: Digraphs and multigraphs
|
2018-11-22 13:11:09 +01:00
|
|
|
License: GPL-3.0-or-later
|
2016-06-19 15:35:49 +02:00
|
|
|
Group: Productivity/Scientific/Math
|
2022-11-19 05:34:17 +01:00
|
|
|
URL: https://digraphs.github.io/Digraphs/
|
|
|
|
#Git-Clone: https://github.com/digraphs/Digraphs
|
|
|
|
Source: https://github.com/digraphs/Digraphs/releases/download/v%version/digraphs-%version.tar.gz
|
|
|
|
BuildRequires: edge-addition-planarity-suite-devel
|
2016-06-19 15:35:49 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gap-devel
|
|
|
|
BuildRequires: gap-rpm-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gmp-devel
|
2022-11-19 05:34:17 +01:00
|
|
|
Requires: gap-core >= 4.10
|
|
|
|
Requires: gap-datastructures >= 0.2.5
|
2018-11-22 13:11:09 +01:00
|
|
|
Requires: gap-io >= 4.5.1
|
2022-11-19 05:34:17 +01:00
|
|
|
Requires: gap-orb >= 4.8.2
|
|
|
|
Suggests: gap-gapdoc >= 1.6.3
|
|
|
|
Suggests: gap-grape >= 4.8.1
|
2018-11-22 13:11:09 +01:00
|
|
|
Suggests: gap-nautytracesinterface >= 0.2
|
|
|
|
# Source contains a modified copy of bliss-0.73, so we cannot reuse bliss-devel
|
|
|
|
Provides: bundled(bliss) = 0.73
|
2016-06-19 15:35:49 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Digraphs package is a GAP package containing methods for digraphs
|
|
|
|
and multidigraphs.
|
|
|
|
|
|
|
|
%prep
|
2022-11-19 05:34:17 +01:00
|
|
|
%autosetup -n digraphs-%version
|
2016-06-19 15:35:49 +02:00
|
|
|
|
|
|
|
%build
|
2022-11-19 05:34:17 +01:00
|
|
|
%configure --with-gaproot="%gapdir" --without-intrinsics \
|
|
|
|
--with-external-planarity
|
|
|
|
%make_build
|
|
|
|
find . -type f -name "*~" -print -delete
|
2016-06-19 15:35:49 +02:00
|
|
|
|
|
|
|
%install
|
2022-11-19 05:34:17 +01:00
|
|
|
%gappkg_simple_install
|
|
|
|
pushd "%buildroot/$fmoddir/"
|
2016-06-19 15:35:49 +02:00
|
|
|
find . -type f -name .dirstamp -print -delete
|
2018-11-22 13:11:09 +01:00
|
|
|
# delete tests and assets
|
|
|
|
rm -Rf tst data/symmetric-closure.ds6.gz data/test-1.d6
|
|
|
|
# delete sources and build artifacts, user is not expected to rebuild in distribution tree
|
|
|
|
rm -Rf autom4te.cache src cnf config* m4 autogen.sh aclocal.m4 *.la Makefile*
|
2022-11-19 05:34:17 +01:00
|
|
|
rm -Rf extern/edge* extern/bliss*/[a-z]* extern/bliss*/.deps extern/bliss*/.libs extern/bliss*/.clang*
|
|
|
|
popd
|
2016-06-19 15:35:49 +02:00
|
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
|
|
|
|
%changelog
|