commit ec1ea7a1e7f526dcf78b238a1c0fba971d34cd12
Author: Jakub Bogusz <[email protected]>
Date:   Sun Nov 24 20:02:23 2013 +0100

    - new

 clzip-info.patch | 14 ++++++++++++++
 clzip.spec       | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
---
diff --git a/clzip.spec b/clzip.spec
new file mode 100644
index 0000000..b599aad
--- /dev/null
+++ b/clzip.spec
@@ -0,0 +1,57 @@
+Summary:       LZMA file compressor (C implementation)
+Summary(pl.UTF-8):     Kompresor plików oparty na algorytmie LZMA 
(implementacja w C)
+Name:          clzip
+Version:       1.5
+Release:       1
+License:       GPL v3+
+Group:         Applications/Archiving
+Source0:       
http://download.savannah.gnu.org/releases/lzip/%{name}-%{version}.tar.lz
+# Source0-md5: 950287ed64c30fb6a08f384f0f65aab9
+Patch0:                %{name}-info.patch
+URL:           http://savannah.nongnu.org/projects/lzip/
+BuildRequires: lzip
+BuildRequires: tar >= 1:1.22
+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.
+Clzip is in fact a C language version of lzip, intended for embedded
+devices or systems lacking a C++ compiler.
+
+%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.
+Clzip to wersja lzipa napisana w języku C, przeznaczona głównie dla
+systemów wbudowanych lub nie mających kompilatora C++.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make} all info
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       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}/clzip
+%{_mandir}/man1/clzip.1*
+%{_infodir}/clzip.info*
diff --git a/clzip-info.patch b/clzip-info.patch
new file mode 100644
index 0000000..fb39d06
--- /dev/null
+++ b/clzip-info.patch
@@ -0,0 +1,14 @@
+--- clzip-1.5/doc/clzip.texinfo.orig   2013-09-17 20:30:57.000000000 +0200
++++ clzip-1.5/doc/clzip.texinfo        2013-11-24 19:51:12.542110804 +0100
+@@ -9,9 +9,9 @@
+ @set UPDATED 17 September 2013
+ @set VERSION 1.5
+ 
+-@dircategory Data Compression
++@dircategory File utilities:
+ @direntry
+-* Clzip: (clzip).               LZMA lossless data compressor
++* Clzip: (clzip).                     LZMA lossless data compressor
+ @end direntry
+ 
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clzip.git/commitdiff/ec1ea7a1e7f526dcf78b238a1c0fba971d34cd12

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to