Blame SPECS/lz4.spec

b3ff02
Name:           lz4
b3ff02
Version:        1.7.5
b3ff02
Release:        2%{?dist}
b3ff02
Summary:        Extremely fast compression algorithm
b3ff02
b3ff02
License:        GPLv2+ and BSD
b3ff02
URL:            https://lz4.github.io/lz4/
b3ff02
Source0:        https://github.com/Cyan4973/lz4/archive/v%{version}/%{name}-%{version}.tar.gz
b3ff02
b3ff02
%description
b3ff02
LZ4 is an extremely fast loss-less compression algorithm, providing compression
b3ff02
speed at 400 MB/s per core, scalable with multi-core CPU. It also features
b3ff02
an extremely fast decoder, with speed in multiple GB/s per core, typically
b3ff02
reaching RAM speed limits on multi-core systems.
b3ff02
b3ff02
%package        devel
b3ff02
Summary:        Development files for lz4
b3ff02
Requires:       %{name}%{?_isa} = %{version}-%{release}
b3ff02
b3ff02
%description    devel
b3ff02
This package contains the header(.h) and library(.so) files required to build
b3ff02
applications using liblz4 library.
b3ff02
b3ff02
%package        static
b3ff02
Summary:        Static library for lz4
b3ff02
b3ff02
%description    static
b3ff02
LZ4 is an extremely fast loss-less compression algorithm. This package
b3ff02
contains static libraries for static linking of applications.
b3ff02
b3ff02
%prep
b3ff02
%autosetup
b3ff02
echo '#!/bin/sh' > ./configure
b3ff02
chmod +x ./configure
b3ff02
b3ff02
%build
b3ff02
%configure
b3ff02
%make_build
b3ff02
b3ff02
%install
b3ff02
%configure
b3ff02
%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix} INSTALL="install -p"
b3ff02
b3ff02
%post -p /sbin/ldconfig
b3ff02
%postun -p /sbin/ldconfig
b3ff02
b3ff02
%files
b3ff02
%license programs/COPYING lib/LICENSE
b3ff02
%doc NEWS
b3ff02
%{_bindir}/lz4
b3ff02
%{_bindir}/lz4c
b3ff02
%{_bindir}/lz4cat
b3ff02
%{_bindir}/unlz4
b3ff02
%{_mandir}/man1/lz4.1*
b3ff02
%{_mandir}/man1/lz4c.1*
b3ff02
%{_mandir}/man1/lz4cat.1*
b3ff02
%{_mandir}/man1/unlz4.1*
b3ff02
%{_libdir}/liblz4.so.*
b3ff02
b3ff02
%files devel
b3ff02
%doc lib/LICENSE
b3ff02
%{_includedir}/lz4*.h
b3ff02
%{_libdir}/liblz4.so
b3ff02
%{_libdir}/pkgconfig/liblz4.pc
b3ff02
b3ff02
%files static
b3ff02
%doc lib/LICENSE
b3ff02
%{_libdir}/liblz4.a
b3ff02
b3ff02
%changelog
b3ff02
* Wed Sep 27 2017 Jakub Martisko <jamartis@rehat.com> - 1.7.5-1 - 2
b3ff02
- Initial RHEL release
b3ff02
b3ff02
* Thu Jan 05 2017 pjp <pjp@fedoraproject.org> - 1.7.5-1 - 1
b3ff02
- Update to 1.7.5
b3ff02
b3ff02
* Sat Nov 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.3-1
b3ff02
- Update to 1.7.3 (RHBZ #1395458)
b3ff02
b3ff02
* Mon Jul 06 2015 pjp <pjp@fedoraproject.org> - r131-1
b3ff02
- New: Dos/DJGPP target #114.
b3ff02
- Added: Example using lz4frame library #118.
b3ff02
- Changed: liblz4.a no longer compiled with -fPIC by default.
b3ff02
b3ff02
* Thu Jun 18 2015 pjp <pjp@fedoraproject.org> - r130-1
b3ff02
- Fixed: incompatibility sparse mode vs console.
b3ff02
- Fixed: LZ4IO exits too early when frame crc not present.
b3ff02
- Fixed: incompatibility sparse mode vs append mode.
b3ff02
- Performance fix: big compression speed boost for clang(+30%).
b3ff02
b3ff02
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r129-2
b3ff02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b3ff02
b3ff02
* Wed May 27 2015 pjp <pjp@fedoraproject.org> - r129-1
b3ff02
- New LZ4_compress_fast() API.
b3ff02
- New LZ4 CLI improved performance with multiple files.
b3ff02
- Other bug fix and documentation updates.
b3ff02
b3ff02
* Mon Apr 06 2015 pjp <pjp@fedoraproject.org> - r128-2
b3ff02
- Update files section to install unlz4 & its manual
b3ff02
b3ff02
* Wed Apr 01 2015 pjp <pjp@fedoraproject.org> - r128-1
b3ff02
- lz4cli sparse file support
b3ff02
- Restored lz4hc compression ratio
b3ff02
- lz4 cli supports long commands
b3ff02
- Introduced lz4-static sub package BZ#1208203
b3ff02
b3ff02
* Thu Jan 08 2015 pjp <pjp@fedoraproject.org> - r127-2
b3ff02
- Bump dist to override an earlier build.
b3ff02
b3ff02
* Wed Jan 07 2015 pjp <pjp@fedoraproject.org> - r127-1
b3ff02
- Fixed a bug in LZ4 HC streaming mode
b3ff02
- New lz4frame API integrated into liblz4
b3ff02
- Fixed a GCC 4.9 bug on highest performance settings
b3ff02
b3ff02
* Thu Nov 13 2014 pjp <pjp@fedoraproject.org> - r124-1
b3ff02
- New LZ4 HC Streaming mode
b3ff02
b3ff02
* Tue Sep 30 2014 pjp <pjp@fedoraproject.org> - r123-1
b3ff02
- Added experimental lz4frame API.
b3ff02
- Fix s390x support.
b3ff02
b3ff02
* Sat Aug 30 2014 pjp <pjp@fedoraproject.org> - r122-1
b3ff02
- new release
b3ff02
- Fixed AIX & AIX64 support (SamG)
b3ff02
- Fixed mips 64-bits support (lew van)
b3ff02
b3ff02
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r121-3
b3ff02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b3ff02
b3ff02
* Fri Aug 08 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - r121-2
b3ff02
- fix destdir
b3ff02
b3ff02
* Fri Aug 08 2014 pjp <pjp@fedoraproject.org> - r121-1
b3ff02
- new release
b3ff02
- Added a pkg-config file.
b3ff02
- Fixed a LZ4 streaming crash bug.
b3ff02
b3ff02
* Thu Jul 03 2014 pjp <pjp@fedoraproject.org> - r119-1
b3ff02
- new release
b3ff02
- Fixed a high Address allocation issue in 32-bits mode.
b3ff02
b3ff02
* Sat Jun 28 2014 pjp <pjp@fedoraproject.org> - r118-1
b3ff02
- new release
b3ff02
- install libraries under appropriate _libdir directories.
b3ff02
b3ff02
* Sat Jun 14 2014 pjp <pjp@fedoraproject.org> - r117-3
b3ff02
- Move shared library object to -devel package.
b3ff02
b3ff02
* Sat Jun 07 2014 pjp <pjp@fedoraproject.org> - r117-2
b3ff02
- Skip static library from installation.
b3ff02
b3ff02
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r117-2
b3ff02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b3ff02
b3ff02
* Fri Jun 06 2014 pjp <pjp@fedoraproject.org> - r117-1
b3ff02
- new release
b3ff02
- added lz4c & lz4cat manual pages.
b3ff02
b3ff02
* Sun Apr 13 2014 pjp <pjp@fedoraproject.org> - r116-1
b3ff02
- new release 116
b3ff02
- added lz4cat utility for posix systems
b3ff02
b3ff02
* Sat Mar 15 2014 pjp <pjp@fedoraproject.org> - r114-1
b3ff02
- new release r114
b3ff02
- added RPM_OPT_FLAGS to CFLAGS
b3ff02
- introduced a devel package to build liblz4
b3ff02
b3ff02
* Thu Jan 02 2014 pjp <pjp@fedoraproject.org> - r110-1
b3ff02
- new release r110
b3ff02
b3ff02
* Sun Nov 10 2013 pjp <pjp@fedoraproject.org> - r108-1
b3ff02
- new release r108
b3ff02
b3ff02
* Wed Oct 23 2013 pjp <pjp@fedoraproject.org> - r107-1
b3ff02
- new release r107
b3ff02
b3ff02
* Mon Oct 07 2013 pjp <pjp@fedoraproject.org> - r106-3
b3ff02
- fixed install section to replace /usr/ with a macro.
b3ff02
  -> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c5
b3ff02
b3ff02
* Sat Oct 05 2013 pjp <pjp@fedoraproject.org> - r106-2
b3ff02
- fixed install section above as suggested in the review.
b3ff02
  -> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c1
b3ff02
b3ff02
* Sun Sep 22 2013 pjp <pjp@fedoraproject.org> - r106-1
b3ff02
- Initial RPM release of lz4-r106