]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
cloog-ppl: Move to compat-cloog-ppl
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Sep 2014 14:39:14 +0000 (16:39 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Sep 2014 14:39:14 +0000 (16:39 +0200)
GCC 4.9 uses ISL as a backend for cloog. Therefore, we move
the cloog-ppl library into the compat section so that older
versions of GCC can still be used.

compat-cloog-ppl/compat-cloog-ppl.nm [moved from cloog-ppl/cloog-ppl.nm with 60% similarity]
compat-cloog-ppl/patches/cloog-ppl-0.15.11-ppl-verfix.patch [moved from cloog-ppl/patches/cloog-ppl-0.15.11-ppl-verfix.patch with 100% similarity]

similarity index 60%
rename from cloog-ppl/cloog-ppl.nm
rename to compat-cloog-ppl/compat-cloog-ppl.nm
index 9fed814a857bcc524bb6160ada62109a41fdda4f..42511e6d01e6d2d70b9f4459dc5e7147f7c74dd4 100644 (file)
@@ -3,21 +3,23 @@
 # Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-name       = cloog-ppl
+name       = compat-cloog-ppl
 version    = 0.15.11
 release    = 2
+thisapp    = cloog-ppl-%{version}
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = System/Libraries
 url        = http://www.cloog.org
 license    = GPLv2+
-summary    = The Chunky Loop Generator.
+summary    = The Chunky Loop Generator
 
 description
-       CLooG is a software which generates loops for scanning Z-polyhedra. That is, \
-       CLooG finds the code or pseudo-code where each integral point of one or more \
-       parametrized polyhedron or parametrized polyhedra union is reached. CLooG is \
-       designed to avoid control overhead and to produce a very efficient code.
+       CLooG is a software which generates loops for scanning Z-polyhedra.
+       That is, CLooG finds the code or pseudo-code where each integral point
+       of one or more parametrized polyhedron or parametrized polyhedra union
+       is reached. CLooG is designed to avoid control overhead and to produce
+       a very efficient code.
 end
 
 source_dl += ftp://gcc.gnu.org/pub/gcc/infrastructure/
@@ -42,13 +44,23 @@ build
        test
                make check
        end
+
+       install
+               mkdir -pv %{BUILDROOT}%{libdir}
+               install -v -m 755 .libs/libcloog.so.0.0.0 %{BUILDROOT}%{libdir}
+               ln -svf libcloog.so.0.0.0 %{BUILDROOT}%{libdir}/libcloog.so.0
+       end
 end
 
 packages
        package %{name}
+               provides
+                       cloog-ppl = %{thisver}
+               end
 
-       package %{name}-devel
-               template DEVEL
+               obsoletes
+                       cloog-ppl <= %{thisver}
+               end
        end
 
        package %{name}-debuginfo