packages/cloog-ppl branch master created.

draenog draenog at pld-linux.org
Thu Jul 5 19:51:50 CEST 2012


The branch, master has been created
        at  ca25500ea5f5b7713ae44b7efd74460996fe73fc (commit)

- Log -----------------------------------------------------------------
commit ca25500ea5f5b7713ae44b7efd74460996fe73fc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 5 15:28:04 2012 +0000

    - use cloog-ppl as Name (other versions will appear soon, based on different sources)
    - fixed info handling (fix-info-dir must be run in postun, not preun
    
    Changed files:
        cloog-ppl.spec -> 1.6

diff --git a/cloog-ppl.spec b/cloog-ppl.spec
index cd84179..4b57c36 100644
--- a/cloog-ppl.spec
+++ b/cloog-ppl.spec
@@ -1,12 +1,11 @@
-%define		tarball_name %{name}-ppl
 Summary:	The Chunky Loop Generator
 Summary(pl.UTF-8):	Chunky Loop Generator - generator pętli cząstkowych
-Name:		cloog
+Name:		cloog-ppl
 Version:	0.15.11
 Release:	1
 License:	GPL v2+
-Group:		Libraries
-Source0:	ftp://gcc.gnu.org/pub/gcc/infrastructure/%{tarball_name}-%{version}.tar.gz
+Group:		Development/Tools
+Source0:	ftp://gcc.gnu.org/pub/gcc/infrastructure/%{name}-%{version}.tar.gz
 # Source0-md5:	060ae4df6fb8176e021b4d033a6c0b9e
 Patch0:		%{name}-info.patch
 URL:		http://www.cloog.org/
@@ -27,6 +26,8 @@ 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.
 
+This version is based on Parma Polyhedra Library (ppl).
+
 %description -l pl.UTF-8
 CLooG to oprogramowanie generujące pętle do przeszukiwania
 Z-wielościanów (Z-polyhedra). Oznacza to, że CLooG znajduje kod lub
@@ -35,46 +36,37 @@ sparametryzowanych wielościanów lub sum sparametryzowanych
 wielościanów. CLooG jest zaprojektowany z myślą o zapobieganiu
 narzutowi na sterowaniu oraz generowaniu bardzo wydajnego kodu.
 
-%package ppl
-Summary:	Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
-Summary(pl.UTF-8):	Binaria CLooG w wersji opartej na bibliotece PPL (Parma Polyhedra Library)
-Group:		Development/Tools
-
-%description ppl
-The dynamic shared library and utility of the Chunky Loop Generator.
+Ta wersja jest oparta na bibliotece ppl (Parma Polyhedra Library).
 
-%description ppl -l pl.UTF-8
-Biblioteka współdzielona i narzędzie Chunky Loop Generatora.
-
-%package ppl-devel
+%package devel
 Summary:	Header files for the ppl based version of Chunky Loop Generator
 Summary(pl.UTF-8):	Pliki nagłówkowe opartej na ppl wersji Chunky Loop Generatora
 Group:		Development/Libraries
-Requires:	%{name}-ppl = %{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 Requires:	gmp-devel >= 4.1.3
 Requires:	gmp-c++-devel >= 4.1.3
 Requires:	ppl-devel >= 0.10
 
-%description ppl-devel
+%description devel
 The header files for Chunky Loop Generator library.
 
-%description ppl-devel -l pl.UTF-8
+%description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki Chunky Loop Generatora.
 
-%package ppl-static
+%package static
 Summary:	Static library of ppl based version of Chunky Loop Generator
 Summary(pl.UTF-8):	Statyczna biblioteka opartej na ppl wersji Chunky Loop Generatora
 Group:		Development/Libraries
-Requires:	%{name}-ppl-devel = %{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
 
-%description ppl-static
+%description static
 Static library of ppl based version of Chunky Loop Generator.
 
-%description ppl-static -l pl.UTF-8
+%description static -l pl.UTF-8
 Statyczna biblioteka opartej na ppl wersji Chunky Loop Generatora.
 
 %prep
-%setup -q -n %{tarball_name}-%{version}
+%setup -q
 %patch0 -p1
 
 %build
@@ -104,18 +96,15 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	ppl -p /sbin/postshell
+%post	-p /sbin/postshell
 /sbin/ldconfig
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%preun	ppl
-if [ "$1" = 0 ]; then
-	[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
-fi
-
-%postun	ppl -p /sbin/ldconfig
+%postun	-p /sbin/postshell
+/sbin/ldconfig
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%files ppl
+%files
 %defattr(644,root,root,755)
 %doc LICENSE README
 %attr(755,root,root) %{_bindir}/cloog
@@ -123,12 +112,12 @@ fi
 %attr(755,root,root) %ghost %{_libdir}/libcloog.so.0
 %{_infodir}/cloog.info*
 
-%files ppl-devel
+%files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcloog.so
 %{_libdir}/libcloog.la
 %{_includedir}/cloog
 
-%files ppl-static
+%files static
 %defattr(644,root,root,755)
 %{_libdir}/libcloog.a

commit 7d0ca50a9ee7cd788c7587b2230b02a8268ddbd7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu May 24 09:24:12 2012 +0000

    - added info patch (unify direntry)
    - removed obsolete sed call
    
    Changed files:
        cloog-ppl-info.patch -> 1.1
        cloog-ppl.spec -> 1.5

diff --git a/cloog-ppl-info.patch b/cloog-ppl-info.patch
new file mode 100644
index 0000000..ee67ca7
--- /dev/null
+++ b/cloog-ppl-info.patch
@@ -0,0 +1,14 @@
+--- cloog-ppl-0.15.11/doc/cloog.texi.orig	2009-05-09 12:57:18.000000000 +0200
++++ cloog-ppl-0.15.11/doc/cloog.texi	2012-05-24 11:17:53.329359671 +0200
+@@ -35,9 +35,9 @@
+ @setfilename cloog.info
+ @settitle CLooG - a loop generator for scanning polyhedra
+ 
+- at dircategory Software libraries
++ at dircategory Libraries:
+ @direntry
+-* cloog: (cloog).  A loop generator for scanning polyhedra
++* cloog: (cloog).			A loop generator for scanning polyhedra
+ @end direntry
+ 
+ @set EDITION 2.1
diff --git a/cloog-ppl.spec b/cloog-ppl.spec
index 4e69168..cd84179 100644
--- a/cloog-ppl.spec
+++ b/cloog-ppl.spec
@@ -8,14 +8,14 @@ License:	GPL v2+
 Group:		Libraries
 Source0:	ftp://gcc.gnu.org/pub/gcc/infrastructure/%{tarball_name}-%{version}.tar.gz
 # Source0-md5:	060ae4df6fb8176e021b4d033a6c0b9e
+Patch0:		%{name}-info.patch
 URL:		http://www.cloog.org/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.13
 BuildRequires:	automake
 BuildRequires:	gmp-devel >= 4.1.3
 BuildRequires:	gmp-c++-devel >= 4.1.3
 BuildRequires:	libtool
 BuildRequires:	ppl-devel >= 0.10
-BuildRequires:	sed >= 4.0
 BuildRequires:	texinfo >= 4.12
 Requires(post):	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -75,8 +75,7 @@ Statyczna biblioteka opartej na ppl wersji Chunky Loop Generatora.
 
 %prep
 %setup -q -n %{tarball_name}-%{version}
-
-sed -i -e s/ppl_minor_version=10/ppl_minor_version=11/  configure*
+%patch0 -p1
 
 %build
 %{__libtoolize}

commit d6553cf4053f72675645db3ff8d9ff865400b445
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 23 19:48:13 2012 +0000

    - desc fixes, pl (unsure about Z-polyhedron translation though)
    - ghost soname symlink
    - package .la (no pkg-config support)
    - package static library
    
    Changed files:
        cloog-ppl.spec -> 1.4

diff --git a/cloog-ppl.spec b/cloog-ppl.spec
index 4130c6b..4e69168 100644
--- a/cloog-ppl.spec
+++ b/cloog-ppl.spec
@@ -1,20 +1,21 @@
 %define		tarball_name %{name}-ppl
 Summary:	The Chunky Loop Generator
+Summary(pl.UTF-8):	Chunky Loop Generator - generator pętli cząstkowych
 Name:		cloog
 Version:	0.15.11
 Release:	1
 License:	GPL v2+
 Group:		Libraries
-URL:		http://www.cloog.org/
 Source0:	ftp://gcc.gnu.org/pub/gcc/infrastructure/%{tarball_name}-%{version}.tar.gz
 # Source0-md5:	060ae4df6fb8176e021b4d033a6c0b9e
+URL:		http://www.cloog.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gmp-devel >= 4.1.3
 BuildRequires:	gmp-c++-devel >= 4.1.3
 BuildRequires:	libtool
-BuildRequires:	libtool
 BuildRequires:	ppl-devel >= 0.10
+BuildRequires:	sed >= 4.0
 BuildRequires:	texinfo >= 4.12
 Requires(post):	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,23 +27,51 @@ 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.
 
+%description -l pl.UTF-8
+CLooG to oprogramowanie generujące pętle do przeszukiwania
+Z-wielościanów (Z-polyhedra). Oznacza to, że CLooG znajduje kod lub
+pseudokod osiągający każdy punkt całkowity jednego lub większej liczby
+sparametryzowanych wielościanów lub sum sparametryzowanych
+wielościanów. CLooG jest zaprojektowany z myślą o zapobieganiu
+narzutowi na sterowaniu oraz generowaniu bardzo wydajnego kodu.
+
 %package ppl
 Summary:	Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
-Group:		Development/Libraries
+Summary(pl.UTF-8):	Binaria CLooG w wersji opartej na bibliotece PPL (Parma Polyhedra Library)
+Group:		Development/Tools
 
 %description ppl
-The dynamic shared libraries of the Chunky Loop Generator
+The dynamic shared library and utility of the Chunky Loop Generator.
+
+%description ppl -l pl.UTF-8
+Biblioteka współdzielona i narzędzie Chunky Loop Generatora.
 
 %package ppl-devel
-Summary:	Development tools for the ppl based version of Chunky Loop Generator
+Summary:	Header files for the ppl based version of Chunky Loop Generator
+Summary(pl.UTF-8):	Pliki nagłówkowe opartej na ppl wersji Chunky Loop Generatora
 Group:		Development/Libraries
 Requires:	%{name}-ppl = %{version}-%{release}
 Requires:	gmp-devel >= 4.1.3
+Requires:	gmp-c++-devel >= 4.1.3
 Requires:	ppl-devel >= 0.10
 
 %description ppl-devel
-The header files and dynamic shared libraries of the Chunky Loop
-Generator.
+The header files for Chunky Loop Generator library.
+
+%description ppl-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Chunky Loop Generatora.
+
+%package ppl-static
+Summary:	Static library of ppl based version of Chunky Loop Generator
+Summary(pl.UTF-8):	Statyczna biblioteka opartej na ppl wersji Chunky Loop Generatora
+Group:		Development/Libraries
+Requires:	%{name}-ppl-devel = %{version}-%{release}
+
+%description ppl-static
+Static library of ppl based version of Chunky Loop Generator.
+
+%description ppl-static -l pl.UTF-8
+Statyczna biblioteka opartej na ppl wersji Chunky Loop Generatora.
 
 %prep
 %setup -q -n %{tarball_name}-%{version}
@@ -56,46 +85,51 @@ sed -i -e s/ppl_minor_version=10/ppl_minor_version=11/  configure*
 %{__autoheader}
 %{__automake}
 %configure \
-	--disable-static \
 	--with-ppl
 
 # Remove the cloog.info in the tarball
 # to force the re-generation of a new one
-test -f doc/cloog.info && rm doc/cloog.info
+test -f doc/cloog.info && %{__rm} doc/cloog.info
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 	INSTALL="%{__install} -p" \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post ppl	-p /sbin/postshell
+%post	ppl -p /sbin/postshell
 /sbin/ldconfig
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%preun ppl
+%preun	ppl
 if [ "$1" = 0 ]; then
 	[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 fi
 
-%postun ppl -p /sbin/ldconfig
+%postun	ppl -p /sbin/ldconfig
 
 %files ppl
 %defattr(644,root,root,755)
-%doc README LICENSE
+%doc LICENSE README
 %attr(755,root,root) %{_bindir}/cloog
-%{_libdir}/libcloog.so.*
+%attr(755,root,root) %{_libdir}/libcloog.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcloog.so.0
 %{_infodir}/cloog.info*
 
 %files ppl-devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcloog.so
+%{_libdir}/libcloog.la
 %{_includedir}/cloog
-%{_libdir}/libcloog.so
+
+%files ppl-static
+%defattr(644,root,root,755)
+%{_libdir}/libcloog.a

commit 370eeafeb648b5aa288713e454d6a143a5620396
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Dec 29 20:38:57 2011 +0000

    - up to 0.15.11
    
    Changed files:
        cloog-ppl.spec -> 1.3

diff --git a/cloog-ppl.spec b/cloog-ppl.spec
index 0e5cec8..4130c6b 100644
--- a/cloog-ppl.spec
+++ b/cloog-ppl.spec
@@ -1,16 +1,17 @@
 %define		tarball_name %{name}-ppl
 Summary:	The Chunky Loop Generator
 Name:		cloog
-Version:	0.15.9
+Version:	0.15.11
 Release:	1
 License:	GPL v2+
 Group:		Libraries
 URL:		http://www.cloog.org/
 Source0:	ftp://gcc.gnu.org/pub/gcc/infrastructure/%{tarball_name}-%{version}.tar.gz
-# Source0-md5:	806e001d1b1a6b130069ff6274900af5
+# Source0-md5:	060ae4df6fb8176e021b4d033a6c0b9e
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gmp-devel >= 4.1.3
+BuildRequires:	gmp-c++-devel >= 4.1.3
 BuildRequires:	libtool
 BuildRequires:	libtool
 BuildRequires:	ppl-devel >= 0.10

commit 4a150d4ca1f45102aaab352339512bc305962968
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Dec 29 20:29:55 2011 +0000

    - rel 1
    
    Changed files:
        cloog-ppl.spec -> 1.2

diff --git a/cloog-ppl.spec b/cloog-ppl.spec
index adee501..0e5cec8 100644
--- a/cloog-ppl.spec
+++ b/cloog-ppl.spec
@@ -2,7 +2,7 @@
 Summary:	The Chunky Loop Generator
 Name:		cloog
 Version:	0.15.9
-Release:	0.1
+Release:	1
 License:	GPL v2+
 Group:		Libraries
 URL:		http://www.cloog.org/

commit b29f38871565622319ff6279e694d70325ddf5e3
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Nov 14 22:29:41 2011 +0000

    - new from fedora repo
    
    Changed files:
        cloog-ppl.spec -> 1.1

diff --git a/cloog-ppl.spec b/cloog-ppl.spec
new file mode 100644
index 0000000..adee501
--- /dev/null
+++ b/cloog-ppl.spec
@@ -0,0 +1,100 @@
+%define		tarball_name %{name}-ppl
+Summary:	The Chunky Loop Generator
+Name:		cloog
+Version:	0.15.9
+Release:	0.1
+License:	GPL v2+
+Group:		Libraries
+URL:		http://www.cloog.org/
+Source0:	ftp://gcc.gnu.org/pub/gcc/infrastructure/%{tarball_name}-%{version}.tar.gz
+# Source0-md5:	806e001d1b1a6b130069ff6274900af5
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	gmp-devel >= 4.1.3
+BuildRequires:	libtool
+BuildRequires:	libtool
+BuildRequires:	ppl-devel >= 0.10
+BuildRequires:	texinfo >= 4.12
+Requires(post):	/sbin/ldconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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:	gmp-devel >= 4.1.3
+Requires:	ppl-devel >= 0.10
+
+%description ppl-devel
+The header files and dynamic shared libraries of the Chunky Loop
+Generator.
+
+%prep
+%setup -q -n %{tarball_name}-%{version}
+
+sed -i -e s/ppl_minor_version=10/ppl_minor_version=11/  configure*
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-static \
+	--with-ppl
+
+# Remove the cloog.info in the tarball
+# to force the re-generation of a new one
+test -f doc/cloog.info && rm doc/cloog.info
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL="%{__install} -p" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post ppl	-p /sbin/postshell
+/sbin/ldconfig
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%preun ppl
+if [ "$1" = 0 ]; then
+	[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+fi
+
+%postun ppl -p /sbin/ldconfig
+
+%files ppl
+%defattr(644,root,root,755)
+%doc README LICENSE
+%attr(755,root,root) %{_bindir}/cloog
+%{_libdir}/libcloog.so.*
+%{_infodir}/cloog.info*
+
+%files ppl-devel
+%defattr(644,root,root,755)
+%{_includedir}/cloog
+%{_libdir}/libcloog.so

-----------------------------------------------------------------------


hooks/post-receive
-- 
packages/cloog-ppl


More information about the test mailing list