]> git.pld-linux.org Git - packages/lz4.git/commitdiff
- pl, unified
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Oct 2013 20:02:32 +0000 (22:02 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Oct 2013 20:02:32 +0000 (22:02 +0200)
lz4.spec

index d7d778b6b857c7c99fab4fd2fc11b96150af5615..f23df76edfcb27e37681406b2f051a8268b3d7e4 100644 (file)
--- 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)
This page took 0.129435 seconds and 4 git commands to generate.