Accepting request 725975 from science
- Update to new upstream release 1.5.4 OBS-URL: https://build.opensuse.org/request/show/725975 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpfi?expand=0&rev=6
This commit is contained in:
commit
07b6b976e0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2383d457b208c6cd3cf2e66b69c4ce47477b2a0db31fbec0cd4b1ebaa247192f
|
|
||||||
size 447256
|
|
3
mpfi-1.5.4.tgz
Normal file
3
mpfi-1.5.4.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3b3938595d720af17973deaf727cfc0dd41c8b16c20adc103a970f4a43ae3a56
|
||||||
|
size 261696
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 24 20:24:49 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to new upstream release 1.5.4
|
||||||
|
* mp_exp_t replaced by mpfr_exp_t, mp_prec_t replaced by
|
||||||
|
mpfr_prec_t, mp_rnd_t replaced by mpfr_rnd_t GMP_RNDx
|
||||||
|
replaced by MPFR_RNDx.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 19 00:06:44 UTC 2018 - jengelh@inai.de
|
Fri Jan 19 00:06:44 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
41
mpfi.spec
41
mpfi.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mpfi
|
# spec file for package mpfi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 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
|
||||||
@ -12,27 +12,31 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: mpfi
|
Name: mpfi
|
||||||
%define lname libmpfi0
|
%define lname libmpfi0
|
||||||
Version: 1.5.3
|
Version: 1.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Multi-precision floating-point interval arithmetic computation library
|
Summary: Multi-precision floating-point interval arithmetic computation library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Url: http://mpfi.gforge.inria.fr/
|
URL: http://mpfi.gforge.inria.fr/
|
||||||
|
|
||||||
#SVN-Clone: svn://scm.gforge.inria.fr/svnroot/mpfi/trunk
|
#SVN-Clone: svn://scm.gforge.inria.fr/svnroot/mpfi/trunk
|
||||||
# Download depends on the file ID, not the filename!
|
# Download depends on the file ID, not the filename!
|
||||||
Source: https://gforge.inria.fr/frs/download.php/file/37331/mpfi-1.5.3.tar.bz2
|
Source: https://gforge.inria.fr/frs/download.php/file/38111/mpfi-1.5.4.tgz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
BuildRequires: gmp-devel >= 4.1.0
|
BuildRequires: gmp-devel >= 4.1.0
|
||||||
BuildRequires: mpfr-devel >= 2.4.2
|
BuildRequires: libtool
|
||||||
|
BuildRequires: makeinfo
|
||||||
|
BuildRequires: mpfr-devel >= 3
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
PreReq: %install_info_prereq
|
Requires(post): %install_info_prereq
|
||||||
|
Requires(postun): %install_info_prereq
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MPFI is a C library for arbitrary precision interval arithmetic with
|
MPFI is a C library for arbitrary precision interval arithmetic with
|
||||||
@ -68,22 +72,21 @@ intervals represented using MPFR reliable floating-point numbers.
|
|||||||
This subpackage provides the development headers and libraries for it.
|
This subpackage provides the development headers and libraries for it.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
./autogen.sh
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags};
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
|
||||||
make %{?_smp_mflags} check;
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
%make_install
|
||||||
make install DESTDIR="$b";
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
rm -f "$b/%_libdir"/*.la;
|
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%check
|
||||||
|
#make check #upstream broke it in 1.5.4
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
@ -93,11 +96,9 @@ rm -f "$b/%_libdir"/*.la;
|
|||||||
%install_info_delete --info-dir="%_infodir" "%_infodir/mpfi.info.gz"
|
%install_info_delete --info-dir="%_infodir" "%_infodir/mpfi.info.gz"
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libmpfi.so.0*
|
%_libdir/libmpfi.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/mpfi*.h
|
%_includedir/mpfi*.h
|
||||||
%_libdir/libmpfi.so
|
%_libdir/libmpfi.so
|
||||||
%_infodir/mpfi.info*
|
%_infodir/mpfi.info*
|
||||||
|
Loading…
Reference in New Issue
Block a user