|
|
585836 |
Summary: C library for multiple-precision floating-point computations
|
|
|
585836 |
Name: mpfr
|
|
|
585836 |
Version: 4.1.0
|
|
|
585836 |
Release: 7%{?dist}
|
|
|
585836 |
URL: https://www.mpfr.org/
|
|
|
585836 |
|
|
|
585836 |
License: LGPLv3+
|
|
|
585836 |
BuildRequires: gmp-devel gcc make
|
|
|
585836 |
|
|
|
585836 |
Source0: https://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
|
|
|
585836 |
|
|
|
585836 |
# Upstream post-release patches. This currently contains:
|
|
|
585836 |
# - decimal128-conv.patch
|
|
|
585836 |
# - random_deviate.patch
|
|
|
585836 |
# - set_z_2exp-overflow.patch
|
|
|
585836 |
# - prototypes.patch
|
|
|
585836 |
# - digamma-hugemem.patch
|
|
|
585836 |
# - digamma-interm-zero.patch
|
|
|
585836 |
# - jn-interm-zero.patch
|
|
|
585836 |
# - digamma-interm-zero2.patch
|
|
|
585836 |
# - jyn-asympt-interm-zero.patch
|
|
|
585836 |
Patch0: https://www.mpfr.org/%{name}-%{version}/allpatches
|
|
|
585836 |
|
|
|
585836 |
# This can be removed when F32 reaches EOL
|
|
|
585836 |
Obsoletes: mpfr3 < 4.0.0
|
|
|
585836 |
Provides: mpfr3 = %{version}-%{release}
|
|
|
585836 |
|
|
|
585836 |
%description
|
|
|
585836 |
The MPFR library is a C library for multiple-precision floating-point
|
|
|
585836 |
computations with "correct rounding". The MPFR is efficient and
|
|
|
585836 |
also has a well-defined semantics. It copies the good ideas from the
|
|
|
585836 |
ANSI/IEEE-754 standard for double-precision floating-point arithmetic
|
|
|
585836 |
(53-bit mantissa). MPFR is based on the GMP multiple-precision library.
|
|
|
585836 |
|
|
|
585836 |
%package devel
|
|
|
585836 |
Summary: Development files for the MPFR library
|
|
|
585836 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
585836 |
Requires: gmp-devel%{?_isa}
|
|
|
585836 |
|
|
|
585836 |
# This can be removed when F32 reaches EOL
|
|
|
585836 |
Obsoletes: mpfr3-devel < 4.0.0
|
|
|
585836 |
Provides: mpfr3-devel = %{version}-%{release}
|
|
|
585836 |
|
|
|
585836 |
%description devel
|
|
|
585836 |
Header files and documentation for using the MPFR
|
|
|
585836 |
multiple-precision floating-point library in applications.
|
|
|
585836 |
|
|
|
585836 |
If you want to develop applications which will use the MPFR library,
|
|
|
585836 |
you'll need to install the mpfr-devel package. You'll also need to
|
|
|
585836 |
install the mpfr package.
|
|
|
585836 |
|
|
|
585836 |
%package doc
|
|
|
585836 |
Summary: Documentation for the MPFR library
|
|
|
585836 |
License: GFDL
|
|
|
585836 |
BuildArch: noarch
|
|
|
585836 |
|
|
|
585836 |
%description doc
|
|
|
585836 |
Documentation for the MPFR library.
|
|
|
585836 |
|
|
|
585836 |
%prep
|
|
|
585836 |
%autosetup -p1
|
|
|
585836 |
|
|
|
585836 |
%build
|
|
|
585836 |
%configure --disable-assert --disable-static
|
|
|
585836 |
|
|
|
585836 |
# Get rid of undesirable hardcoded rpaths; workaround libtool reordering
|
|
|
585836 |
# -Wl,--as-needed after all the libraries.
|
|
|
585836 |
sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
585836 |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
585836 |
-e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \
|
|
|
585836 |
-i libtool
|
|
|
585836 |
|
|
|
585836 |
%make_build
|
|
|
585836 |
|
|
|
585836 |
%install
|
|
|
585836 |
%make_install
|
|
|
585836 |
cp -p PATCHES README %{buildroot}%{_pkgdocdir}
|
|
|
585836 |
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
585836 |
rm -f %{buildroot}%{_infodir}/dir
|
|
|
585836 |
|
|
|
585836 |
#these go into licenses, not doc
|
|
|
585836 |
rm -f %{buildroot}%{_pkgdocdir}/COPYING{,.LESSER}
|
|
|
585836 |
|
|
|
585836 |
%check
|
|
|
585836 |
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
|
|
585836 |
%make_build check
|
|
|
585836 |
|
|
|
585836 |
%files
|
|
|
585836 |
%license COPYING COPYING.LESSER
|
|
|
585836 |
%{_pkgdocdir}/BUGS
|
|
|
585836 |
%{_pkgdocdir}/NEWS
|
|
|
585836 |
%{_pkgdocdir}/PATCHES
|
|
|
585836 |
%{_pkgdocdir}/README
|
|
|
585836 |
%{_libdir}/libmpfr.so.6*
|
|
|
585836 |
|
|
|
585836 |
%files devel
|
|
|
585836 |
%{_libdir}/libmpfr.so
|
|
|
585836 |
%{_includedir}/mpfr.h
|
|
|
585836 |
%{_includedir}/mpf2mpfr.h
|
|
|
585836 |
%{_libdir}/pkgconfig/mpfr.pc
|
|
|
585836 |
|
|
|
585836 |
%files doc
|
|
|
585836 |
%{_pkgdocdir}/AUTHORS
|
|
|
585836 |
%{_pkgdocdir}/examples
|
|
|
585836 |
%{_pkgdocdir}/FAQ.html
|
|
|
585836 |
%{_pkgdocdir}/TODO
|
|
|
585836 |
%{_infodir}/mpfr.info*
|
|
|
585836 |
|
|
|
585836 |
%changelog
|
|
|
585836 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.1.0-7
|
|
|
585836 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
585836 |
Related: rhbz#1991688
|
|
|
585836 |
|
|
|
585836 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.1.0-6
|
|
|
585836 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
585836 |
|
|
|
585836 |
* Tue Mar 9 2021 Jerry James <loganjerry@gmail.com> - 4.1.0-5
|
|
|
585836 |
- Add upstream patches 8-9
|
|
|
585836 |
|
|
|
585836 |
* Wed Feb 17 2021 Jerry James <loganjerry@gmail.com> - 4.1.0-4
|
|
|
585836 |
- Add upstream patches 1-7
|
|
|
585836 |
|
|
|
585836 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Sat Jul 11 2020 Jerry James <loganjerry@gmail.com> - 4.1.0-1
|
|
|
585836 |
- Update to MPFR version 4.1.0
|
|
|
585836 |
- Drop all patches
|
|
|
585836 |
|
|
|
585836 |
* Mon Jun 29 2020 Jerry James <loganjerry@gmail.com> - 4.0.2-5
|
|
|
585836 |
- Add upstream patches 8 and 9
|
|
|
585836 |
|
|
|
585836 |
* Thu Apr 16 2020 Jerry James <loganjerry@gmail.com> - 4.0.2-4
|
|
|
585836 |
- Add upstream patches 2 through 7
|
|
|
585836 |
|
|
|
585836 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-3
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Fri Oct 11 2019 Jerry James <loganjerry@gmail.com> - 4.0.2-2
|
|
|
585836 |
- Drop the mpfr3 and mpfr3-devel subpackages
|
|
|
585836 |
|
|
|
585836 |
* Tue Oct 8 2019 Jerry James <loganjerry@gmail.com> - 4.0.2-1
|
|
|
585836 |
- Update to MPFR version 4.0.2 plus patch01
|
|
|
585836 |
- Make mpfr3 and mpfr3-devel subpackages for version 3.1.6
|
|
|
585836 |
- Add a -doc subpackage to hold the GFDL-licensed content
|
|
|
585836 |
- The main package license is LGPLv3+; the GPLv3+ content is not packaged
|
|
|
585836 |
- Drop unnecessary autoconf and libtool BRs
|
|
|
585836 |
- Drop explicit R on gmp; it is autogenerated
|
|
|
585836 |
- Drop info scriptlets; this version can never appear in Fedora < 32 or RHEL < 9
|
|
|
585836 |
- Drop ldconfig_scriptlets for the same reason
|
|
|
585836 |
- Make sure there are no rpaths and that -Wl,--as-needed takes effect
|
|
|
585836 |
- Do not use the %%doc macro; the files have already been copied
|
|
|
585836 |
|
|
|
585836 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-5
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-4
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Tue Oct 30 2018 Rex Dieter <rdieter@fedoraproject.org> - 3.1.6-3
|
|
|
585836 |
- update scriptlets (#1644106)
|
|
|
585836 |
- use %%make_build %%make_install
|
|
|
585836 |
|
|
|
585836 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-2
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Sun Feb 25 2018 James Paul Turner <jamesturner246@fedoraproject.org> - 3.1.6-1
|
|
|
585836 |
- Update to MPFR version 3.1.6
|
|
|
585836 |
- Use autosetup specfile macro for applying patches (patches 1 and 2 applied)
|
|
|
585836 |
- Removed iconv calls, as they were breaking .info files, which are now unicode
|
|
|
585836 |
resolves #1299649
|
|
|
585836 |
- Other minor cleanups
|
|
|
585836 |
- BuildRequire gcc per https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
|
|
|
585836 |
|
|
|
585836 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-6
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-5
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-4
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Sat Mar 4 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.5-3
|
|
|
585836 |
- Examples should be in devel
|
|
|
585836 |
- Minor cleanups
|
|
|
585836 |
|
|
|
585836 |
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 3.1.5-2
|
|
|
585836 |
- Add missing %%license macro
|
|
|
585836 |
|
|
|
585836 |
* Tue Sep 27 2016 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.5-1
|
|
|
585836 |
- rebase
|
|
|
585836 |
|
|
|
585836 |
* Tue Mar 08 2016 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.4-1
|
|
|
585836 |
- Rebase
|
|
|
585836 |
|
|
|
585836 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-4
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Thu Jan 21 2016 Dan Horák <dan[at]danny.cz> - 3.1.3-3
|
|
|
585836 |
- drop support for F<20
|
|
|
585836 |
|
|
|
585836 |
* Fri Oct 23 2015 David Sommerseth <davids@redhat.com> - 3.1.3-2
|
|
|
585836 |
- Fixed missing packaging of doc files
|
|
|
585836 |
|
|
|
585836 |
* Tue Jun 23 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.3-1
|
|
|
585836 |
- rebase to 3.1.3
|
|
|
585836 |
- limboverflow.patch already in tarball, dropped
|
|
|
585836 |
|
|
|
585836 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-9
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Fri Dec 12 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.2-8
|
|
|
585836 |
- added limboverflow.patch, rhbz#1171701, rhbz#1171710, there was one less limb allocated in strtofr
|
|
|
585836 |
|
|
|
585836 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-6
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-5
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Tue Aug 06 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 3.1.2-4
|
|
|
585836 |
- Install docs into unversioned docdir (Fix FTBFS RHBZ#992296).
|
|
|
585836 |
- Append --disable-static to %%configure.
|
|
|
585836 |
- Fix broken %%changelog date.
|
|
|
585836 |
- Remove stray cd ..
|
|
|
585836 |
|
|
|
585836 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-3
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Tue Jul 02 2013 Karsten Hopp <karsten@redhat.com> 3.1.2-2
|
|
|
585836 |
- bump release and rebuild to fix dependencies on PPC
|
|
|
585836 |
|
|
|
585836 |
* Fri Mar 22 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.2-1
|
|
|
585836 |
- Rebase to 3.1.2
|
|
|
585836 |
|
|
|
585836 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-2
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Thu Jul 26 2012 Peter Schiffer <pschiffe@redhat.com> - 3.1.1-1
|
|
|
585836 |
- resolves: #837563
|
|
|
585836 |
update to 3.1.1
|
|
|
585836 |
|
|
|
585836 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-3
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-2
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Thu Nov 10 2011 Peter Schiffer <pschiffe@redhat.com> - 3.1.0-1
|
|
|
585836 |
- resolves: #743237
|
|
|
585836 |
update to 3.1.0
|
|
|
585836 |
- removed compatibility symlinks and provides
|
|
|
585836 |
|
|
|
585836 |
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.0.0-4.2
|
|
|
585836 |
- rebuild with new gmp without compat lib
|
|
|
585836 |
|
|
|
585836 |
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 3.0.0-4.1
|
|
|
585836 |
- rebuild with new gmp
|
|
|
585836 |
|
|
|
585836 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-4
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Tue Dec 7 2010 Dan Horák <dan[at]danny.cz> 3.0.0-3
|
|
|
585836 |
- update the compat Provides for non-x86 arches
|
|
|
585836 |
|
|
|
585836 |
* Wed Dec 1 2010 Ivana Hutarova Varekova <varekova@redhat.com> 3.0.0-2
|
|
|
585836 |
- fix -devel description (see 603021#c3)
|
|
|
585836 |
|
|
|
585836 |
* Tue Nov 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> 3.0.0-1
|
|
|
585836 |
- update to 3.0.0
|
|
|
585836 |
- created links and provides to .1
|
|
|
585836 |
|
|
|
585836 |
* Fri Dec 18 2009 Ivana Hutarova Varekova <varekova@redhat.com> 2.4.2-1
|
|
|
585836 |
- update to 2.4.2
|
|
|
585836 |
|
|
|
585836 |
* Fri Nov 13 2009 Ivana Varekova <varekova@redhat.com> 2.4.1-5
|
|
|
585836 |
- fix 537328 - mpfr-devel should "Requires: gmp-devel"
|
|
|
585836 |
|
|
|
585836 |
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.4.1-4
|
|
|
585836 |
- Use lzma compressed upstream tarball.
|
|
|
585836 |
|
|
|
585836 |
* Mon Aug 10 2009 Ivana Varekova <varekova redhat com> 2.4.1-3
|
|
|
585836 |
- fix installation with --excludedocs option (#515958)
|
|
|
585836 |
|
|
|
585836 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Wed Mar 11 2009 Ivana Varekova <varekova@redhat.com> - 2.4.1-1
|
|
|
585836 |
- update to 2.4.1
|
|
|
585836 |
|
|
|
585836 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-2
|
|
|
585836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
585836 |
|
|
|
585836 |
* Wed Feb 4 2009 Ivana Varekova <varekova@redhat.com> - 2.4.0-1
|
|
|
585836 |
- update to 2.4.0
|
|
|
585836 |
|
|
|
585836 |
* Wed Oct 15 2008 Ivana Varekova <varekova@redhat.com> - 2.3.2-1
|
|
|
585836 |
- update to 2.3.2
|
|
|
585836 |
|
|
|
585836 |
* Mon Jul 21 2008 Ivana Varekova <varekova@redhat.com> - 2.3.1-1
|
|
|
585836 |
- update to 2.3.1
|
|
|
585836 |
|
|
|
585836 |
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.0-3
|
|
|
585836 |
- Autorebuild for GCC 4.3
|
|
|
585836 |
|
|
|
585836 |
* Fri Jan 18 2008 Ivana Varekova <varekova@redhat.com> 2.3.0-2
|
|
|
585836 |
- rebuilt
|
|
|
585836 |
|
|
|
585836 |
* Thu Sep 20 2007 Ivana Varekova <varekova@redhat.com> 2.3.0-1
|
|
|
585836 |
- update to 2.3.0
|
|
|
585836 |
- fix license flag
|
|
|
585836 |
|
|
|
585836 |
* Mon Aug 20 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-2
|
|
|
585836 |
- spec file cleanup (#253440)
|
|
|
585836 |
|
|
|
585836 |
* Tue Jan 16 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-1
|
|
|
585836 |
- started
|
|
|
585836 |
|