]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - mpfr/mpfr.nm
mpfr: Move mpfr-compat package into own build file.
[people/ms/ipfire-3.x.git] / mpfr / mpfr.nm
index 0615b74b04337e97856f1adc0a494884f953d826..981bd8f13908636698e44b8ac8d875e3048981e7 100644 (file)
@@ -4,10 +4,8 @@
 ###############################################################################
 
 name       = mpfr
-version    = 3.1.0
-release    = 2
-
-compat_version = 2.4.2
+version    = 3.1.2
+release    = 1
 
 groups     = System/Libraries
 url        = http://www.mpfr.org/
@@ -24,41 +22,20 @@ description
 end
 
 source_dl  = http://mpfr.loria.fr/mpfr-%{version}/
-sources   += %{name}-%{compat_version}.tar.bz2
 
 build
        requires
-               gmp-devel>=4.3.2
+               gmp-devel >= 4.3.2
        end
 
        configure_options += \
                --enable-thread-safe \
                --disable-assert
 
-       build_cmds
-
-               cd %{DIR_SRC}/%{name}-%{compat_version}
-               ./configure \
-                       %{configure_options}
-
-               export LD_LIBRARY_PATH=$(pwd)/.libs
-               make %{PARALLELISMFLAGS}
-       end
-
        test
-               export LD_LIBRARY_PATH=$(pwd)/.libs
-               make check
-
-               cd %{DIR_SRC}/%{name}-%{compat_version}
-               export LD_LIBRARY_PATH=$(pwd)/.libs
+               export LD_LIBRARY_PATH=$(pwd)/src/.libs
                make check
        end
-
-       install_cmds
-               cd %{DIR_SRC}/%{name}-%{compat_version}
-               install -m 644 .libs/libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}
-               ln -svf libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}/libmpfr.so.1
-       end
 end
 
 packages
@@ -68,14 +45,6 @@ packages
                template DEVEL
        end
 
-       package %{name}-compat
-               summary = Compat libraries of %{thisapp}.
-
-               files
-                       %{libdir}/libmpfr.so.1*
-               end
-       end
-
        package %{name}-debuginfo
                template DEBUGINFO
        end