SPECS: lzip.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Wed Nov 19 17:22:20 CET 2008
Author: qboosh Date: Wed Nov 19 16:22:20 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
lzip.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/lzip.spec
diff -u /dev/null SPECS/lzip.spec:1.1
--- /dev/null Wed Nov 19 17:22:20 2008
+++ SPECS/lzip.spec Wed Nov 19 17:22:14 2008
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+Summary: LZMA file compressor
+Summary(pl.UTF-8): Kompresor plików oparty na algorytmie LZMA
+Name: lzip
+Version: 1.1
+Release: 1
+License: GPL v3+
+Group: Applications/Archiving
+Source0: http://download.savannah.gnu.org/releases/lzip/%{name}-%{version}.tar.bz2
+# Source0-md5: f016e24a935aadd07e40fe08cfa176f5
+Patch0: %{name}-info.patch
+URL: http://savannah.nongnu.org/projects/lzip/
+BuildRequires: libstdc++-devel
+BuildRequires: texinfo
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Lzip is a lossless file compressor based on the LZMA
+(Lempel-Ziv-Markov chain-Algorithm) algorithm designed by Igor Pavlov.
+The high compression of LZMA comes from combining two basic,
+well-proven compression ideas: sliding dictionaries (i.e. LZ77/78),
+and Markov models (i.e. the thing used by every compression algorithm
+that uses a range encoder or similar order-0 entropy coder as its last
+stage) with segregation of contexts according to what the bits are
+used for.
+
+%description -l pl.UTF-8
+lzip to bezstratny kompresor plików oparty na algorytmie LZMA
+(Lempel-Ziv-Markov chain-Algorithm) opracowanym przez Igora Pawłowa.
+Wysoki stopień kompresji LZMA wywodzi się z połączenia dwóch
+podstawowych, dobrze sprawdzonych idei kompresji: przesuwnych
+słowników (LZ77/78) i modeli Markowa (używanych przez każdy algorytm
+kompresji wykorzystujący w ostatnim stadium kodowanie zakresów lub
+podobne kodowanie entropii rzędu 0) z podziałem kontekstów w
+zależności od wykorzystania bitów.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make} all info
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install install-man \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/lzip
+%{_mandir}/man1/lzip.1*
+%{_infodir}/lzip.info*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/11/19 16:22:14 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list