- Split command-line programs to new package cddlib-tools.

OBS-URL: https://build.opensuse.org/package/show/science/cddlib?expand=0&rev=26
This commit is contained in:
Jan Engelhardt 2020-09-20 08:00:15 +00:00 committed by Git OBS Bridge
parent 5e5e6894c9
commit 4c2a5ae6bd
2 changed files with 22 additions and 2 deletions

View File

@ -3,6 +3,7 @@ Sun Sep 20 06:38:16 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.94l - Update to release 0.94l
* Merged 0001-build-extend-extern-C-block-in-header-files.patch * 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> Sat Sep 19 09:18:52 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -46,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
@ -57,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
@ -68,6 +70,20 @@ 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
%autosetup -p1 %autosetup -p1
@ -87,7 +103,6 @@ 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 %_libdir/pkgconfig/*.pc
@ -95,4 +110,8 @@ rm -f "%buildroot/%_libdir"/*.la
%files doc %files doc
%_docdir/%name/ %_docdir/%name/
%files tools
%_bindir/*
%license COPYING
%changelog %changelog