Projects
Mega:23.03
mpfr
_service:tar_scm:mpfr.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:mpfr.spec of Package mpfr
Name: mpfr Version: 4.1.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 %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 * Thu Aug 4 2022 Chenyx <chenyixiong3@huawei.com> - 4.1.0-3 - License compliance rectification * Fri Apr 01 2022 zhouwenpei<zhouwenpei1@h-partners.com> - 4.1.0-2 - delete old so file * Fri Jul 24 2020 jinzhimin<jinzhimin2@huawei.com> - 4.1.0-1 - update to 4.1.0 * Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.6-3 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2