- 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:
parent
3b034f2d82
commit
f00ee3b569
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:10c393ef9bb5eb7bf3809134a65d0815e7583de55514b56c6532d07ce50883f6
|
|
||||||
size 920437
|
|
@ -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
|
Sat Nov 14 10:21:24 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
23
givaro.spec
23
givaro.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package givaro
|
# 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
|
# 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
|
||||||
@ -17,10 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: givaro
|
Name: givaro
|
||||||
%define lname libgivaro8
|
%define lname libgivaro-4_0_1
|
||||||
# givaro failed to update the SONAME in the past; continue verifying it
|
Version: 4.0.1
|
||||||
# moves in the future as needed.
|
|
||||||
Version: 4.0.0
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ library for arithmetic and algebraic computations
|
Summary: C++ library for arithmetic and algebraic computations
|
||||||
License: CECILL-B
|
License: CECILL-B
|
||||||
@ -29,17 +27,17 @@ Url: http://givaro.forge.imag.fr/
|
|||||||
|
|
||||||
#Git-Web: https://github.com/linbox-team/givaro
|
#Git-Web: https://github.com/linbox-team/givaro
|
||||||
#Git-Clone: git://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
|
Source: https://github.com/linbox-team/givaro/archive/v4.0.1.tar.gz
|
||||||
# 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
|
|
||||||
Patch1: givaro-doc-no-build-time.patch
|
Patch1: givaro-doc-no-build-time.patch
|
||||||
|
Patch2: new-abi.diff
|
||||||
# Old doxygen does not properly handle symlink recursion
|
# Old doxygen does not properly handle symlink recursion
|
||||||
BuildRequires: doxygen >= 1.5.7.1
|
BuildRequires: doxygen >= 1.5.7.1
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gmp-devel >= 3.1.1
|
BuildRequires: gmp-devel >= 3.1.1
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
|
BuildRequires: libtool >= 2.2
|
||||||
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -109,11 +107,13 @@ the Givaro API.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch -P 1 -P 2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fi
|
||||||
%configure --disable-static --enable-doc --with-docdir="%_docdir/%name" \
|
%configure --disable-static --enable-doc --with-docdir="%_docdir/%name" \
|
||||||
--enable-silent-rules
|
--enable-silent-rules
|
||||||
|
chmod a+x givaro-config
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -127,7 +127,7 @@ rm -f "$b/%_libdir"/*.la
|
|||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libgivaro.so.8*
|
%_libdir/libgivaro-4.0.1.so
|
||||||
%doc COPYRIGHT COPYING
|
%doc COPYRIGHT COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -139,6 +139,7 @@ rm -f "$b/%_libdir"/*.la
|
|||||||
%_includedir/gmp++/
|
%_includedir/gmp++/
|
||||||
%_includedir/recint/
|
%_includedir/recint/
|
||||||
%_libdir/libgivaro.so
|
%_libdir/libgivaro.so
|
||||||
|
%_libdir/pkgconfig/givaro.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
22
new-abi.diff
Normal file
22
new-abi.diff
Normal 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)
|
3
v4.0.1.tar.gz
Normal file
3
v4.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:304cea7aaee0e4282c3a6a248dcfe1abb6d30eae6cc6c2f316de4da1cedaede9
|
||||||
|
size 637821
|
Loading…
Reference in New Issue
Block a user