|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_base 2.4.2 |
|
|
|
|
%define V_patch 1 |
|
|
|
|
%define V_patch 3 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: mpfr |
|
|
|
@ -36,11 +36,13 @@ Class: CORE
|
|
|
|
|
Group: Algorithm |
|
|
|
|
License: LGPL |
|
|
|
|
Version: %{V_base}.%{V_patch} |
|
|
|
|
Release: 20091212 |
|
|
|
|
Release: 20100124 |
|
|
|
|
|
|
|
|
|
# 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: http://www.mpfr.org/mpfr-current/patch03 |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
@ -76,7 +78,7 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n mpfr-%{V_base} |
|
|
|
|
%patch -p1 |
|
|
|
|
%patch -p1 -P 0 1 2 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|