forked from pool/gap-digraphs
Jan Engelhardt
636d64a119
OBS-URL: https://build.opensuse.org/package/show/science/gap-digraphs?expand=0&rev=5
63 lines
1.8 KiB
RPMSpec
63 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package gap-digraphs
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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-digraphs
|
|
Version: 0.10.1
|
|
Release: 0
|
|
Summary: GAP: Digraphs and multigraphs
|
|
License: GPL-3.0+
|
|
Group: Productivity/Scientific/Math
|
|
Url: http://www-groups.mcs.st-andrews.ac.uk/~jamesm/digraphs.php
|
|
|
|
Source: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/digraphs-%version.tar.bz2
|
|
BuildRequires: fdupes
|
|
BuildRequires: gap-devel
|
|
BuildRequires: gap-rpm-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gmp-devel
|
|
BuildRequires: xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: gap-core >= 4.8.2
|
|
Requires: gap-io >= 4.4.4
|
|
Requires: gap-orb >= 4.7.5
|
|
Suggests: gap-gapdoc >= 1.5.1
|
|
Suggests: gap-grape >= 4.5
|
|
|
|
%description
|
|
The Digraphs package is a GAP package containing methods for digraphs
|
|
and multidigraphs.
|
|
|
|
%prep
|
|
%setup -qn digraphs-%version
|
|
|
|
%build
|
|
%configure --with-gaproot="%gapdir"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
find . -type f -name .dirstamp -print -delete
|
|
rm -Rf autom4te.cache src m4 tst
|
|
%gappkg_simple_install
|
|
%fdupes %buildroot/%_prefix
|
|
find %buildroot
|
|
|
|
%files -f %name.files
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|