2007-01-16 00:25:46 +01:00
|
|
|
|
#
|
2008-09-13 13:23:51 +02:00
|
|
|
|
# spec file for package mpfr (Version 2.3.2)
|
2007-01-16 00:25:46 +01:00
|
|
|
|
#
|
2008-01-17 23:53:30 +01:00
|
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:25:46 +01:00
|
|
|
|
#
|
2008-08-08 17:22:44 +02:00
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2007-01-16 00:25:46 +01:00
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2008-10-23 01:27:56 +02:00
|
|
|
|
%define debug_package_requires libmpfr1 = %{version}-%{release}
|
2008-04-10 13:18:04 +02:00
|
|
|
|
|
2007-01-16 00:25:46 +01:00
|
|
|
|
Name: mpfr
|
|
|
|
|
BuildRequires: gmp-devel
|
2007-12-12 18:15:53 +01:00
|
|
|
|
License: LGPL v2.1 or later
|
2007-01-16 00:25:46 +01:00
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-10-03 01:07:23 +02:00
|
|
|
|
AutoReqProv: on
|
2007-01-16 00:25:46 +01:00
|
|
|
|
Requires: gmp
|
2008-09-13 13:23:51 +02:00
|
|
|
|
Version: 2.3.2
|
2008-11-28 15:40:00 +01:00
|
|
|
|
Release: 3
|
2007-10-03 01:07:23 +02:00
|
|
|
|
Summary: The MPFR multiple-precision floating-point library
|
|
|
|
|
Url: http://www.mpfr.org/
|
2008-02-01 19:48:02 +01:00
|
|
|
|
Source: mpfr-%{version}.tar.bz2
|
2007-01-16 00:25:46 +01:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The MPFR library is a C library for multiple-precision floating-point
|
|
|
|
|
computations with exact rounding (also called correct rounding). It is
|
|
|
|
|
based on the GMP multiple-precision library.
|
|
|
|
|
|
|
|
|
|
The main goal of MPFR is to provide a library for multiple-precision
|
|
|
|
|
floating-point computation which is both efficient and has a
|
|
|
|
|
well-defined semantics. It copies the good ideas from the ANSI/IEEE-754
|
|
|
|
|
standard for double-precision floating-point arithmetic (53-bit
|
|
|
|
|
mantissa).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-03 01:07:23 +02:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Guillaume Hanrot
|
|
|
|
|
Paul Zimmermann
|
|
|
|
|
Vincent Lef<EFBFBD>vre
|
|
|
|
|
Patrick P<EFBFBD>lissier
|
|
|
|
|
|
|
|
|
|
%package -n libmpfr1
|
2008-04-10 13:18:04 +02:00
|
|
|
|
License: LGPL v2.1 or later
|
2007-10-03 01:07:23 +02:00
|
|
|
|
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 libmpfr1
|
|
|
|
|
The MPFR library is a C library for multiple-precision floating-point
|
|
|
|
|
computations with exact rounding (also called correct rounding). It is
|
|
|
|
|
based on the GMP multiple-precision library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:25:46 +01:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Guillaume Hanrot
|
|
|
|
|
Paul Zimmermann
|
|
|
|
|
Vincent Lef<EFBFBD>vre
|
|
|
|
|
Patrick P<EFBFBD>lissier
|
|
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 13:18:04 +02:00
|
|
|
|
License: LGPL v2.1 or later
|
2007-10-03 01:07:23 +02:00
|
|
|
|
Summary: MPFR multiple-precision floating-point library development files
|
2007-01-16 00:25:46 +01:00
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-10-03 01:07:23 +02:00
|
|
|
|
Requires: libmpfr1 = %{version} gmp-devel
|
2007-01-16 00:25:46 +01:00
|
|
|
|
Provides: gmp-devel:/usr/lib/libmpfr.a
|
2007-10-03 01:07:23 +02:00
|
|
|
|
AutoReqProv: on
|
2007-01-16 00:25:46 +01:00
|
|
|
|
PreReq: %install_info_prereq
|
|
|
|
|
|
|
|
|
|
%description devel
|
2007-10-03 01:07:23 +02:00
|
|
|
|
MPFR multiple-precision floating-point library development files
|
2007-01-16 00:25:46 +01:00
|
|
|
|
|
2007-12-12 18:15:53 +01:00
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:25:46 +01:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Guillaume Hanrot
|
|
|
|
|
Paul Zimmermann
|
|
|
|
|
Vincent Lef<EFBFBD>vre
|
|
|
|
|
Patrick P<EFBFBD>lissier
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-09-13 13:23:51 +02:00
|
|
|
|
%setup -q
|
2007-01-16 00:25:46 +01:00
|
|
|
|
|
|
|
|
|
%build
|
2008-07-18 21:42:31 +02:00
|
|
|
|
%configure \
|
|
|
|
|
%if 0%{suse_version} > 1000
|
|
|
|
|
--enable-thread-safe \
|
|
|
|
|
%endif
|
|
|
|
|
--enable-shared
|
2007-01-16 00:25:46 +01:00
|
|
|
|
make %{?jobs:-j%jobs}
|
2007-10-03 01:07:23 +02:00
|
|
|
|
|
|
|
|
|
%check
|
2007-01-16 00:25:46 +01:00
|
|
|
|
make check %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%makeinstall
|
|
|
|
|
rm ${RPM_BUILD_ROOT}/%{_libdir}/lib*.la
|
|
|
|
|
|
2007-10-03 01:07:23 +02:00
|
|
|
|
%post -n libmpfr1
|
2007-01-16 00:25:46 +01:00
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
|
2007-10-03 01:07:23 +02:00
|
|
|
|
%postun -n libmpfr1
|
2007-01-16 00:25:46 +01:00
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2007-10-03 01:07:23 +02:00
|
|
|
|
%files -n libmpfr1
|
2007-01-16 00:25:46 +01:00
|
|
|
|
%defattr(-,root,root)
|
2007-10-03 01:07:23 +02:00
|
|
|
|
%{_libdir}/libmpfr.so.1*
|
2007-01-16 00:25:46 +01:00
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2007-10-03 01:07:23 +02:00
|
|
|
|
%doc AUTHORS NEWS COPYING.LIB
|
|
|
|
|
%doc %{_infodir}/mpfr.info.gz
|
|
|
|
|
%{_libdir}/libmpfr.a
|
|
|
|
|
%{_libdir}/libmpfr.so
|
|
|
|
|
%{_prefix}/include/mpf2mpfr.h
|
|
|
|
|
%{_prefix}/include/mpfr.h
|
2007-12-12 18:15:53 +01:00
|
|
|
|
|
2007-10-03 01:07:23 +02:00
|
|
|
|
%changelog
|
2008-11-28 15:40:00 +01:00
|
|
|
|
* Thu Nov 27 2008 ro@suse.de
|
|
|
|
|
- update baselibs.conf
|
2008-10-23 01:27:56 +02:00
|
|
|
|
* Wed Oct 22 2008 mrueckert@suse.de
|
|
|
|
|
- fix debug_packages_requires define
|
2008-09-13 13:23:51 +02:00
|
|
|
|
* Sat Sep 13 2008 rguenther@suse.de
|
|
|
|
|
- Update to version 2.3.2. Includes fixes for
|
|
|
|
|
* Functions mpfr_pow_ui, mpfr_pow_si and mpfr_pow_z (but not mpfr_pow)
|
|
|
|
|
on NaN^0 return NaN instead of 1.
|
|
|
|
|
* Underflow bug in function mpfr_div.
|
|
|
|
|
* Underflow bug due to double-rounding in functions mpfr_mul_2si,
|
|
|
|
|
mpfr_div_2si and mpfr_div_2ui.
|
|
|
|
|
* mpfr_exp problems.
|
|
|
|
|
* The overflow flag can be lost in many functions called with the
|
|
|
|
|
maximum exponent equal to MPFR_EMAX_MAX.
|
|
|
|
|
* assertion/overflow/underflow issues with MPFR's power functions
|
|
|
|
|
(mpfr_pow, mpfr_pow_ui, mpfr_pow_si, mpfr_pow_z).
|
|
|
|
|
* Inifinite looping in mpfr_hypot.
|
|
|
|
|
* Hide internal symbol mpfr_init_gmp_rand.
|
2008-08-08 17:22:44 +02:00
|
|
|
|
* Sat Aug 02 2008 rguenther@suse.de
|
|
|
|
|
- make mpfr-debuginfo depend on libmpfr1 instead of mpfr
|
2008-07-18 21:42:31 +02:00
|
|
|
|
* Tue Jul 15 2008 rguenther@suse.de
|
|
|
|
|
- allow build on SLES9 by disabling TLS usage there
|
2008-05-01 15:15:17 +02:00
|
|
|
|
* Tue Apr 29 2008 cthiel@suse.de
|
|
|
|
|
- obsolete mpfr-<arch> via baselibs.conf
|
2008-04-10 13:18:04 +02:00
|
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
|
for multilib support
|
2008-02-01 19:48:02 +01:00
|
|
|
|
* Tue Jan 29 2008 rguenther@suse.de
|
|
|
|
|
- Update to final version 2.3.1.
|
|
|
|
|
* Changes in the behavior of mpfr_strtofr and in its documentation
|
|
|
|
|
concerning particular cases where the code and the documentation
|
|
|
|
|
did not match.
|
|
|
|
|
* Bug fixes; see <http://www.mpfr.org/mpfr-2.3.0/#bugs>.
|
|
|
|
|
* Configure test for TLS support.
|
|
|
|
|
* Improved MPFR manual.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Sun Jan 13 2008 rguenther@suse.de
|
|
|
|
|
- Update to 2.3.1 release candidate 1.
|
|
|
|
|
* Fixes various bugs.
|
|
|
|
|
* Wed Dec 12 2007 rguenther@suse.de
|
2007-12-12 18:15:53 +01:00
|
|
|
|
- Apply bugfixes from upstream, up to patch 4. [#343720]
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Tue Oct 02 2007 ro@suse.de
|
2007-10-03 01:07:23 +02:00
|
|
|
|
- added provides mpfr to libmpfr1 package
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Wed Aug 29 2007 rguenther@suse.de
|
2007-10-03 01:07:23 +02:00
|
|
|
|
- New upstream version 2.3.0.
|
|
|
|
|
* New functions mpfr_j0, mpfr_j1, mpfr_jn, mpfr_y0, mpfr_y1, mpfr_yn,
|
|
|
|
|
mpfr_lgamma, mpfr_remainder, mpfr_remquo, mpfr_fms, mpfr_signbit,
|
|
|
|
|
mpfr_setsign, mpfr_copysign, mpfr_get_patches.
|
|
|
|
|
* Improved testsuite.
|
|
|
|
|
* Bug fixes.
|
|
|
|
|
- Rename shared library package to libmfpr1 according to policy.
|
|
|
|
|
- Move AUTHORS and NEWS to mpfr-devel package.
|
|
|
|
|
- Package COPYING.LIB.
|
|
|
|
|
- Do not package CVS ChangeLog and README files.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Wed Nov 29 2006 rguenther@suse.de
|
2007-01-16 00:25:46 +01:00
|
|
|
|
- New upstream version 2.2.1.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Mon Oct 09 2006 rguenther@suse.de
|
2007-01-16 00:25:46 +01:00
|
|
|
|
- Apply bugfixes from upstream, up to patch 16.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Wed Jun 07 2006 rguenther@suse.de
|
2007-01-16 00:25:46 +01:00
|
|
|
|
- Apply bugfixes from upstream, up to patch 12.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Fri May 26 2006 rguenther@suse.de
|
2007-01-16 00:25:46 +01:00
|
|
|
|
- Fix the real bug, re-enable testsuite on s390.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Fri May 26 2006 rguenther@suse.de
|
2007-01-16 00:25:46 +01:00
|
|
|
|
- Skip testsuite for s390.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Mon May 15 2006 rguenther@suse.de
|
2007-01-16 00:25:46 +01:00
|
|
|
|
- Add provides to mpfr-devel to fix updating from gmp-devel.
|
2008-01-17 23:53:30 +01:00
|
|
|
|
* Sat May 13 2006 rguenther@suse.de
|
2007-01-16 00:25:46 +01:00
|
|
|
|
- New packages mpfr and mpfr-devel split from the gmp package as
|
|
|
|
|
gmp no longer comes with the mpfr library included. Version 2.2.0.
|