Accepting request 255127 from science

- Use source URLs (and run format_spec_file)

OBS-URL: https://build.opensuse.org/request/show/255127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cddlib?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-10-14 05:10:36 +00:00 committed by Git OBS Bridge
commit a5c6cbac52
4 changed files with 21 additions and 14 deletions

3
cddlib-094g.tar.gz Normal file
View File

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

View File

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

View File

@ -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 Tue Aug 21 23:03:03 UTC 2012 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cddlib # 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 # 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
@ -15,22 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: cddlib Name: cddlib
%define lname libcdd0 %define lname libcdd0
Version: 0.94g Version: 0.94g
Release: 0 Release: 0
Summary: Library for finding vertices of convex polytopes Summary: Library for finding vertices of convex polytopes
Group: Productivity/Scientific/Math
License: GPL-2.0+ 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 Source: ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/%name-094g.tar.gz
Patch1: cddlib-flags.diff Patch1: cddlib-flags.diff
Patch2: cddlib-automake.diff Patch2: cddlib-automake.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf, automake, libtool BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gmp-devel >= 3 BuildRequires: gmp-devel >= 3
BuildRequires: xz 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
@ -51,7 +53,8 @@ of linear inequalities.
%package devel %package devel
Summary: Development files for cddlib Summary: Development files for cddlib
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version, gmp-devel Requires: %lname = %version
Requires: gmp-devel
%description devel %description devel
cddlib is a C implementation of the Double Description Method of cddlib is a C implementation of the Double Description Method of
@ -72,8 +75,7 @@ make %{?_smp_mflags}
make install DESTDIR="%buildroot"; make install DESTDIR="%buildroot";
rm -f "%buildroot/%_libdir"/*.la; rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname