SHA256
1
0
forked from pool/givaro

- Update to new upstream release 4.0.1

OBS-URL: https://build.opensuse.org/package/show/science/givaro?expand=0&rev=11
This commit is contained in:
2016-03-12 21:44:36 +00:00
committed by Git OBS Bridge
parent 3b034f2d82
commit f00ee3b569
5 changed files with 45 additions and 14 deletions

BIN
givaro-4.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Mar 12 21:33:59 UTC 2016 - jengelh@inai.de
- Update to new upstream release 4.0.1
* This release is compatible with fflas-ffpack-2.2.0 and
linbox-1.4.0.
* Add pkgconfig file for givaro
-------------------------------------------------------------------
Sat Nov 14 10:21:24 UTC 2015 - jengelh@inai.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package givaro
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,8 @@
Name: givaro
%define lname libgivaro8
# givaro failed to update the SONAME in the past; continue verifying it
# moves in the future as needed.
Version: 4.0.0
%define lname libgivaro-4_0_1
Version: 4.0.1
Release: 0
Summary: C++ library for arithmetic and algebraic computations
License: CECILL-B
@@ -29,17 +27,17 @@ Url: http://givaro.forge.imag.fr/
#Git-Web: https://github.com/linbox-team/givaro
#Git-Clone: git://github.com/linbox-team/givaro
# For every version, the damn link changes. The basename is ignored, but what
# matters to the FRS is the file ID after "download.php". For example, /370
# will always pull givaro-3.7.2.tar.gz.
Source: https://forge.imag.fr/frs/download.php/672/givaro-4.0.0.tar.gz
Source: https://github.com/linbox-team/givaro/archive/v4.0.1.tar.gz
Patch1: givaro-doc-no-build-time.patch
Patch2: new-abi.diff
# Old doxygen does not properly handle symlink recursion
BuildRequires: doxygen >= 1.5.7.1
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gmp-devel >= 3.1.1
BuildRequires: graphviz
BuildRequires: libtool >= 2.2
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -109,11 +107,13 @@ the Givaro API.
%prep
%setup -q
%patch1 -p1
%patch -P 1 -P 2 -p1
%build
autoreconf -fi
%configure --disable-static --enable-doc --with-docdir="%_docdir/%name" \
--enable-silent-rules
chmod a+x givaro-config
make %{?_smp_mflags}
%install
@@ -127,7 +127,7 @@ rm -f "$b/%_libdir"/*.la
%files -n %lname
%defattr(-,root,root)
%_libdir/libgivaro.so.8*
%_libdir/libgivaro-4.0.1.so
%doc COPYRIGHT COPYING
%files devel
@@ -139,6 +139,7 @@ rm -f "$b/%_libdir"/*.la
%_includedir/gmp++/
%_includedir/recint/
%_libdir/libgivaro.so
%_libdir/pkgconfig/givaro.pc
%files doc
%defattr(-,root,root)

22
new-abi.diff Normal file
View File

@@ -0,0 +1,22 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2016-03-12 22:24:06.376559254 +0100
References: https://github.com/linbox-team/givaro/issues/7
Since upstream did not get it right, use -release as per the
tips in the openSUSE wiki on how to tackle that problem.
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: givaro-4.0.1/src/Makefile.am
===================================================================
--- givaro-4.0.1.orig/src/Makefile.am
+++ givaro-4.0.1/src/Makefile.am
@@ -20,6 +20,6 @@ libgivaro_la_LIBADD= \
kernel/gmp++/libgmppp.la kernel/bstruct/libgivbstruct.la kernel/integer/libgivinteger.la kernel/memory/libgivmemory.la kernel/rational/libgivrational.la kernel/system/libgivsystem.la kernel/field/libgivfield.la library/tools/libgivtools.la library/poly1/libgivpoly1.la
# soname of libgivaro
-libgivaro_la_LDFLAGS = -version-info 8:1:0
+libgivaro_la_LDFLAGS = -release ${PACKAGE_VERSION}
libgivaro_la_LDFLAGS+= -no-undefined
libgivaro_la_LDFLAGS+=$(LDFLAGS)

BIN
v4.0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.