Jan Engelhardt 2018-11-22 12:11:53 +00:00 committed by Git OBS Bridge
parent 6b2499be4f
commit 09bc93b669
5 changed files with 27 additions and 18 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 14 22:45:04 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 4.8.1
* No changelog was provided
-------------------------------------------------------------------
Thu Sep 14 19:36:58 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package gap-grape
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -12,27 +12,28 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gap-grape
Summary: GAP: GRaph Algorithms using PErmutation groups
Version: 4.7
Version: 4.8.1
Release: 0
License: GPL-2.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/grape4r7.tar.bz2
#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
Source: grape4r7.tar.xz
Source: grape-%version.tar.xz
Source8: sanitize_source.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildArch: noarch
BuildRequires: gap-rpm-devel
BuildRequires: xz
Requires: gap-core >= 4.5
Requires: bliss
Requires: gap-core >= 4.9
Requires: nauty
%description
@ -41,12 +42,12 @@ primarily designed for constructing and analysing graphs related to
groups, finite geometries, and designs.
%prep
%setup -qn grape
rm -f doc/.Rhistory
%setup -qn grape-%version
%build
%install
rm -Rf scripts doc/.Rhistory
%gappkg_simple_install
%files -f %name.files

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

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

View File

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

View File

@ -1,7 +1,9 @@
#!/bin/sh -ex
osc service lr download_files
wget -c https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/grape-4.8.1.tar.bz2
rm -Rf grape
tar -xf grape4r7.tar.bz2
rm -Rf grape/nauty22 grape/bin
tar --use=xz -cf grape4r7.tar.xz grape
tar -xf grape-4.8.1.tar.bz2
# only nauty 2.3's license is acceptable
rm -Rf grape-*/nauty22 grape-*/bin
tar --use=xz -cf grape-4.8.1.tar.xz grape-4.8.1