[packages/ghc-zlib] - updated to 0.5.4.1 - pl

qboosh qboosh at pld-linux.org
Sat Dec 7 23:27:16 CET 2013


commit 5366891b0ffd6cd5897de0a6129009df46481c72
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 7 23:28:40 2013 +0100

    - updated to 0.5.4.1
    - pl

 ghc-zlib.spec | 45 +++++++++++++++++++++++++++++----------------
 1 file changed, 29 insertions(+), 16 deletions(-)
---
diff --git a/ghc-zlib.spec b/ghc-zlib.spec
index bdd3345..1074b2c 100644
--- a/ghc-zlib.spec
+++ b/ghc-zlib.spec
@@ -1,13 +1,15 @@
 %define		pkgname	zlib
 Summary:	Compression and decompression in the gzip and zlib formats
+Summary(pl.UTF-8):	Kompresja i dekompresja formatów gzip i zlib
 Name:		ghc-%{pkgname}
-Version:	0.5.3.1
+Version:	0.5.4.1
 Release:	1
 License:	BSD
 Group:		Development/Languages
-Source0:	http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5:	8fb2988b112e38d04a527b892f770507
-URL:		http://hackage.haskell.org/package/zlib/
+#Source0Download: http://hackage.haskell.org/package/zlib
+Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
+# Source0-md5:	d0d10786d2bbd1d401a8b28a83e88475
+URL:		http://hackage.haskell.org/package/zlib
 BuildRequires:	ghc >= 6.12.3
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
@@ -18,25 +20,34 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This package provides a pure interface for compressing and
-decompressing streams of data represented as lazy
-'ByteString's. It uses the zlib C library so it has high
-performance. It supports the "zlib", "gzip" and "raw"
-compression formats.
+decompressing streams of data represented as lazy 'ByteString's. It
+uses the zlib C library so it has high performance. It supports the
+"zlib", "gzip" and "raw" compression formats.
 
-It provides a convenient high level API suitable for most
-tasks and for the few cases where more control is needed it
-provides access to the full zlib feature set.
+It provides a convenient high level API suitable for most tasks and
+for the few cases where more control is needed it provides access to
+the full zlib feature set.
+
+%description -l pl.UTF-8
+Ten pakiet zapewnia czysty interfejs do kompresji i dekompresji
+strumieni danych reprezentowanych jako leniwe "ByteString"i.
+Wykorzystuje bibliotekę C zlib, więc ma dużą wydajność. Obsługuje
+formaty kompresji "zlib", "gzip" i "surowy".
+
+Udostępnia wygodne, wysokopoziomowe API, nadające się do większości
+zadań; dla nielicznych przypadków, gdzie potrzeba większej kontroli,
+daje dostęp do pełnych możliwości zliba.
 
 %package doc
-Summary:	HTML documentation for %{pkgname}
-Summary(pl.UTF-8):	Dokumentacja w formacie HTML dla %{pkgname}
+Summary:	HTML documentation for %{pkgname} ghc package
+Summary(pl.UTF-8):	Dokumentacja w formacie HTML dla pakietu ghc %{pkgname}
 Group:		Documentation
 
 %description doc
-HTML documentation for %{pkgname}.
+HTML documentation for %{pkgname} ghc package.
 
 %description doc -l pl.UTF-8
-Dokumentacja w formacie HTML dla %{pkgname}.
+Dokumentacja w formacie HTML dla pakietu ghc %{pkgname}.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
@@ -58,8 +69,9 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
 runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
 
 # work around automatic haddock docs installation
-rm -rf %{name}-%{version}-doc
+%{__rm} -rf %{name}-%{version}-doc
 cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{name}-%{version}-doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs register \
 	--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
@@ -75,6 +87,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc LICENSE
 %{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-zlib.git/commitdiff/5366891b0ffd6cd5897de0a6129009df46481c72



More information about the pld-cvs-commit mailing list