From: Michael Tremer Date: Wed, 7 Dec 2011 23:04:54 +0000 (+0100) Subject: mpfr: Update to 3.1.0. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4598ee07beb8d02589cead33a64169969b2135bb;p=ipfire-3.x.git mpfr: Update to 3.1.0. Add compat package to transit from 2.4.x versions. --- diff --git a/mpfr/mpfr.nm b/mpfr/mpfr.nm index da36d028b..87d4dbe63 100644 --- a/mpfr/mpfr.nm +++ b/mpfr/mpfr.nm @@ -4,7 +4,7 @@ ############################################################################### name = mpfr -version = 3.0.0 +version = 3.1.0 release = 1 groups = System/Libraries @@ -21,11 +21,11 @@ description library. end -source_dl = +source_dl = http://mpfr.loria.fr/mpfr-%{version}/ build requires - gmp-devel + gmp-devel>=4.3.2 end configure_options += \ @@ -34,6 +34,11 @@ build test make check end + + install_cmds + ln -svf libmpfr.so.4 %{BUILDROOT}/usr/lib/libmpfr.so.1 + ln -svf libmpfr.so.4.1.0 %{BUILDROOT}/usr/lib/libmpfr.so.1.2.2 + end end packages @@ -42,4 +47,14 @@ packages package %{name}-devel template DEVEL end + + package %{name}-compat + summary = Compat libraries of %{thisapp}. + + provides = libmpfr.so.1 + + files + /usr/lib/libmpfr.so.1* + end + end end