From c908778977b268f4ca2e04d59544cf83f313fdbe7f3062c1e7bdd44c82572e9d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 11 Oct 2014 18:22:19 +0000 Subject: [PATCH] Use original tarballs OBS-URL: https://build.opensuse.org/package/show/science/cddlib?expand=0&rev=7 --- cddlib-094g.tar.gz | 3 +++ cddlib.changes | 5 +++++ cddlib.spec | 24 +++++++++++++----------- 3 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 cddlib-094g.tar.gz diff --git a/cddlib-094g.tar.gz b/cddlib-094g.tar.gz new file mode 100644 index 0000000..370b19c --- /dev/null +++ b/cddlib-094g.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af1b81226514abf731800e2e104def8a7274817d7e645693f8b99fc2b1432155 +size 1383388 diff --git a/cddlib.changes b/cddlib.changes index 7ba4a9f..dbfb989 100644 --- a/cddlib.changes +++ b/cddlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 11 18:22:10 UTC 2014 - jengelh@inai.de + +- Use source URLs + ------------------------------------------------------------------- Tue Aug 21 23:03:03 UTC 2012 - jengelh@inai.de diff --git a/cddlib.spec b/cddlib.spec index d05679f..5acfa9b 100644 --- a/cddlib.spec +++ b/cddlib.spec @@ -1,7 +1,7 @@ # # spec file for package cddlib # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,22 +15,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: cddlib %define lname libcdd0 Version: 0.94g Release: 0 Summary: Library for finding vertices of convex polytopes -Group: Productivity/Scientific/Math License: GPL-2.0+ -URL: http://www.ifor.math.ethz.ch/~fukuda/cdd_home/ +Group: Productivity/Scientific/Math +Url: http://www.ifor.math.ethz.ch/~fukuda/cdd_home/ -Source: cddlib-094g.tar.xz -Patch1: cddlib-flags.diff -Patch2: cddlib-automake.diff +Source: ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/%name-094g.tar.gz +Patch1: cddlib-flags.diff +Patch2: cddlib-automake.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf, automake, libtool +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gmp-devel >= 3 -BuildRequires: xz +BuildRequires: libtool %description cddlib is a C implementation of the Double Description Method of @@ -51,7 +53,8 @@ of linear inequalities. %package devel Summary: Development files for cddlib Group: Development/Libraries/C and C++ -Requires: %lname = %version, gmp-devel +Requires: %lname = %version +Requires: gmp-devel %description devel cddlib is a C implementation of the Double Description Method of @@ -72,8 +75,7 @@ make %{?_smp_mflags} make install DESTDIR="%buildroot"; rm -f "%buildroot/%_libdir"/*.la; -%post -n %lname -p /sbin/ldconfig - +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname