summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-07-07 17:44:23 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-07-07 17:44:23 -0400
commit764b7692a8773390e6734571b07f74ffa43155d1 (patch)
treed9a60c7eac35b8ab35bfd6b24bb8b3e51c3905f3
parent9947d4585a88876b9b0876e2ea26d4012e18c741 (diff)
downloadcloog-isl-tizen.tar.gz
cloog-isl-tizen.tar.bz2
cloog-isl-tizen.zip
-rw-r--r--packaging/baselibs.conf4
-rw-r--r--packaging/cloog-isl.spec (renamed from packaging/cloog.spec)42
2 files changed, 24 insertions, 22 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
index 99d9a65..726fd46 100644
--- a/packaging/baselibs.conf
+++ b/packaging/baselibs.conf
@@ -1,4 +1,4 @@
-libcloog
+libcloog-isl
targetarch ia64 block!
-cloog-devel
+cloog-isl-devel
requires "libcloog-<targettype> = <version>"
diff --git a/packaging/cloog.spec b/packaging/cloog-isl.spec
index f0511fb..f11f3e9 100644
--- a/packaging/cloog.spec
+++ b/packaging/cloog-isl.spec
@@ -1,16 +1,17 @@
%define keepstatic 1
-Name: cloog
-Version: 0.15.10
+Name: cloog-isl
+Version: 0.18.0
Release: 0
Summary: The Chunky Loop Generator
License: GPL-2.0+
-Group: Development/Languages/C and C++
+Group: Development/Toolchain
Url: http://www.cloog.org/
-Source: cloog-ppl-0.15.10.tar.bz2
+Source: cloog-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: libtool
-BuildRequires: ppl-devel
+BuildRequires: gmp-devel
+BuildRequires: isl-devel
%description
CLooG is a free software and library to generate code for scanning
@@ -18,25 +19,23 @@ Z-polyhedra. It is used by the GCC Graphite optimization framework.
%package devel
Summary: Development tools for CLOOG
-Group: Development/Languages/C and C++
-Requires: libcloog = %{version}-%{release}
+Requires: libcloog-isl = %{version}-%{release}
%description devel
Development tools and headers for the Chunky Loop Generator.
-%package -n libcloog
+%package -n libcloog-isl
Summary: The CLOOG shared library
-Group: Development/Languages/C and C++
-%description -n libcloog
+%description -n libcloog-isl
The shared library for the Chunky Loop Generator.
+
%prep
-%setup -q -n cloog-ppl-0.15.10
+%setup -q -n cloog-%{version}
%build
-./autogen.sh
-%configure --with-ppl
+%configure --with-isl=system --disable-static
make %{_smp_mflags}
%check
@@ -45,23 +44,26 @@ make %{_smp_mflags} check
%install
%make_install
-%post -n libcloog -p /sbin/ldconfig
+%post -n libcloog-isl -p /sbin/ldconfig
+
+%postun -n libcloog-isl -p /sbin/ldconfig
-%postun -n libcloog -p /sbin/ldconfig
%files
+%license LICENSE
%defattr(-,root,root,-)
%{_bindir}/cloog
-%doc %{_infodir}/cloog.info*gz
-%files -n libcloog
+%files -n libcloog-isl
+%license LICENSE
%defattr(-,root,root,-)
-%{_libdir}/libcloog.so.*
+%{_libdir}/libcloog-isl.so.*
+
%files devel
%defattr(-,root,root,-)
%{_includedir}/cloog
-%{_libdir}/libcloog.so
-%{_libdir}/libcloog.a
+%{_libdir}/libcloog-isl.so
+%{_libdir}/pkgconfig/*.pc
%changelog