%global _hardened_build 1
Name: lz4
Version: r107
Release: 1%{?dist}
Summary: Extremely fast compression algorithm
Group: Applications/System
License: GPLv2
URL: https://code.google.com/p/lz4/
Source0: https://dl.dropboxusercontent.com/u/59565338/LZ4/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
LZ4 is an extremely fast loss-less compression algorithm, providing compression
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.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
make install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p"
%files
%doc COPYING NEWS
%{_bindir}/lz4
%{_bindir}/lz4c
%{_mandir}/man1/lz4.1.gz
%changelog
* Wed Oct 23 2013 pjp <pjp@fedoraproject.org> - r107-1
- new release r107
* Mon Oct 07 2013 pjp <pjp@fedoraproject.org> - r106-3
- fixed install section to replace /usr/ with a macro.
-> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c5
* Sat Oct 05 2013 pjp <pjp@fedoraproject.org> - r106-2
- fixed install section above as suggested in the review.
-> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c1
* Sun Sep 22 2013 pjp <pjp@fedoraproject.org> - r106-1
- Initial RPM release of lz4-r106