- Update to version 3.1.0.
* The mpfr_urandom and mpfr_urandomb functions now return identical values on processors with different word size. * Speed improvement for the mpfr_sqr and mpfr_div functions using Mulders' algorithm. * Much faster formatted output (mpfr_printf, etc.) with %Rg and similar. * New divide-by-zero exception (flag) and associated functions. - Remove bogus provides/obsoletes for old shared library version. - Fix license, it is LGPL v3 or later. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=16
This commit is contained in:
50
mpfr.spec
50
mpfr.spec
@@ -21,16 +21,17 @@
|
||||
|
||||
Name: mpfr
|
||||
BuildRequires: gmp-devel
|
||||
License: LGPLv2.1+
|
||||
License: LGPLv3+
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
Version: 3.0.1
|
||||
Version: 3.1.0
|
||||
Release: 1
|
||||
Summary: The MPFR multiple-precision floating-point library
|
||||
Url: http://www.mpfr.org/
|
||||
Source: mpfr-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch1: %{name}-%{version}-patch01.diff
|
||||
|
||||
%description
|
||||
The MPFR library is a C library for multiple-precision floating-point
|
||||
@@ -44,22 +45,11 @@ standard for double-precision floating-point arithmetic (53-bit
|
||||
mantissa).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guillaume Hanrot
|
||||
Paul Zimmermann
|
||||
Vincent Lef<EFBFBD>vre
|
||||
Patrick P<EFBFBD>lissier
|
||||
|
||||
%package -n libmpfr4
|
||||
License: LGPLv2.1+
|
||||
License: LGPLv3+
|
||||
Summary: MPFR multiple-precision floating-point computation shared library
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
# in openSUSE 10.2 and 10.3 the shared library was in the mpfr package itself
|
||||
Provides: mpfr = 2.3.0
|
||||
Obsoletes: mpfr < 2.3.0
|
||||
|
||||
%description -n libmpfr4
|
||||
The MPFR library is a C library for multiple-precision floating-point
|
||||
@@ -67,20 +57,11 @@ computations with exact rounding (also called correct rounding). It is
|
||||
based on the GMP multiple-precision library.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guillaume Hanrot
|
||||
Paul Zimmermann
|
||||
Vincent Lef<EFBFBD>vre
|
||||
Patrick P<EFBFBD>lissier
|
||||
|
||||
%package devel
|
||||
License: LGPLv2.1+
|
||||
License: LGPLv3+
|
||||
Summary: MPFR multiple-precision floating-point library development files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libmpfr4 = %{version} gmp-devel
|
||||
Provides: gmp-devel:/usr/lib/libmpfr.a
|
||||
AutoReqProv: on
|
||||
PreReq: %install_info_prereq
|
||||
|
||||
@@ -88,23 +69,16 @@ PreReq: %install_info_prereq
|
||||
MPFR multiple-precision floating-point library development files
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guillaume Hanrot
|
||||
Paul Zimmermann
|
||||
Vincent Lef<EFBFBD>vre
|
||||
Patrick P<EFBFBD>lissier
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%if 0%{suse_version} > 1000
|
||||
%ifnarch %sparc hppa
|
||||
%ifarch %sparc hppa
|
||||
--disable-thread-safe \
|
||||
%else
|
||||
--enable-thread-safe \
|
||||
%endif
|
||||
%endif
|
||||
--enable-shared \
|
||||
--docdir=%{_docdir}/mpfr
|
||||
@@ -117,14 +91,12 @@ make check %{?_smp_mflags}
|
||||
%makeinstall
|
||||
rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
|
||||
|
||||
%post -n libmpfr4
|
||||
%run_ldconfig
|
||||
%post -n libmpfr4 -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%postun -n libmpfr4
|
||||
%run_ldconfig
|
||||
%postun -n libmpfr4 -p /sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
Reference in New Issue
Block a user