From b13b5782ea4d08494d535bc7d6c73ab9cdbf03564541bde5224cb3b09382e5bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 19 Sep 2017 15:45:10 +0000 Subject: [PATCH] Accepting request 526217 from home:jengelh:branches:science OBS-URL: https://build.opensuse.org/request/show/526217 OBS-URL: https://build.opensuse.org/package/show/science/gap-grape?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++++ .gitignore | 1 + gap-grape.changes | 10 +++++++++ gap-grape.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++ grape4r7.tar.xz | 3 +++ sanitize_source.sh | 7 ++++++ 6 files changed, 98 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gap-grape.changes create mode 100644 gap-grape.spec create mode 100644 grape4r7.tar.xz create mode 100644 sanitize_source.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gap-grape.changes b/gap-grape.changes new file mode 100644 index 0000000..ce8fbb6 --- /dev/null +++ b/gap-grape.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Thu Sep 14 19:36:58 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 4.7 + * The user may run their own copy of dreadnaut and bliss. + +------------------------------------------------------------------- +Fri May 10 13:47:02 UTC 2013 - jengelh@inai.de + +- Split grape (version 4.6.1) off the gap RPM package diff --git a/gap-grape.spec b/gap-grape.spec new file mode 100644 index 0000000..53c5d99 --- /dev/null +++ b/gap-grape.spec @@ -0,0 +1,54 @@ +# +# spec file for package gap-grape +# +# Copyright (c) 2013 SUSE LINUX Products 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-grape +Summary: GAP: GRaph Algorithms using PErmutation groups +Version: 4.7 +Release: 0 +License: GPL-2.0+ +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 +# Original tarball has bundled third-party code with a Non-Commercial clause +Source: grape4r7.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +BuildRequires: gap-rpm-devel +BuildRequires: xz +Requires: gap-core >= 4.5 +Requires: nauty + +%description +GRAPE is a package for computing with graphs and groups, and is +primarily designed for constructing and analysing graphs related to +groups, finite geometries, and designs. + +%prep +%setup -qn grape +rm -f doc/.Rhistory + +%build + +%install +%gappkg_simple_install + +%files -f %name.files +%defattr(-,root,root) + +%changelog diff --git a/grape4r7.tar.xz b/grape4r7.tar.xz new file mode 100644 index 0000000..8c7319d --- /dev/null +++ b/grape4r7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10ab5aca4f503df9ccc180a6673b37591780c780254cb077ec183487ce62340c +size 343756 diff --git a/sanitize_source.sh b/sanitize_source.sh new file mode 100644 index 0000000..7f01cfd --- /dev/null +++ b/sanitize_source.sh @@ -0,0 +1,7 @@ +#!/bin/sh -ex + +osc service lr download_files +rm -Rf grape +tar -xf grape4r7.tar.bz2 +rm -Rf grape/nauty22 grape/bin +tar --use=xz -cf grape4r7.tar.xz grape