Accepting request 835656 from science

- Update to release 0.94l
- Split command-line programs to new package cddlib-tools.

OBS-URL: https://build.opensuse.org/request/show/835656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cddlib?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-09-21 15:42:25 +00:00 committed by Git OBS Bridge
commit dfae73e043
4 changed files with 48 additions and 17 deletions

View File

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

3
cddlib-0.94l.tar.gz Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Sep 20 06:38:16 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.94l
* Merged 0001-build-extend-extern-C-block-in-header-files.patch
- Split command-line programs to new package cddlib-tools.
-------------------------------------------------------------------
Sat Sep 19 09:18:52 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.94k
* Header files are now installed to PREFIX/include/cddlib to
avoid clashes with other libraries.
* pkg-config cddlib.pc file added.
- Add 0001-build-extend-extern-C-block-in-header-files.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 20 11:41:09 UTC 2018 - Jan Engelhardt <jengelh@inai.de> Sat Oct 20 11:41:09 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package cddlib # spec file for package cddlib
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,20 +18,16 @@
Name: cddlib Name: cddlib
%define lname libcdd0 %define lname libcdd0
Version: 0.94j Version: 0.94l
Release: 0 Release: 0
Summary: Library for finding vertices of convex polytopes Summary: Library for finding vertices of convex polytopes
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Url: https://www.inf.ethz.ch/personal/fukudak/cdd_home/ URL: https://www.inf.ethz.ch/personal/fukudak/cdd_home/
Source: https://github.com/cddlib/cddlib/releases/download/0.94j/cddlib-0.94j.tar.gz Source: https://github.com/cddlib/cddlib/releases/download/%version/%name-%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gmp-devel >= 3 BuildRequires: gmp-devel >= 3
BuildRequires: libtool
%description %description
cddlib is a C implementation of the Double Description Method of cddlib is a C implementation of the Double Description Method of
@ -50,7 +46,7 @@ extreme rays of a general convex polyhedron in R^d given by a system
of linear inequalities. of linear inequalities.
%package devel %package devel
Summary: Development files for cddlib Summary: Header files for cddlib
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %lname = %version
Requires: gmp-devel Requires: gmp-devel
@ -61,6 +57,8 @@ Motzkin et al. for generating all vertices (i.e. extreme points) and
extreme rays of a general convex polyhedron in R^d given by a system extreme rays of a general convex polyhedron in R^d given by a system
of linear inequalities. of linear inequalities.
This package contains the headers for the C library.
%package doc %package doc
Summary: Documentation for the cddlib API Summary: Documentation for the cddlib API
Group: Documentation/Other Group: Documentation/Other
@ -72,13 +70,26 @@ Motzkin et al.
This package contains the documentation to cddlib. This package contains the documentation to cddlib.
%package tools
Summary: Programs for vertex generation using Double Description Method
Group: Productivity/Scientific/Math
Provides: cddlib-devel:/usr/bin/scdd
Conflicts: cddlib-devel < 0.94l
%description tools
cddlib is a C implementation of the Double Description Method of
Motzkin et al. for generating all vertices (i.e. extreme points) and
extreme rays of a general convex polyhedron in R^d given by a system
of linear inequalities.
This package contains the command-line utilities of cddlib.
%prep %prep
%setup -q %autosetup -p1
%build %build
autoreconf -fi %configure --enable-shared --disable-static --docdir="%_docdir/%name"
%configure --enable-shared --disable-static --includedir="%_includedir/cdd" --docdir="%_docdir/%name" %make_build
make %{?_smp_mflags} V=1
%install %install
%make_install %make_install
@ -92,11 +103,15 @@ rm -f "%buildroot/%_libdir"/*.la
%_libdir/libcdd*.so.* %_libdir/libcdd*.so.*
%files devel %files devel
%_bindir/*
%_libdir/libcdd*.so %_libdir/libcdd*.so
%_includedir/* %_includedir/*
%_libdir/pkgconfig/*.pc
%files doc %files doc
%_docdir/%name/ %_docdir/%name/
%files tools
%_bindir/*
%license COPYING
%changelog %changelog