Compare commits
11 Commits
4dd2f7d567
...
22db00c195
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22db00c195 | ||
|
|
1ada723176 | ||
|
|
69aed19ee2 | ||
|
|
a0ad2e055b | ||
|
|
004acf82ce | ||
|
|
5b72a2a2cb | ||
|
|
90de0bfc69 | ||
|
|
36d876e495 | ||
|
|
748b550e57 | ||
|
|
181bc74d04 | ||
|
|
158faac391 |
Binary file not shown.
BIN
mpfr-4.2.1.tar.xz
Normal file
BIN
mpfr-4.2.1.tar.xz
Normal file
Binary file not shown.
62
mpfr.spec
62
mpfr.spec
@ -1,14 +1,14 @@
|
|||||||
Name: mpfr
|
Name: mpfr
|
||||||
Version: 4.1.0
|
Version: 4.2.1
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: A C library for multiple-precision floating-point computations
|
Summary: A C library for multiple-precision floating-point computations
|
||||||
URL: http://www.mpfr.org/
|
URL: https://www.mpfr.org/
|
||||||
License: LGPLv3+ and GPLv3+ and GFDL
|
License: LGPL-3.0-or-later and GPL-3.0-or-later and GFDL-1.2-only
|
||||||
BuildRequires: autoconf libtool gmp-devel gcc git
|
BuildRequires: gcc make
|
||||||
Requires: /sbin/ldconfig
|
BuildRequires: gmp-devel >= 1:5.0
|
||||||
Requires: gmp >= 4.2.3
|
Requires: gmp >= 1:5.0
|
||||||
|
|
||||||
Source0: http://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
|
Source0: https://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MPFR is a C library for arbitrary-precision binary floating-point computation
|
MPFR is a C library for arbitrary-precision binary floating-point computation
|
||||||
@ -22,8 +22,6 @@ in particular)
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the MPFR library
|
Summary: Development files for the MPFR library
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: /sbin/install-info
|
|
||||||
Requires: gmp-devel
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Devel for %{name}
|
Devel for %{name}
|
||||||
@ -37,33 +35,17 @@ install the mpfr package.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-assert --disable-static
|
%configure --disable-assert --disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la
|
%delete_la
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING.LESSER
|
rm -f $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING.LESSER
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build 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
|
%files
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
@ -78,6 +60,28 @@ fi
|
|||||||
%{_libdir}/pkgconfig/mpfr.pc
|
%{_libdir}/pkgconfig/mpfr.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 06 2024 Funda Wang <fundawang@yeah.net> - 4.2.1-2
|
||||||
|
- Cleanup spec
|
||||||
|
- bump epoch for gmp package
|
||||||
|
|
||||||
|
* Mon Feb 26 2024 Liu Chao <liuchao173@huawei.com> - 4.2.1-1
|
||||||
|
- Upgrade to 4.2.1
|
||||||
|
- Bug fixes
|
||||||
|
- Improved MPFR manual
|
||||||
|
- Configure tests
|
||||||
|
|
||||||
|
* Mon Nov 27 2023 Wenyu Liu<liuwenyu7@huawei.com> - 4.2.0-3
|
||||||
|
- Add upstream patch for 4.2.0.
|
||||||
|
|
||||||
|
* Fri Aug 4 2023 Wenyu Liu<liuwenyu7@huawei.com> - 4.2.0-2
|
||||||
|
- Modified a buggy test of the thousands separator.
|
||||||
|
|
||||||
|
* Fri Aug 4 2023 Wenyu Liu<liuwenyu7@huawei.com> - 4.2.0-1
|
||||||
|
- update to 4.2.0
|
||||||
|
|
||||||
|
* 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
|
* Fri Apr 01 2022 zhouwenpei<zhouwenpei1@h-partners.com> - 4.1.0-2
|
||||||
- delete old so file
|
- delete old so file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user