From b38ca6f1c6a08af97fea6b73e3894243eb356630c97c289d63c2c755e3e4d17d Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 16 Sep 2020 13:24:48 +0000 Subject: [PATCH] Accepting request 833995 from home:jengelh:branches:science OBS-URL: https://build.opensuse.org/request/show/833995 OBS-URL: https://build.opensuse.org/package/show/science/polylib?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + polylib-5.22.5.tar.gz | 3 ++ polylib.changes | 4 ++ polylib.spec | 94 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 polylib-5.22.5.tar.gz create mode 100644 polylib.changes create mode 100644 polylib.spec 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/polylib-5.22.5.tar.gz b/polylib-5.22.5.tar.gz new file mode 100644 index 0000000..6c8916e --- /dev/null +++ b/polylib-5.22.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84622ff9dfa5d06f0c266960ed078bd3577a30fde6d7f8bed1041b9838cb731f +size 2673630 diff --git a/polylib.changes b/polylib.changes new file mode 100644 index 0000000..594172a --- /dev/null +++ b/polylib.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Sep 12 13:22:45 UTC 2020 - Jan Engelhardt + +- Initial package (version 5.22.5) for build.opensuse.org diff --git a/polylib.spec b/polylib.spec new file mode 100644 index 0000000..b2938fb --- /dev/null +++ b/polylib.spec @@ -0,0 +1,94 @@ +# +# spec file for package polylib +# +# Copyright (c) 2020 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 https://bugs.opensuse.org/ +# + + +%define lname libpolylibgmp8 +Name: polylib +Version: 5.22.5 +Release: 0 +Summary: Library for computing homotopy continuation of roots +License: GPL-3.0-or-later +Group: Productivity/Scientific/Math +URL: https://icps.u-strasbg.fr/polylib/ +Source: https://icps.u-strasbg.fr/polylib/polylib_src/%name-%version.tar.gz +BuildRequires: gcc-c++ +BuildRequires: ntl-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gmpxx) +BuildRequires: pkgconfig(isl) + +%description +The Polyhedral Library (PolyLib) operates on objects made up of +unions of polyhedra of any dimension. + +%package -n %lname +Summary: Library for computing homotopy continuation of roots +Group: System/Libraries + +%description -n %lname +The Polyhedral Library (PolyLib) operates on objects made up of +unions of polyhedra of any dimension. + +%package devel +Summary: Development files for PolyLib +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +The Polyhedral Library (PolyLib) operates on objects made up of +unions of polyhedra of any dimension. + +It can manipulate non-parameterized unions of polyhedra +(intersection, difference, union, convex hull, simplify, image and +preimage, plus some input and output functions), parameterized +vertices computation, and Ehrhart polynomials computation. + +This subpackage contains the include files and library links for +developing with PolyLib. + +%prep +%autosetup -p1 + +%build +%configure --disable-static --with-isl=system --with-libgmp +%make_build + +%install +%make_install +find %buildroot -type f -name "*.la" -delete -print + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files +%_bindir/c2p +%_bindir/disjoint* +%_bindir/*ehrhart* +%_bindir/findv +%_bindir/ppgmp +%_bindir/r2p + +%files -n %lname +%_libdir/libpolylibgmp.so.8* + +%files devel +%license COPYING +%_includedir/polylib/ +%_libdir/libpolylibgmp.so +%_libdir/pkgconfig/*.pc + +%changelog