%{?mingw_package_header} Name: mingw-lz4 Version: 1.9.2 Release: 1%{?dist} Summary: Extremely fast compression algorithm License: GPLv2+ and BSD URL: https://lz4.github.io/lz4/ Source0: https://github.com/lz4/lz4/archive/v%{version}/lz4-%{version}.tar.gz BuildArch: noarch BuildRequires: mingw32-filesystem BuildRequires: mingw64-filesystem BuildRequires: mingw32-gcc BuildRequires: mingw64-gcc BuildRequires: cmake %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. # Mingw32 %package -n mingw32-lz4 Summary: Extremely fast compression algorithm %description -n mingw32-lz4 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. # Mingw64 %package -n mingw64-lz4 Summary: Extremely fast compression algorithm %description -n mingw64-lz4 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. %{?mingw_debug_package} %prep %autosetup -n lz4-%{version} %build %mingw_cmake \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_STATIC_LIBS=ON \ ../contrib/cmake_unofficial %mingw_make %{?_smp_mflags} %install %mingw_make_install DESTDIR=%{buildroot} find %{buildroot} -name \*.exe -delete find %{buildroot} -name liblz4.a -delete find %{buildroot} -name lz4.1 -delete find %{buildroot} -name lz4c.1 -delete find %{buildroot} -name lz4cat.1 -delete find %{buildroot} -name unlz4.1 -delete # Win32 %files -n mingw32-lz4 %doc lib/LICENSE %{mingw32_bindir}/liblz4.dll %{mingw32_includedir}/lz4*.h %{mingw32_libdir}/liblz4.dll.a %{mingw32_libdir}/pkgconfig/liblz4.pc # Win64 %files -n mingw64-lz4 %doc lib/LICENSE %{mingw64_bindir}/liblz4.dll %{mingw64_includedir}/lz4*.h %{mingw64_libdir}/liblz4.dll.a %{mingw64_libdir}/pkgconfig/liblz4.pc %changelog * Mon Apr 27 2020 David Woodhouse - 1.9.2-1 - Update to 1.9.2 * Sat Nov 24 2018 Andrew Gunnerson - 1.8.2-2.1 - Rebase off latest lz4 package * Fri Jul 13 2018 Fedora Release Engineering - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat May 12 2018 Igor Gnatenko - 1.8.2-1 - Update to 1.8.2 * Fri Feb 09 2018 Igor Gnatenko - 1.8.1.2-4 - Escape macros in %%changelog * Thu Feb 08 2018 Fedora Release Engineering - 1.8.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 Igor Gnatenko - 1.8.1.2-2 - Switch to %%ldconfig_scriptlets * Mon Jan 15 2018 Igor Gnatenko - 1.8.1.2-1 - Update to 1.8.1.2 * Sat Aug 19 2017 Igor Gnatenko - 1.8.0-1 - Update to 1.8.0 * Thu Aug 03 2017 Fedora Release Engineering - 1.7.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.7.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jul 08 2017 Igor Gnatenko - 1.7.5-4 - Split libs properly for multilib * Sat Mar 4 2017 Peter Robinson 1.7.5-3 - Split libs out to a sub package * Fri Feb 10 2017 Fedora Release Engineering - 1.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 05 2017 Igor Gnatenko - 1.7.5-1 - Update to 1.7.5 * Fri Nov 25 2016 Igor Gnatenko - 1.7.4.2-1 - Update to 1.7.4.2 (RHBZ #1397373) * Sat Nov 19 2016 Igor Gnatenko - 1.7.3-1 - Update to 1.7.3 (RHBZ #1395458) * Thu Feb 04 2016 Fedora Release Engineering - r131-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jul 06 2015 pjp - r131-1 - New: Dos/DJGPP target #114. - Added: Example using lz4frame library #118. - Changed: liblz4.a no longer compiled with -fPIC by default. * Thu Jun 18 2015 pjp - r130-1 - Fixed: incompatibility sparse mode vs console. - Fixed: LZ4IO exits too early when frame crc not present. - Fixed: incompatibility sparse mode vs append mode. - Performance fix: big compression speed boost for clang(+30%%). * Wed Jun 17 2015 Fedora Release Engineering - r129-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed May 27 2015 pjp - r129-1 - New LZ4_compress_fast() API. - New LZ4 CLI improved performance with multiple files. - Other bug fix and documentation updates. * Mon Apr 06 2015 pjp - r128-2 - Update files section to install unlz4 & its manual * Wed Apr 01 2015 pjp - r128-1 - lz4cli sparse file support - Restored lz4hc compression ratio - lz4 cli supports long commands - Introduced lz4-static sub package BZ#1208203 * Thu Jan 08 2015 pjp - r127-2 - Bump dist to override an earlier build. * Wed Jan 07 2015 pjp - r127-1 - Fixed a bug in LZ4 HC streaming mode - New lz4frame API integrated into liblz4 - Fixed a GCC 4.9 bug on highest performance settings * Thu Nov 13 2014 pjp - r124-1 - New LZ4 HC Streaming mode * Tue Sep 30 2014 pjp - r123-1 - Added experimental lz4frame API. - Fix s390x support. * Sat Aug 30 2014 pjp - r122-1 - new release - Fixed AIX & AIX64 support (SamG) - Fixed mips 64-bits support (lew van) * Sun Aug 17 2014 Fedora Release Engineering - r121-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 08 2014 Igor Gnatenko - r121-2 - fix destdir * Fri Aug 08 2014 pjp - r121-1 - new release - Added a pkg-config file. - Fixed a LZ4 streaming crash bug. * Thu Jul 03 2014 pjp - r119-1 - new release - Fixed a high Address allocation issue in 32-bits mode. * Sat Jun 28 2014 pjp - r118-1 - new release - install libraries under appropriate _libdir directories. * Sat Jun 14 2014 pjp - r117-3 - Move shared library object to -devel package. * Sat Jun 07 2014 pjp - r117-2 - Skip static library from installation. * Sat Jun 07 2014 Fedora Release Engineering - r117-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Jun 06 2014 pjp - r117-1 - new release - added lz4c & lz4cat manual pages. * Sun Apr 13 2014 pjp - r116-1 - new release 116 - added lz4cat utility for posix systems * Sat Mar 15 2014 pjp - r114-1 - new release r114 - added RPM_OPT_FLAGS to CFLAGS - introduced a devel package to build liblz4 * Thu Jan 02 2014 pjp - r110-1 - new release r110 * Sun Nov 10 2013 pjp - r108-1 - new release r108 * Wed Oct 23 2013 pjp - r107-1 - new release r107 * 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