|
|
|
@ -1,33 +1,26 @@
|
|
|
|
|
# build compat-libmpc for bootstrapping purposes
|
|
|
|
|
%global bootstrap 0
|
|
|
|
|
%global bootstrap 1
|
|
|
|
|
%global bootstrap_version 0.9
|
|
|
|
|
|
|
|
|
|
Summary: C library for multiple precision complex arithmetic
|
|
|
|
|
Name: libmpc
|
|
|
|
|
Version: 1.2.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.1.0
|
|
|
|
|
Release: 9.1%{?dist}
|
|
|
|
|
License: LGPLv3+
|
|
|
|
|
URL: http://www.multiprecision.org/mpc/
|
|
|
|
|
Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
|
|
|
|
|
%if 0%{?bootstrap}
|
|
|
|
|
Source1: https://ftp.gnu.org/gnu/mpc/mpc-%{bootstrap_version}.tar.gz
|
|
|
|
|
Source1: http://www.multiprecision.org/downloads/mpc-%{bootstrap_version}.tar.gz
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gmp-devel >= 5.0.0
|
|
|
|
|
BuildRequires: mpfr-devel >= 4.1.0
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: mpfr-devel
|
|
|
|
|
|
|
|
|
|
# This can be removed when F32 reaches EOL
|
|
|
|
|
Obsoletes: libmpc-mpfr3 < 1.1.0-7
|
|
|
|
|
Provides: libmpc-mpfr3 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%if 0%{?bootstrap} == 0
|
|
|
|
|
Obsoletes: compat-libmpc < %{version}-1
|
|
|
|
|
Provides: compat-libmpc = %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
Patch0: libmpc-fix-uninit-var.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
|
|
MPC is a C library for the arithmetic of complex numbers with
|
|
|
|
|
arbitrarily high precision and correct rounding of the result. It is
|
|
|
|
|
built upon and follows the same principles as Mpfr.
|
|
|
|
@ -38,10 +31,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: gmp-devel%{?_isa}
|
|
|
|
|
Requires: mpfr-devel%{?_isa}
|
|
|
|
|
|
|
|
|
|
# This can be removed when F32 reaches EOL
|
|
|
|
|
Obsoletes: libmpc-mpfr3-devel < 1.1.0-7
|
|
|
|
|
Provides: libmpc-mpfr3-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Header files and shared library symlinks for the MPC library.
|
|
|
|
|
|
|
|
|
@ -66,6 +55,7 @@ Contains the .so files for mpc version %{bootstrap-version}.
|
|
|
|
|
%if 0%{?bootstrap}
|
|
|
|
|
%setup -q -n mpc-%{version} -a 1
|
|
|
|
|
%endif
|
|
|
|
|
%patch0 -p1 -b .uninit~
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
@ -101,8 +91,8 @@ rm -fv %{buildroot}%{_infodir}/*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%make_install
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
rm -f %{buildroot}/%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
|
|
|
@ -127,60 +117,15 @@ make check
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Nov 13 2020 Jerry James <loganjerry@gmail.com> - 1.2.1-1
|
|
|
|
|
- Upgrade to libmpc version 1.2.1
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Oct 11 2019 Jerry James <loganjerry@gmail.com> - 1.1.0-7
|
|
|
|
|
- Drop the libmpc-mpfr3 and libmpc-mpfr3-devel subpackages
|
|
|
|
|
|
|
|
|
|
* Wed Oct 9 2019 Jerry James <loganjerry@gmail.com> - 1.1.0-6
|
|
|
|
|
- Build the main package against mpfr4
|
|
|
|
|
|
|
|
|
|
* Tue Oct 8 2019 Jerry James <loganjerry@gmail.com> - 1.1.0-5
|
|
|
|
|
- Make mpfr3 and mpfr3-devel subpackages
|
|
|
|
|
- Drop the compat-libmpc package; nothing in Fedora needs it
|
|
|
|
|
- Update project URL
|
|
|
|
|
- Add a -doc subpackage to hold the GFDL-licensed content
|
|
|
|
|
- Drop unnecessary texinfo BR
|
|
|
|
|
- Drop ldconfig_scriptlets; this version cannot appear in distros that need it
|
|
|
|
|
- Make sure there are no rpaths and that -Wl,--as-needed takes effect
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 15 2018 Serhii Turivnyi <sturivny@redhat.com> - 1.1.0-1
|
|
|
|
|
- Add tests according to the CI wiki. PR: https://src.fedoraproject.org/rpms/libmpc/pull-request/3
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.1.0-9.1
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Mon Feb 26 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.0-1
|
|
|
|
|
- Modernization of the spec file (remove Group, use new make and ldconfig macros,
|
|
|
|
|
add gcc to BuildRequires)
|
|
|
|
|
- Move build to %%build
|
|
|
|
|
* Fri Oct 09 2020 Marek Polacek <polacek@redhat.com> - 1.1.0-9.1
|
|
|
|
|
- apply my upstream patch to fix using an uninitialized value
|
|
|
|
|
|
|
|
|
|
* Mon Feb 26 2018 James Paul Turner <jamesturner246@fedoraproject.org> - 1.1.0-1
|
|
|
|
|
- Upgrade to libmpc version 1.1.0
|
|
|
|
|
- Fix broken compat package build
|
|
|
|
|
* Thu Oct 08 2020 Marek Polacek <polacek@redhat.com> - 1.1.0-9
|
|
|
|
|
- mpc-1.1.0 (#1835193)
|
|
|
|
|
- update the specfile from Fedora
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|