commit ef9354cf81d69cc76b2c33dc73cc46eba180dba493daf7e12941c43ef602b839 Author: Atri Bhattacharya Date: Mon Mar 13 11:07:10 2023 +0000 Accepting request 1064639 from home:jengelh:branches:science OBS-URL: https://build.opensuse.org/request/show/1064639 OBS-URL: https://build.opensuse.org/package/show/science/gap-ferret?expand=0&rev=1 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/ferret-1.0.9.tar.gz b/ferret-1.0.9.tar.gz new file mode 100644 index 0000000..762141d --- /dev/null +++ b/ferret-1.0.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec332222e2858410f861b0b184fab13aaf251e7c91977e45f7bb9dfd3a56e424 +size 340514 diff --git a/gap-ferret.changes b/gap-ferret.changes new file mode 100644 index 0000000..b98883a --- /dev/null +++ b/gap-ferret.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Nov 19 17:15:24 UTC 2022 - Jan Engelhardt + +- Initial package (version 1.0.9) for build.opensuse.org diff --git a/gap-ferret.spec b/gap-ferret.spec new file mode 100644 index 0000000..9afcebb --- /dev/null +++ b/gap-ferret.spec @@ -0,0 +1,57 @@ +# +# spec file for package gap-ferret +# +# 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 +# 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-ferret +Version: 1.0.9 +Release: 0 +Summary: GAP: Backtrack Search in Permutation Groups +License: MPL-2.0 +Group: Productivity/Scientific/Math +URL: https://gap-packages.github.io/ferret/ +#Git-Clone: https://github.com/gap-packages/ferret +Source: https://github.com/gap-packages/ferret/releases/download/v%version/ferret-%version.tar.gz +BuildRequires: c++_compiler +BuildRequires: fdupes +BuildRequires: gap-devel +BuildRequires: gap-rpm-devel +Requires: gap-core >= 4.11 +Requires: gap-gapdoc >= 1.5 + +%description +The Ferret package provides a C++ reimplementation of Jeffery Leon's Partition +Backtrack framework for solving problems in permutation groups + +%prep +%autosetup -n ferret-%version + +%build +%configure --with-gaproot="%gapdir" +%make_build +find . -type f -size 0 -name _Chunks.xml -print -delete + +%install +%gappkg_simple_install +pushd "%buildroot/$fmoddir/" +rm -Rf gap_cpp* src +find YAPB++ -type f ! -name LICENSE -delete +popd +%fdupes %buildroot/%_prefix + +%files -f %name.files + +%changelog