From 1cfabbd83fa1d22b7320ab96c988acc82096fce1c24fdac2b85ab6f27b5813ff Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 2 Oct 2007 23:07:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpfr?expand=0&rev=2 --- mpfr-2.2.1.tar.bz2 | 3 -- mpfr-2.3.0.tar.bz2 | 3 ++ mpfr.changes | 19 +++++++++++ mpfr.spec | 85 +++++++++++++++++++++++++++++++++------------- 4 files changed, 83 insertions(+), 27 deletions(-) delete mode 100644 mpfr-2.2.1.tar.bz2 create mode 100644 mpfr-2.3.0.tar.bz2 diff --git a/mpfr-2.2.1.tar.bz2 b/mpfr-2.2.1.tar.bz2 deleted file mode 100644 index 7b0a3e6..0000000 --- a/mpfr-2.2.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92e2fea0eefd3d50b8e762334326657bfc5be9a6bda58cfa724b2a5cba9f65e4 -size 787634 diff --git a/mpfr-2.3.0.tar.bz2 b/mpfr-2.3.0.tar.bz2 new file mode 100644 index 0000000..ce83f13 --- /dev/null +++ b/mpfr-2.3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:359f0d344f92d1f145ddcd37adf54f9b8069aa2ce89c4a19603d080ef17d2d48 +size 872947 diff --git a/mpfr.changes b/mpfr.changes index 721a943..b06fabb 100644 --- a/mpfr.changes +++ b/mpfr.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Oct 2 10:10:32 CEST 2007 - ro@suse.de + +- added provides mpfr to libmpfr1 package + +------------------------------------------------------------------- +Wed Aug 29 15:44:37 CEST 2007 - rguenther@suse.de + +- 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. + ------------------------------------------------------------------- Wed Nov 29 12:06:59 CET 2006 - rguenther@suse.de diff --git a/mpfr.spec b/mpfr.spec index 2829c51..7c0c915 100644 --- a/mpfr.spec +++ b/mpfr.spec @@ -1,7 +1,7 @@ # -# spec file for package mpfr (Version 2.2.1) +# spec file for package mpfr (Version 2.3.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,14 +12,14 @@ Name: mpfr BuildRequires: gmp-devel -License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +License: LGPL v2 or later Group: Development/Libraries/C and C++ -Autoreqprov: on +AutoReqProv: on Requires: gmp -Version: 2.2.1 -Release: 2 -Summary: The MPFR library for multiple-precision floating-point computations with exact rounding -URL: http://www.mpfr.org/ +Version: 2.3.0 +Release: 3 +Summary: The MPFR multiple-precision floating-point library +Url: http://www.mpfr.org/ Source: mpfr-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,16 +43,38 @@ Authors: Vincent Lefèvre Patrick Pélissier -%package devel -Summary: Development package for the MPFR multiple-precision floating-point computation library +%package -n libmpfr1 +Summary: MPFR multiple-precision floating-point computation shared library Group: Development/Libraries/C and C++ -Requires: mpfr = %{version} gmp-devel +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. + + + +Authors: +-------- + Guillaume Hanrot + Paul Zimmermann + Vincent Lefèvre + Patrick Pélissier + +%package devel +Summary: MPFR multiple-precision floating-point library development files +Group: Development/Libraries/C and C++ +Requires: libmpfr1 = %{version} gmp-devel Provides: gmp-devel:/usr/lib/libmpfr.a -Autoreqprov: on +AutoReqProv: on PreReq: %install_info_prereq %description devel -Development package for the MPFR multiple-precision floating-point computation library +MPFR multiple-precision floating-point library development files Authors: -------- @@ -67,19 +89,21 @@ Authors: %build %configure --enable-shared --enable-thread-safe make %{?jobs:-j%jobs} + +%check make check %{?jobs:-j%jobs} %install %makeinstall rm ${RPM_BUILD_ROOT}/%{_libdir}/lib*.la -%post +%post -n libmpfr1 %run_ldconfig %post devel %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%postun +%postun -n libmpfr1 %run_ldconfig %postun devel @@ -88,19 +112,32 @@ rm ${RPM_BUILD_ROOT}/%{_libdir}/lib*.la %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n libmpfr1 %defattr(-,root,root) -%doc AUTHORS README NEWS ChangeLog -%{_libdir}/lib*.so.* +%{_libdir}/libmpfr.so.1* %files devel %defattr(-,root,root) -%doc %{_infodir}/mpfr.info*.gz -%{_libdir}/lib*.a -%{_libdir}/lib*.so -/usr/include/* - -%changelog -n mpfr +%doc AUTHORS NEWS COPYING.LIB +%doc %{_infodir}/mpfr.info.gz +%{_libdir}/libmpfr.a +%{_libdir}/libmpfr.so +%{_prefix}/include/mpf2mpfr.h +%{_prefix}/include/mpfr.h +%changelog +* Tue Oct 02 2007 - ro@suse.de +- added provides mpfr to libmpfr1 package +* Wed Aug 29 2007 - rguenther@suse.de +- 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. * Wed Nov 29 2006 - rguenther@suse.de - New upstream version 2.2.1. * Mon Oct 09 2006 - rguenther@suse.de