From 4c2a5ae6bd347c3f05821af5d73316506af53e7f6d6bbd38be18f92cfdc910f8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 20 Sep 2020 08:00:15 +0000 Subject: [PATCH] - Split command-line programs to new package cddlib-tools. OBS-URL: https://build.opensuse.org/package/show/science/cddlib?expand=0&rev=26 --- cddlib.changes | 1 + cddlib.spec | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/cddlib.changes b/cddlib.changes index d3e5fd4..626daee 100644 --- a/cddlib.changes +++ b/cddlib.changes @@ -3,6 +3,7 @@ Sun Sep 20 06:38:16 UTC 2020 - Jan Engelhardt - 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 diff --git a/cddlib.spec b/cddlib.spec index ed2f808..dff40f7 100644 --- a/cddlib.spec +++ b/cddlib.spec @@ -46,7 +46,7 @@ extreme rays of a general convex polyhedron in R^d given by a system of linear inequalities. %package devel -Summary: Development files for cddlib +Summary: Header files for cddlib Group: Development/Libraries/C and C++ Requires: %lname = %version 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 of linear inequalities. +This package contains the headers for the C library. + %package doc Summary: Documentation for the cddlib API Group: Documentation/Other @@ -68,6 +70,20 @@ Motzkin et al. 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 %autosetup -p1 @@ -87,7 +103,6 @@ rm -f "%buildroot/%_libdir"/*.la %_libdir/libcdd*.so.* %files devel -%_bindir/* %_libdir/libcdd*.so %_includedir/* %_libdir/pkgconfig/*.pc @@ -95,4 +110,8 @@ rm -f "%buildroot/%_libdir"/*.la %files doc %_docdir/%name/ +%files tools +%_bindir/* +%license COPYING + %changelog