From: Michael Tremer Date: Sun, 23 Dec 2012 10:57:15 +0000 (+0100) Subject: ppl: Update to 1.0. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef85f13686852bc692e419879ccd3ed3d785fdfc;p=ipfire-3.x.git ppl: Update to 1.0. --- diff --git a/ppl/ppl.nm b/ppl/ppl.nm index a07cc99de..03d8b7c42 100644 --- a/ppl/ppl.nm +++ b/ppl/ppl.nm @@ -4,8 +4,8 @@ ############################################################################### name = ppl -version = 0.11.2 -release = 4 +version = 1.0 +release = 1 maintainer = Michael Tremer groups = Development/Libraries @@ -27,14 +27,14 @@ description applications using the PPL through its C and C++ interfaces. end -source_dl = -sources = %{thisapp}.tar.lzma +source_dl = ftp://ftp.cs.unipr.it/pub/ppl/releases/%{version}/ +sources = %{thisapp}.tar.xz build requires gcc-c++ - gmp-devel - m4 + gmp-devel >= 4.1.3 + m4 >= 1.4.8 end configure_options += \ @@ -43,17 +43,42 @@ build PARALLELISMFLAGS = - # The testsuite currently fails on x86_64. #test # make check #end + + install_cmds + # Create compat symlink. + ln -s libppl.so.12 %{BUILDROOT}%{libdir}/libppl.so.9 + end end packages package %{name} + package %{name}-compat + summary = Compat symlink for ppl-0.11. + description + This package pretends to ship libppl.so.9 for + compatibility reasons. + end + + # Provide the old version. + if "%{lib}" == "lib64" + provides += libppl.so.9()(64bit) + else + provides += libppl.so.9 + end + + files + %{libdir}/libppl.so.9 + end + end + package %{name}-devel template DEVEL + + requires += gmp-devel >= 4.1.3 end package %{name}-debuginfo