[lrzip] 0.611 bump

Petr Pisar ppisar at fedoraproject.org
Wed Mar 14 14:47:31 UTC 2012


commit 25948a69593f1710d5cbb174e083e9f04daff7f6
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Mar 14 15:46:57 2012 +0100

    0.611 bump

 .gitignore |    1 +
 lrzip.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 sources    |    2 +-
 3 files changed, 64 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1864461..4ef9d1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ lrzip-0.46.tar.bz2
 /lrzip-0.606.tar.bz2
 /lrzip-0.607.tar.bz2
 /lrzip-0.608.tar.bz2
+/lrzip-0.611.tar.bz2
diff --git a/lrzip.spec b/lrzip.spec
index e5827a5..42e2098 100644
--- a/lrzip.spec
+++ b/lrzip.spec
@@ -1,12 +1,16 @@
+# These utilities do not use the standalone library
 Name:           lrzip
-Version:        0.608
-Release:        2%{?dist}
+Version:        0.611
+Release:        1%{?dist}
 Summary:        Compression program optimized for large files
 Group:          Applications/File
 License:        GPLv2+
 URL:            http://ck.kolivas.org/apps/%{name}/
-Source0:        http://ck.kolivas.org/apps/%{name}/%{name}-%{version}.tar.bz2
-BuildRequires:  bzip2-devel lzo-devel perl zlib-devel
+Source0:        %{url}%{name}-%{version}.tar.bz2
+BuildRequires:  bzip2-devel
+BuildRequires:  lzo-devel
+BuildRequires:  perl
+BuildRequires:  zlib-devel
 %ifarch x86
 BuildRequires:  nasm
 %endif
@@ -23,6 +27,34 @@ be chosen to be either size (much smaller than bzip2) or speed (much faster
 than bzip2). Decompression is always much faster than bzip2.
 
 
+%package libs
+Summary:        Long Range ZIP library
+Group:          System Environment/Libraries
+
+%description libs
+Dynamic library implementing Long Range ZIP or Lzma RZIP algorithm and archive
+format.
+
+
+%package devel
+Summary:        Development files for Long Range ZIP library
+Group:          Development/Libraries
+Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description devel
+Files needed to develop application using Long Range ZIP library.
+
+
+%package static
+Summary:        Static Long Range ZIP library
+Group:          Development/Libraries
+Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
+
+%description static
+Static library implementing Long Range ZIP or Lzma RZIP algorithm and archive
+format.
+
+
 %prep
 %setup -q
 for F in lzma/history.txt; do
@@ -34,12 +66,20 @@ done
 
 %global docdir %{_datadir}/doc/%{name}-%{version}
 %build
-%configure --docdir='%{docdir}'
+%configure --docdir='%{docdir}' --enable-shared --enable-static --enable-asm
 make %{?_smp_mflags}
 
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm {} +
+install -d $RPM_BUILD_ROOT/%{_includedir}
+install -m 644 Lrzip.h $RPM_BUILD_ROOT/%{_includedir}
+
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
 
 
 %files
@@ -48,7 +88,24 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %{_mandir}/man1/*.1.gz
 %{_mandir}/man5/*.5.gz
 
+%files libs
+%doc COPYING
+%{_libdir}/lib%{name}.so.*
+
+%files devel
+%doc decompress_demo.c liblrzip_demo.c
+%{_libdir}/lib%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_includedir}/*
+
+%files static
+%{_libdir}/lib%{name}.a
+
 %changelog
+* Wed Mar 14 2012 Petr Pisar <ppisar at redhat.com> - 0.611-1
+- 0.611 bump
+- The lrzip implementation is available as standalone library now
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.608-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index ca8b5ac..f2e5485 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c8c6d5a7b2587684eb51f175ac23fb54  lrzip-0.608.tar.bz2
+8afa70b2164cc90e6ced0b75e1d445bf  lrzip-0.611.tar.bz2


More information about the scm-commits mailing list