packages: cloog-ppl/cloog-ppl.spec - use cloog-ppl as Name (other versions ...
qboosh
qboosh at pld-linux.org
Thu Jul 5 17:28:09 CEST 2012
Author: qboosh Date: Thu Jul 5 15:28:09 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- 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
---- Files affected:
packages/cloog-ppl:
cloog-ppl.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/cloog-ppl/cloog-ppl.spec
diff -u packages/cloog-ppl/cloog-ppl.spec:1.5 packages/cloog-ppl/cloog-ppl.spec:1.6
--- packages/cloog-ppl/cloog-ppl.spec:1.5 Thu May 24 11:24:12 2012
+++ packages/cloog-ppl/cloog-ppl.spec Thu Jul 5 17:28:04 2012
@@ -1,13 +1,12 @@
# $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
+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/
@@ -28,6 +27,8 @@
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
@@ -36,46 +37,37 @@
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.
-
-%description ppl -l pl.UTF-8
-Biblioteka współdzielona i narzędzie Chunky Loop Generatora.
+Ta wersja jest oparta na bibliotece ppl (Parma Polyhedra Library).
-%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
@@ -105,18 +97,15 @@
%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
@@ -124,13 +113,13 @@
%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
@@ -140,6 +129,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2012/07/05 15:28:04 qboosh
+- 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
+
Revision 1.5 2012/05/24 09:24:12 qboosh
- added info patch (unify direntry)
- removed obsolete sed call
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/cloog-ppl/cloog-ppl.spec?r1=1.5&r2=1.6
More information about the pld-cvs-commit
mailing list