diff --git a/.gitignore b/.gitignore index e69de29..53eefc1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/lz4-r106.tar.gz diff --git a/lz4.spec b/lz4.spec new file mode 100644 index 0000000..968e7ef --- /dev/null +++ b/lz4.spec @@ -0,0 +1,48 @@ +%global _hardened_build 1 + +Name: lz4 +Version: r106 +Release: 3%{?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 + + +%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 +%{_mandir}/man1/lz4.1.gz + + +%changelog +* Mon Oct 07 2013 pjp - 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 - 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 - r106-1 +- Initial RPM release of lz4-r106 diff --git a/sources b/sources index e69de29..0b45439 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4d071aaecd42dd383dd58c5a7577663b lz4-r106.tar.gz