SHA256
1
0
forked from pool/polylib

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
This commit is contained in:
Atri Bhattacharya 2020-09-16 13:24:48 +00:00 committed by Git OBS Bridge
commit b38ca6f1c6
5 changed files with 125 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
polylib-5.22.5.tar.gz Normal file
View File

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

4
polylib.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Sep 12 13:22:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 5.22.5) for build.opensuse.org

94
polylib.spec Normal file
View File

@ -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