Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 96bb5d9736d7921c485fdb5efe617c7e > files > 2

cloog-ppl-0.15.11-2.mga3.src.rpm

#
#
# WARNING: DO NOT UPDATE THIS PACKAGE IF YOU DON'T PLAN TO FIX GCC RIGHT AFTER.
#		gcc-4.7 series requires 0.15 branch
#
#
%define 	name		cloog-ppl
%define		version		0.15.11
%define		release		%mkrel 2
%define		major		0
%define		libname		%mklibname cloog %major
%define		libnamedev	%mklibname -d cloog

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        The Chunky Loop Generator

Group:          System/Libraries
License:        GPLv2+
URL:            http://repo.or.cz/w/cloog-ppl.git
Source0:        ftp://gcc.gnu.org/pub/gcc/infrastructure/%{name}-%{version}.tar.gz
BuildRequires:	ppl_c-devel
BuildRequires:	gmp-devel >= 4.1.3
BuildRequires:	texinfo >= 4.12
Requires(post): info-install
Requires(preun): info-install

%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.

%package -n %{libname}
Summary: Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
Group: Development/C
#cloog was originally imported to the repositories with a wrong '1' major, 
#this Obsoletes is here to make sure this badly named package is upgraded 
#smoothly
Obsoletes: %{mklibname cloog 1} < 0.15.7

%description -n %{libname}
The dynamic shared libraries of the Chunky Loop Generator

%package -n %{libnamedev}
Summary:        Development tools for the ppl based version of Chunky Loop Generator
Group:          Development/C
Requires:       %{libname} = %{version}-%{release}
Provides: 	%{name}-devel = %{version}-%{release}

%description -n %{libnamedev}
The header files and dynamic shared libraries of the Chunky Loop Generator.

%prep
%setup -q -n cloog-ppl-%{version}

%build
%configure2_5x --with-ppl --disable-static
%make

%install
%makeinstall_std
rm -rf %{buildroot}/%{_infodir}/dir %{buildroot}/%{_libdir}/*.la

%files 
%{_infodir}/cloog.info*
%{_bindir}/cloog

%files -n %{libname}
%{_libdir}/libcloog.so.%{major}*

%files -n %{libnamedev}
%{_includedir}/cloog
%{_libdir}/libcloog.so

%post
%_install_info cloog.info

%preun
%_remove_install_info cloog.info


%changelog

* Fri Jan 11 2013 umeabot <umeabot> 0.15.11-2.mga3
+ Revision: 347904
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + tmb <tmb>
    - add note that gcc-4.7 requires 0.15 branch

* Sun Oct 21 2012 fwang <fwang> 0.15.11-1.mga3
+ Revision: 308945
- new version 0.15.11

* Mon Dec 05 2011 fwang <fwang> 0.15.8-3.mga2
+ Revision: 176742
- use shipped autogen
- fix build with latest ppl
- drop unneeded req
- correct br

* Sun Jan 09 2011 blino <blino> 0.15.8-3.mga1
+ Revision: 3034
- remove old ldconfig scriptlets
- imported package cloog-ppl