代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/mpfr 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: mpfr
Version: 4.2.0
Release: 3
Summary: A C library for multiple-precision floating-point computations
URL: http://www.mpfr.org/
License: LGPLv3+ and GPLv3+ and GFDL-1.2-only
BuildRequires: autoconf libtool gmp-devel gcc git
Requires: /sbin/ldconfig
Requires: gmp >= 4.2.3
Source0: http://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
Patch1: backport-allpatches.patch
%description
MPFR is a C library for arbitrary-precision binary floating-point computation
with correct rounding, based on Multi-Precision Library. The computation is
both efficient and has a well-defined semantics: the functions are completely
specified on all the possible operands and the results do not depend on the
platform. This is done by copying the ideas from the ANSI/IEEE-754 standard
for fixed-precision floating-point arithmetic (correct rounding and exceptions,
in particular)
%package devel
Summary: Development files for the MPFR library
Requires: %{name} = %{version}-%{release}
Requires: /sbin/install-info
Requires: gmp-devel
%description devel
Devel for %{name}
If you want to develop applications which will use the MPFR library,
you'll need to install the mpfr-devel package. You'll also need to
install the mpfr package.
%prep
%autosetup -p1
%build
%configure --disable-assert --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
rm -f $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING.LESSER
%check
make %{?_smp_mflags} check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
if [ -f %{_infodir}/mpfr.info.gz ]; then
/sbin/install-info %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
fi
%preun devel
if [ "$1" = 0 ]; then
if [ -f %{_infodir}/mpfr.info.gz ]; then
/sbin/install-info --delete %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
fi
fi
%files
%license COPYING COPYING.LESSER
%doc NEWS README AUTHORS BUGS TODO doc/FAQ.html
%{_libdir}/libmpfr.so.*
%files devel
%{_pkgdocdir}/examples
%{_libdir}/libmpfr.so
%{_includedir}/*.h
%{_infodir}/mpfr.info*
%{_libdir}/pkgconfig/mpfr.pc
%changelog
* Mon Nov 27 2023 Wenyu Liu<[email protected]> - 4.2.0-3
- Add upstream patch for 4.2.0.
* Fri Aug 4 2023 Wenyu Liu<[email protected]> - 4.2.0-2
- Modified a buggy test of the thousands separator.
* Fri Aug 4 2023 Wenyu Liu<[email protected]> - 4.2.0-1
- update to 4.2.0
* Thu Aug 4 2022 Chenyx <[email protected]> - 4.1.0-3
- License compliance rectification
* Fri Apr 01 2022 zhouwenpei<[email protected]> - 4.1.0-2
- delete old so file
* Fri Jul 24 2020 jinzhimin<[email protected]> - 4.1.0-1
- update to 4.1.0
* Tue Aug 13 2019 openEuler Buildteam <[email protected]> - 3.1.6-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。