packages: cloog/cloog.spec - desc fixes, pl (unsure about Z-polyhedron tran...

qboosh qboosh at pld-linux.org
Wed May 23 21:48:18 CEST 2012


Author: qboosh                       Date: Wed May 23 19:48:18 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- desc fixes, pl (unsure about Z-polyhedron translation though)
- ghost soname symlink
- package .la (no pkg-config support)
- package static library

---- Files affected:
packages/cloog:
   cloog.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/cloog/cloog.spec
diff -u packages/cloog/cloog.spec:1.3 packages/cloog/cloog.spec:1.4
--- packages/cloog/cloog.spec:1.3	Thu Dec 29 21:38:57 2011
+++ packages/cloog/cloog.spec	Wed May 23 21:48:13 2012
@@ -1,21 +1,22 @@
 # $Revision$, $Date$
 %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)
@@ -27,23 +28,51 @@
 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}
@@ -57,49 +86,54 @@
 %{__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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -107,6 +141,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2012/05/23 19:48:13  qboosh
+- desc fixes, pl (unsure about Z-polyhedron translation though)
+- ghost soname symlink
+- package .la (no pkg-config support)
+- package static library
+
 Revision 1.3  2011/12/29 20:38:57  arekm
 - up to 0.15.11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/cloog/cloog.spec?r1=1.3&r2=1.4



More information about the pld-cvs-commit mailing list