]> git.pld-linux.org Git - packages/clzip.git/commitdiff
- new auto/th/clzip-1.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Nov 2013 19:02:23 +0000 (20:02 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Nov 2013 19:02:23 +0000 (20:02 +0100)
clzip-info.patch [new file with mode: 0644]
clzip.spec [new file with mode: 0644]

diff --git a/clzip-info.patch b/clzip-info.patch
new file mode 100644 (file)
index 0000000..fb39d06
--- /dev/null
@@ -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
diff --git a/clzip.spec b/clzip.spec
new file mode 100644 (file)
index 0000000..b599aad
--- /dev/null
@@ -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*
This page took 0.158513 seconds and 4 git commands to generate.