|
|
@ -23,7 +23,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
# package version |
|
|
|
%define V_base 3.0.0 |
|
|
|
%define V_base 3.0.0 |
|
|
|
%define V_patch 07 |
|
|
|
%define V_patch 08 |
|
|
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
# package information |
|
|
|
Name: mpfr |
|
|
|
Name: mpfr |
|
|
@ -36,7 +36,7 @@ Class: CORE |
|
|
|
Group: Algorithm |
|
|
|
Group: Algorithm |
|
|
|
License: LGPL |
|
|
|
License: LGPL |
|
|
|
Version: %{V_base}.%{V_patch} |
|
|
|
Version: %{V_base}.%{V_patch} |
|
|
|
Release: 20101022 |
|
|
|
Release: 20101111 |
|
|
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
# list of sources |
|
|
|
Source0: http://www.mpfr.org/mpfr-current/mpfr-%{V_base}.tar.gz |
|
|
|
Source0: http://www.mpfr.org/mpfr-current/mpfr-%{V_base}.tar.gz |
|
|
@ -47,6 +47,7 @@ Patch3: http://www.mpfr.org/mpfr-current/patch04 |
|
|
|
Patch4: http://www.mpfr.org/mpfr-current/patch05 |
|
|
|
Patch4: http://www.mpfr.org/mpfr-current/patch05 |
|
|
|
Patch5: http://www.mpfr.org/mpfr-current/patch06 |
|
|
|
Patch5: http://www.mpfr.org/mpfr-current/patch06 |
|
|
|
Patch6: http://www.mpfr.org/mpfr-current/patch07 |
|
|
|
Patch6: http://www.mpfr.org/mpfr-current/patch07 |
|
|
|
|
|
|
|
Patch7: http://www.mpfr.org/mpfr-current/patch08 |
|
|
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
# build information |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101 |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101 |
|
|
@ -78,7 +79,7 @@ PreReq: gmp |
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup -q -n mpfr-%{V_base} |
|
|
|
%setup -q -n mpfr-%{V_base} |
|
|
|
%patch -p1 -P 0 1 2 3 4 5 6 |
|
|
|
%patch -p1 -P 0 1 2 3 4 5 6 7 |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
CC="%{l_cc}" \ |
|
|
|
CC="%{l_cc}" \ |
|
|
|