Summary: C library for multiple precision complex arithmetic Name: libmpc Version: 1.3.1 Release: 2%{?_dist_release} Group: system Vendor: Project Vine Distribution: Vine Linux License: LGPLv3+ URL: http://www.multiprecision.org/ Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gmp-devel >= 4.3.2 BuildRequires: mpfr-devel >= 2.4.2 BuildRequires: grep BuildRequires: texinfo %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. %package devel Summary: Header and shared development libraries for MPC Group: programming Requires: %{name} = %{version}-%{release} Requires: gmp-devel Requires: mpfr-devel %description devel Header files and shared object symlinks for MPC is a C library. %debug_package %prep %setup -q -n mpc-%{version} %build export CPPFLAGS="%{optflags} -std=gnu99" export CFLAGS="%{optflags} -std=gnu99" export EGREP=egrep %configure --disable-static make %{?_smp_mflags} %check make check %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm -f %{buildroot}/%{_libdir}/libmpc.{l,}a rm -f %{buildroot}/%{_infodir}/dir %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %license COPYING.LESSER %doc README NEWS %{_libdir}/libmpc.so.* %files devel %defattr(-,root,root,-) %{_libdir}/libmpc.so %{_includedir}/mpc.h %{_infodir}/*.info* %changelog * Sun Jun 09 2024 Tomohiro "Tomo-p" KATO 1.3.1-2 - rebuilt with gcc-14.1.1. * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO 1.3.1-1 - new upstream release. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO 1.1.0-1 - new upstream release. * Fri May 20 2016 Yoji TOYODA 1.0.3-1 - updated to 1.0.3 * Fri Sep 12 2014 Ryoichi INAGAKI 1.0.2-1 - updated to 1.0.2 - change Group to System Environment/Libraries (libmpc) * Mon Nov 04 2013 Yoji TOYODA - 1.0.1-1 - update to 1.0.1 * Tue Nov 01 2011 NAKAMURA Kenta - 0.9-2 - initial build for Vine Linux * Wed Jun 22 2011 - 0.9-1 - Upstream 0.9 * Tue Feb 08 2011 Fedora Release Engineering - 0.8.3-0.3.svn855 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Nov 30 2010 Petr Machata - 0.8.3-0.2.svn855 - Bump for rebuild against the new mpfr * Fri Nov 19 2010 Petr Machata - 0.8.3-0.1.svn855 - Devel updates (to-be-0.8.3, SVN release 855) - New functions mpc_set_dc, mpc_set_ldc, mpc_get_dc, mpc_get_ldc - Speed-up mpc_pow_si and mpc_pow_z - Bug fixes in trigonometric functions, exp, sqrt - Upstream 0.8.2 - Speed-up mpc_pow_ui - Adjust BuildRequires - Resolves: #653931 * Wed Jan 20 2010 Petr Machata - 0.8.1-1 - Upstream 0.8.1 - acosh, asinh, atanh: swap of precisions between real and imaginary parts - atan: memory leak - log: wrong ternary value in data file; masked by bug in Mpfr 2.4.1 - Resolves: #555471 FTBFS libmpc-0.8-3.fc13 * Fri Nov 13 2009 Petr Machata - 0.8-3 - Require mpfr-devel, gmp-devel in -devel subpackage - Don't pass --entry to install-info * Thu Nov 12 2009 Petr Machata - 0.8-2 - Rename the package to libmpc, it's a better choice of name - %%preun should uninstall mpc's info page, not make's - Move info page to -devel - BR on -devel packages - Drop postscript documentation * Thu Nov 12 2009 Petr Machata - 0.8-1 - Initial package.