- Update to release 4.8.5

OBS-URL: https://build.opensuse.org/package/show/science/gap-grape?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2022-11-19 00:06:49 +00:00 committed by Git OBS Bridge
parent 09bc93b669
commit c91de90bc4
5 changed files with 29 additions and 20 deletions

View File

@ -1,3 +1,13 @@
- Update to release 4.8.5
* Resolve wrong answer to be returned for an input complete
graph (on more than one vertex) for the functions
MaximumClique, MaximumCompleteSubgraph, and CliqueNumber.
* Implemented new components maximumClique and
minimumVertexColouring for (simple) GRAPE graphs. These
components may be set or used by various GRAPE functions.
* Simple GRAPE graphs are now output to nauty/bliss as
nauty/blass undirected graphs and are so treated by them.
-------------------------------------------------------------------
Wed Nov 14 22:45:04 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package gap-grape
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -17,23 +17,21 @@
Name: gap-grape
Version: 4.8.1
Version: 4.8.5
Release: 0
Summary: GAP: GRaph Algorithms using PErmutation groups
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
URL: http://www.maths.qmul.ac.uk/~leonard/grape/
#DL-URL: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/grape-4.8.1.tar.bz2
# Original tarball has bundled third-party code with a Non-Commercial clause
URL: https://gap-packages.github.io/grape/
#Git-Clone: https://github.com/gap-packages/grape
# Must use sanitize_source.sh
Source: grape-%version.tar.xz
Source8: sanitize_source.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source2: sanitize_source.sh
BuildArch: noarch
BuildRequires: gap-rpm-devel
BuildRequires: xz
Requires: bliss
Requires: gap-core >= 4.9
Requires: gap-core >= 4.11
Requires: nauty
%description
@ -42,7 +40,7 @@ primarily designed for constructing and analysing graphs related to
groups, finite geometries, and designs.
%prep
%setup -qn grape-%version
%autosetup -n grape-%version
%build
@ -51,6 +49,5 @@ rm -Rf scripts doc/.Rhistory
%gappkg_simple_install
%files -f %name.files
%defattr(-,root,root)
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7c05ec22a529b125fab629c63a44597b5208328f0772d4167a72bf8c55134a6
size 383292

3
grape-4.8.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62bd40add64cc1b86e38fb29e0b12928ed64e22c09ea8c2c523d1e402d9f0f90
size 387888

View File

@ -1,9 +1,11 @@
#!/bin/sh -ex
wget -c https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/grape-4.8.1.tar.bz2
rm -Rf grape
tar -xf grape-4.8.1.tar.bz2
# only nauty 2.3's license is acceptable
version="4.8.5"
name="grape-$version"
wget -c "https://github.com/gap-packages/grape/releases/download/v$version/$name.tar.gz"
rm -Rf "$name"
tar -xf "$name.tar.gz"
# Only from nauty 2.3 onwards is the license is acceptable.
# Besides, openSUSE already ships nauty on its own.
rm -Rf grape-*/nauty22 grape-*/bin
tar --use=xz -cf grape-4.8.1.tar.xz grape-4.8.1
tar --use=xz -cf "$name.tar.xz" "$name"