commit 1870ed592ed9992b60edd84d2fef1144887b0ff5 Author: Dmitrii Tochanskii Date: Fri Apr 17 16:41:58 2026 +0300 libmpfr 4.2.2 diff --git a/libmpfr.spec b/libmpfr.spec new file mode 100644 index 0000000..fd4c482 --- /dev/null +++ b/libmpfr.spec @@ -0,0 +1,38 @@ +Name: libmpfr +Version: 4.2.2 +Release: 1%{?dist} +Summary: C library for multiple-precision floating-point computations with correct rounding + +License: GPL +URL: https://www.mpfr.org +Source0: https://www.mpfr.org/mpfr-current/mpfr-%{version}.tar.gz + +BuildRequires: gcc +Requires: bash + +%description + +%prep +%autosetup -n mpfr-%{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 +-