From c38e9c781a415341d9a72c9659d195ca5c46291e Mon Sep 17 00:00:00 2001 From: Dmitrii Tochanskii Date: Fri, 17 Apr 2026 16:25:34 +0300 Subject: [PATCH] libmpc 1.4.1 --- libmpc.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 libmpc.spec diff --git a/libmpc.spec b/libmpc.spec new file mode 100644 index 0000000..8473d21 --- /dev/null +++ b/libmpc.spec @@ -0,0 +1,41 @@ +Name: libmpc +Version: 1.4.1 +Release: 1%{?dist} +Summary: C library for the arithmetic of complex numbers + +License: GPL +URL: https://www.multiprecision.org/mpc +Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.xz + +BuildRequires: gcc gmp-devel mpfr-devel +Requires: bash + +%description + + +%prep +%autosetup -n mpc-%{version} + + +%build +%configure +%make_build + + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%{?ldconfig_scriptlets} + + +%files +%{_libdir} +%{_includedir} +%{_datadir} + + +%changelog +* Fri Apr 17 2026 Dmitrii Tochanskii +-