From 3f9a781f1253f15c4bd47e1bc6be70ad7ad4289d Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Feb 16 2009 23:38:27 +0000 Subject: - Updated to upstream git hash foo - Generate cloog-ppl and cloog-ppl-devel packages instead of cloog and cloog-devel. --- diff --git a/.cvsignore b/.cvsignore index e69de29..47893e4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +cloog-0.15-gitad322.tar.gz diff --git a/README.cloog.txt b/README.cloog.txt new file mode 100644 index 0000000..2d13101 --- /dev/null +++ b/README.cloog.txt @@ -0,0 +1,8 @@ +Cloog is currently hosted in a git repository only. + +To get it, please type: + +git clone git://repo.or.cz/cloog-ppl.git cloog.git + +This package has been generated from the revision +57a0bcd97c08f44a983385ca0389eb624e66e3c7 diff --git a/cloog.spec b/cloog.spec new file mode 100644 index 0000000..3d1b3af --- /dev/null +++ b/cloog.spec @@ -0,0 +1,96 @@ +%define git_revision gitad322 +Name: cloog +Version: 0.15 +Release: 0.3.%{git_revision}%{?dist} +Summary: The Chunky Loop Generator + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://www.cloog.org +# The source of this package was pulled from upstream vcs. +# Please use the following commands to regenerate the tarball: +# git clone git://repo.or.cz/cloog-ppl.git cloog.git +# cd cloog.git +# ./autogen.sh +# configure --with-ppl +# make distcheck +Source0: %{name}-%{version}-%{git_revision}.tar.gz +Source1: README.cloog.txt +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: ppl-devel >= 0.10, gmp-devel >= 4.1.3 +Requires(post): info +Requires(preun): info + +%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 ppl +Summary: Parma Polyhedra Library backend (ppl) based version of the Cloog binaries +Group: Development/Libraries +%description ppl +The dynamic shared libraries of the Chunky Loop Generator + +%package ppl-devel +Summary: Development tools for the ppl based version of Chunky Loop Generator +Group: Development/Libraries +Requires: %{name}-ppl = %{version}-%{release} +Requires: ppl-devel >= 0.10, gmp-devel >= 4.1.3 +%description ppl-devel +The header files and dynamic shared libraries of the Chunky Loop Generator. + +%prep +%setup -q + +%build +%configure --with-ppl +# Remove the -fomit-frame-pointer compile flag +make %{?_smp_mflags} AM_CFLAGS= + + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install +rm -rf $RPM_BUILD_ROOT%{_infodir}/dir + +%clean +rm -rf $RPM_BUILD_ROOT + +%files ppl +%defattr(-,root,root,-) +%{_infodir}/cloog.info*gz +%{_bindir}/cloog +%{_libdir}/libcloog.so.* + +%files ppl-devel +%defattr(-,root,root,-) +%{_includedir}/cloog +%{_libdir}/libcloog.so +%exclude %{_libdir}/libcloog.a +%exclude %{_libdir}/libcloog.la + +%post ppl +/sbin/ldconfig +/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : + +%postun ppl +/sbin/ldconfig +if [ $1 = 0 ] ; then + /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : +fi + +%changelog +* Tue Feb 10 2009 Dodji Seketeli 0.15-0.3.gitad322 +- Updated to upstream git hash foo +- Generate cloog-ppl and cloog-ppl-devel packages instead of cloog and + cloog-devel. + +* Mon Dec 01 2008 Dodji Seketeli 0.15-0.2.git57a0bc +- Updated to upstream git hash 57a0bcd97c08f44a983385ca0389eb624e66e3c7 +- Remove the -fomit-frame-pointer compile flag + +* Wed Sep 24 2008 Dodji Seketeli 0.15-0.1.git95753 +- Initial version from git hash 95753d83797fa9a389c0c07f7cf545e90d7867d7 + diff --git a/import.log b/import.log new file mode 100644 index 0000000..8d79153 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +cloog-0_15-0_3_gitad322_fc10:HEAD:cloog-0.15-0.3.gitad322.fc10.src.rpm:1234827397 diff --git a/sources b/sources index e69de29..ac0cde3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9c6beccc6b3fd380b824ec7ad69ba93b cloog-0.15-gitad322.tar.gz