[lz4] Update to lz4-r116

pjp pjp at fedoraproject.org
Sun Apr 13 18:19:10 UTC 2014


commit 8c29d63155c56522369d0f985b7bfd85a74b1b21
Author: P J P <pjp at fedoraproject.org>
Date:   Sun Apr 13 23:48:26 2014 +0530

    Update to lz4-r116

 .gitignore |    1 +
 lz4.spec   |   48 +++++++++++++++++++++++++++++++++++++++++++++---
 sources    |    2 +-
 3 files changed, 47 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 32ebd54..0da3329 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /lz4-r107.tar.gz
 /lz4-r108.tar.gz
 /lz4-r110.tar.gz
+/lz4-r116.tar.gz
diff --git a/lz4.spec b/lz4.spec
index eff7b75..7a454a7 100644
--- a/lz4.spec
+++ b/lz4.spec
@@ -1,14 +1,14 @@
 %global _hardened_build 1
 
 Name:           lz4
-Version:        r110
+Version:        r116
 Release:        1%{?dist}
 Summary:        Extremely fast compression algorithm
 
 Group:          Applications/System
 License:        GPLv2
 URL:            https://code.google.com/p/lz4/
-Source0:        https://lz4.googlecode.com/files/%{name}-%{version}.tar.gz
+Source0:        https://dl.dropboxusercontent.com/u/59565338/LZ4/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
 %description
@@ -17,11 +17,22 @@ speed at 400 MB/s per core, scalable with multi-core CPU. It also features
 an extremely fast decoder, with speed in multiple GB/s per core, typically
 reaching RAM speed limits on multi-core systems.
 
+%package        devel
+Summary:        Development library for lz4
+Group:          Development/Libraries
+License:        BSD
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+This package contains the header(.h) and library(.so) files required to build
+applications using liblz4 library.
+
 %prep
 %setup -q
 
 
 %build
+export CFLAGS="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 
@@ -29,14 +40,45 @@ make %{?_smp_mflags}
 make install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p"
 
 
+%post devel
+/sbin/ldconfig
+/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info || :
+
+
+%preun devel
+if [ $1 = 0 ]; then
+    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
+fi
+
+
+%postun devel -p /sbin/ldconfig
+
+
 %files
-%doc COPYING NEWS
+%doc programs/COPYING NEWS
 %{_bindir}/lz4
 %{_bindir}/lz4c
+%{_bindir}/lz4cat
 %{_mandir}/man1/lz4.1.gz
 
 
+%files devel
+%defattr (-, root, root, -)
+%doc LICENSE NEWS
+%{_includedir}/*.h
+%{_usr}/lib/liblz4*
+
+
 %changelog
+* Sun Apr 13 2014 pjp <pjp at fedoraproject.org> - r116-1
+- new release 116
+- added lz4cat utility for posix systems
+
+* Sat Mar 15 2014 pjp <pjp at fedoraproject.org> - r114-1
+- new release r114
+- added RPM_OPT_FLAGS to CFLAGS
+- introduced a devel package to build liblz4
+
 * Thu Jan 02 2014 pjp <pjp at fedoraproject.org> - r110-1
 - new release r110
 
diff --git a/sources b/sources
index cf698e1..c8bf1af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-666b7213c99c1764a7daaf8ede02698b  lz4-r110.tar.gz
+b744d60f74bd999bd195c3afba575106  lz4-r116.tar.gz


More information about the scm-commits mailing list