|
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_base 3.1.5 |
|
|
|
|
%define V_patch 02 |
|
|
|
|
%define V_patch 08 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: mpfr |
|
|
|
|
@ -36,13 +36,19 @@ Class: CORE
|
|
|
|
|
Group: Algorithm |
|
|
|
|
License: LGPL |
|
|
|
|
Version: %{V_base}.%{V_patch} |
|
|
|
|
Release: 20161220 |
|
|
|
|
Release: 20170607 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.mpfr.org/mpfr-current/mpfr-%{V_base}.tar.gz |
|
|
|
|
Patch0: http://www.mpfr.org/mpfr-current/patch01 |
|
|
|
|
Patch1: http://www.mpfr.org/mpfr-current/patch02 |
|
|
|
|
Patch2: mpfr.patch |
|
|
|
|
Patch2: http://www.mpfr.org/mpfr-current/patch03 |
|
|
|
|
Patch3: http://www.mpfr.org/mpfr-current/patch04 |
|
|
|
|
Patch4: http://www.mpfr.org/mpfr-current/patch05 |
|
|
|
|
Patch5: http://www.mpfr.org/mpfr-current/patch06 |
|
|
|
|
Patch6: http://www.mpfr.org/mpfr-current/patch07 |
|
|
|
|
Patch7: http://www.mpfr.org/mpfr-current/patch08 |
|
|
|
|
Patch8: mpfr.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
@ -76,7 +82,13 @@ PreReq: gmp
|
|
|
|
|
%setup -q -n mpfr-%{V_base} |
|
|
|
|
%patch -p1 -P 0 |
|
|
|
|
%patch -p1 -P 1 |
|
|
|
|
%patch -p0 -P 2 |
|
|
|
|
%patch -p1 -P 2 |
|
|
|
|
%patch -p1 -P 3 |
|
|
|
|
%patch -p1 -P 4 |
|
|
|
|
%patch -p1 -P 5 |
|
|
|
|
%patch -p1 -P 6 |
|
|
|
|
%patch -p1 -P 7 |
|
|
|
|
%patch -p0 -P 8 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
|