[packages/lz4] - pl, unified

qboosh qboosh at pld-linux.org
Sat Oct 12 22:03:24 CEST 2013


commit 8518f8429a079b4d1ea956f91f0257d67083c0b6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 12 22:02:32 2013 +0200

    - pl, unified

 lz4.spec | 42 +++++++++++++++++++++++++++++-------------
 1 file changed, 29 insertions(+), 13 deletions(-)
---
diff --git a/lz4.spec b/lz4.spec
index d7d778b..f23df76 100644
--- a/lz4.spec
+++ b/lz4.spec
@@ -1,16 +1,17 @@
 %define		rel	1
 %define		svnrev	106
 Summary:	Hash-based Predictive Lempel-Ziv compressor
+Summary(pl.UTF-8):	Kompresor wykorzystujący metodę Lempel-Ziv z predykcją opartą na haszach
 Name:		lz4
 Version:	0.0
 Release:	0.svn%{svnrev}.%{rel}
-License:	GPL-2.0+ and BSD-2-Clause
+License:	BSD (library), GPL v2+ (CLI utility)
 Group:		Libraries
 Source0:	https://dl.dropboxusercontent.com/u/59565338/LZ4/%{name}-r%{svnrev}.tar.gz
 # Source0-md5:	4d071aaecd42dd383dd58c5a7577663b
 Patch0:		cmake-langs.patch
 URL:		http://fastcompression.blogspot.com/p/lz4.html
-BuildRequires:	cmake
+BuildRequires:	cmake >= 2.6
 BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -19,8 +20,14 @@ LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
 algorithm. It is a LZP2 fork and provides better compression ratio for
 text files.
 
+%description -l pl.UTF-8
+LZ4 to bardzo szybki kompresor, oparty na dobrze znanym algorytmie
+LZ77 (Lempel-Ziv). Jest to odgałęzienie LZP2, zapewniające lepszy
+współczynnik kompresji dla plików tekstowych.
+
 %package devel
 Summary:	Development files for the LZ4 compressor
+Summary(pl.UTF-8):	Pliki programistyczne kompresora LZ4
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
@@ -29,20 +36,28 @@ LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
 algorithm. It is a LZP2 fork and provides better compression ratio for
 text files.
 
-This subpackage contains libraries and header files for developing
-applications that want to make use of liblz4.
+This subpackage contains the header files for developing applications
+that want to make use of liblz4.
+
+%description devel -l pl.UTF-8
+LZ4 to bardzo szybki kompresor, oparty na dobrze znanym algorytmie
+LZ77 (Lempel-Ziv). Jest to odgałęzienie LZP2, zapewniające lepszy
+współczynnik kompresji dla plików tekstowych.
+
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących liblz4.
 
 %package static
-Summary:	Static %{name} library
-Summary(pl.UTF-8):	Statyczna biblioteka %{name}
+Summary:	Static LZ4 compressor library
+Summary(pl.UTF-8):	Statyczna biblioteka kompresora LZ4
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-Static %{name} library.
+Static LZ4 compressor library.
 
 %description static -l pl.UTF-8
-Statyczna biblioteka %{name}.
+Statyczna biblioteka kompresora LZ4.
 
 %prep
 %setup -qn %{name}-r%{svnrev}
@@ -52,9 +67,8 @@ Statyczna biblioteka %{name}.
 
 %build
 cd cmake
-%cmake \
-	-DBUILD_SHARED_LIBS=TRUE \
-	.
+%cmake . \
+	-DBUILD_SHARED_LIBS=TRUE
 
 %{__make}
 
@@ -95,16 +109,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc NEWS
 %attr(755,root,root) %{_bindir}/lz4
 %{_mandir}/man1/lz4.1*
 %attr(755,root,root) %{_libdir}/liblz4.so.*.*.*
-%ghost %{_libdir}/liblz4.so.0.0
+%attr(755,root,root) %ghost %{_libdir}/liblz4.so.0.0
 
 %files devel
 %defattr(644,root,root,755)
+%doc LZ4_Streaming_Format.odt lz4_format_description.txt
+%attr(755,root,root) %{_libdir}/liblz4.so
 %{_includedir}/lz4.h
 %{_includedir}/lz4hc.h
-%{_libdir}/liblz4.so
 
 %files static
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lz4.git/commitdiff/8518f8429a079b4d1ea956f91f0257d67083c0b6



More information about the pld-cvs-commit mailing list