lz4-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. Name: lz4
  2. Summary: Extremely fast compression algorithm
  3. Version: 1.9.3
  4. Release: 3%{?_dist_release}
  5. Group: accessories
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: tomop
  9. License: GPLv2+ and BSD
  10. URL: https://lz4.github.io/lz4/
  11. Source0: https://github.com/Cyan4973/lz4/archive/v%{version}/%{name}-%{version}.tar.gz
  12. Patch1000: CVE-2021-3520.patch
  13. %description
  14. LZ4 is an extremely fast loss-less compression algorithm, providing compression
  15. speed at 400 MB/s per core, scalable with multi-core CPU. It also features
  16. an extremely fast decoder, with speed in multiple GB/s per core, typically
  17. reaching RAM speed limits on multi-core systems.
  18. %package libs
  19. Summary: Libaries for lz4
  20. Group: system
  21. %description libs
  22. This package contains the libaries for lz4.
  23. %package devel
  24. Summary: Development files for lz4
  25. Group: programming
  26. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  27. %description devel
  28. This package contains the header(.h) and library(.so) files required to build
  29. applications using liblz4 library.
  30. %package static
  31. Summary: Static library for lz4
  32. Group: programming
  33. %description static
  34. LZ4 is an extremely fast loss-less compression algorithm. This package
  35. contains static libraries for static linking of applications.
  36. %debug_package
  37. %prep
  38. %autosetup -p1
  39. echo '#!/bin/sh' > ./configure
  40. chmod +x ./configure
  41. %build
  42. %configure
  43. %make_build
  44. %install
  45. rm -rf %{buildroot}
  46. #configure
  47. %make_install LIBDIR=%{_libdir} PREFIX=%{_prefix} INSTALL="install -p"
  48. %clean
  49. rm -rf %{buildroot}
  50. %files
  51. %license programs/COPYING
  52. %doc NEWS
  53. %{_bindir}/lz4
  54. %{_bindir}/lz4c
  55. %{_bindir}/lz4cat
  56. %{_bindir}/unlz4
  57. %{_mandir}/man1/lz4.1*
  58. %{_mandir}/man1/lz4c.1*
  59. %{_mandir}/man1/lz4cat.1*
  60. %{_mandir}/man1/unlz4.1*
  61. %files libs
  62. %license lib/LICENSE
  63. %{_libdir}/liblz4.so.*
  64. %files devel
  65. %license lib/LICENSE
  66. %{_includedir}/lz4*.h
  67. %{_libdir}/liblz4.so
  68. %{_libdir}/pkgconfig/liblz4.pc
  69. %files static
  70. %license lib/LICENSE
  71. %{_libdir}/liblz4.a
  72. %changelog
  73. * Fri Aug 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.3-3
  74. - dropped ldconfig scriptlets.
  75. * Mon Jun 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.3-2
  76. - imported Patch1000 from upstream to fix CVE-2021-3520.
  77. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.3-1
  78. - new upstream release.
  79. * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.2-1
  80. - new upstream release.
  81. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.1-1
  82. - new upstream release.
  83. * Fri Sep 08 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.0-2
  84. - initial build for Vine Linux.
  85. * Sat Aug 19 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-1
  86. - Update to 1.8.0
  87. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-6
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  89. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-5
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  91. * Sat Jul 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.7.5-4
  92. - Split libs properly for multilib
  93. * Sat Mar 4 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.7.5-3
  94. - Split libs out to a sub package
  95. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-2
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  97. * Thu Jan 05 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.5-1
  98. - Update to 1.7.5
  99. * Fri Nov 25 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.4.2-1
  100. - Update to 1.7.4.2 (RHBZ #1397373)
  101. * Sat Nov 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.3-1
  102. - Update to 1.7.3 (RHBZ #1395458)
  103. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - r131-2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  105. * Mon Jul 06 2015 pjp <pjp@fedoraproject.org> - r131-1
  106. - New: Dos/DJGPP target #114.
  107. - Added: Example using lz4frame library #118.
  108. - Changed: liblz4.a no longer compiled with -fPIC by default.
  109. * Thu Jun 18 2015 pjp <pjp@fedoraproject.org> - r130-1
  110. - Fixed: incompatibility sparse mode vs console.
  111. - Fixed: LZ4IO exits too early when frame crc not present.
  112. - Fixed: incompatibility sparse mode vs append mode.
  113. - Performance fix: big compression speed boost for clang(+30%).
  114. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r129-2
  115. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  116. * Wed May 27 2015 pjp <pjp@fedoraproject.org> - r129-1
  117. - New LZ4_compress_fast() API.
  118. - New LZ4 CLI improved performance with multiple files.
  119. - Other bug fix and documentation updates.
  120. * Mon Apr 06 2015 pjp <pjp@fedoraproject.org> - r128-2
  121. - Update files section to install unlz4 & its manual
  122. * Wed Apr 01 2015 pjp <pjp@fedoraproject.org> - r128-1
  123. - lz4cli sparse file support
  124. - Restored lz4hc compression ratio
  125. - lz4 cli supports long commands
  126. - Introduced lz4-static sub package BZ#1208203
  127. * Thu Jan 08 2015 pjp <pjp@fedoraproject.org> - r127-2
  128. - Bump dist to override an earlier build.
  129. * Wed Jan 07 2015 pjp <pjp@fedoraproject.org> - r127-1
  130. - Fixed a bug in LZ4 HC streaming mode
  131. - New lz4frame API integrated into liblz4
  132. - Fixed a GCC 4.9 bug on highest performance settings
  133. * Thu Nov 13 2014 pjp <pjp@fedoraproject.org> - r124-1
  134. - New LZ4 HC Streaming mode
  135. * Tue Sep 30 2014 pjp <pjp@fedoraproject.org> - r123-1
  136. - Added experimental lz4frame API.
  137. - Fix s390x support.
  138. * Sat Aug 30 2014 pjp <pjp@fedoraproject.org> - r122-1
  139. - new release
  140. - Fixed AIX & AIX64 support (SamG)
  141. - Fixed mips 64-bits support (lew van)
  142. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r121-3
  143. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  144. * Fri Aug 08 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - r121-2
  145. - fix destdir
  146. * Fri Aug 08 2014 pjp <pjp@fedoraproject.org> - r121-1
  147. - new release
  148. - Added a pkg-config file.
  149. - Fixed a LZ4 streaming crash bug.
  150. * Thu Jul 03 2014 pjp <pjp@fedoraproject.org> - r119-1
  151. - new release
  152. - Fixed a high Address allocation issue in 32-bits mode.
  153. * Sat Jun 28 2014 pjp <pjp@fedoraproject.org> - r118-1
  154. - new release
  155. - install libraries under appropriate _libdir directories.
  156. * Sat Jun 14 2014 pjp <pjp@fedoraproject.org> - r117-3
  157. - Move shared library object to -devel package.
  158. * Sat Jun 07 2014 pjp <pjp@fedoraproject.org> - r117-2
  159. - Skip static library from installation.
  160. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r117-2
  161. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  162. * Fri Jun 06 2014 pjp <pjp@fedoraproject.org> - r117-1
  163. - new release
  164. - added lz4c & lz4cat manual pages.
  165. * Sun Apr 13 2014 pjp <pjp@fedoraproject.org> - r116-1
  166. - new release 116
  167. - added lz4cat utility for posix systems
  168. * Sat Mar 15 2014 pjp <pjp@fedoraproject.org> - r114-1
  169. - new release r114
  170. - added RPM_OPT_FLAGS to CFLAGS
  171. - introduced a devel package to build liblz4
  172. * Thu Jan 02 2014 pjp <pjp@fedoraproject.org> - r110-1
  173. - new release r110
  174. * Sun Nov 10 2013 pjp <pjp@fedoraproject.org> - r108-1
  175. - new release r108
  176. * Wed Oct 23 2013 pjp <pjp@fedoraproject.org> - r107-1
  177. - new release r107
  178. * Mon Oct 07 2013 pjp <pjp@fedoraproject.org> - r106-3
  179. - fixed install section to replace /usr/ with a macro.
  180. -> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c5
  181. * Sat Oct 05 2013 pjp <pjp@fedoraproject.org> - r106-2
  182. - fixed install section above as suggested in the review.
  183. -> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c1
  184. * Sun Sep 22 2013 pjp <pjp@fedoraproject.org> - r106-1
  185. - Initial RPM release of lz4-r106