]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
mpfr: Update to 3.1.0.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Dec 2011 23:04:54 +0000 (00:04 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Dec 2011 23:04:54 +0000 (00:04 +0100)
Add compat package to transit from 2.4.x versions.

mpfr/mpfr.nm

index da36d028b346deb8d04c8a87fe5462604a62b9ae..87d4dbe63552e40e4dc749016143f6da61064a2d 100644 (file)
@@ -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