2007-01-16 00:25:46 +01:00
|
|
|
|
#
|
2008-01-17 23:53:30 +01:00
|
|
|
|
# spec file for package mpfr (Version 2.3.1)
|
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
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
|
#
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
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-01-17 23:53:30 +01:00
|
|
|
|
Version: 2.3.1
|
2008-07-18 21:42:31 +02:00
|
|
|
|
Release: 6
|
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-02-01 19:48:02 +01:00
|
|
|
|
%setup -q -n mpfr-2.3.1
|
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-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.
|