File cloog.spec of Package cloog

# spec file for package cloog (Version 0.15.10+ppl)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           cloog
Version:        0.15.10+ppl
Release:        1
Summary:        The Chunky Loop Generator
Group:          Development/Languages/C and C++
License:        GPLv2+
Source:         cloog-ppl-0.15.10.tar.bz2
Source1:        baselibs.conf
BuildRequires:  ppl-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

CLooG is a free software and library to generate code for scanning
Z-polyhedra. It is used by the GCC Graphite optimization framework.

%package devel
License:        GPLv2+
Summary:        Development tools for CLOOG
Group:          Development/Languages/C and C++
Requires:       libcloog0 = %{version}-%{release}

%description devel
Development tools and headers for the Chunky Loop Generator.

%package -n libcloog0
License:        GPLv2+
Summary:        The CLOOG shared library
Group:          Development/Languages/C and C++

%description -n libcloog0
The shared library for the Chunky Loop Generator.

%setup -q -n cloog-ppl-0.15.10

%configure --with-ppl
make %{_smp_mflags}

make %{_smp_mflags} check

rm $RPM_BUILD_ROOT/%{_libdir}/

%install_info --info-dir=%{_infodir} %{_infodir}/

%install_info_delete --info-dir=%{_infodir} %{_infodir}/

%post -n libcloog0 -p /sbin/ldconfig

%postun -n libcloog0 -p /sbin/ldconfig

%doc %{_infodir}/*gz

%files -n libcloog0

%files devel