libarchive-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. Name: libarchive
  2. Summary: A library for handling streaming archive formats
  3. Version: 3.7.4
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: BSD
  9. URL: https://www.libarchive.org/
  10. Source0: https://www.libarchive.org/downloads/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: bzip2-devel
  13. BuildRequires: libacl-devel
  14. BuildRequires: libattr-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libzstd-devel
  17. BuildRequires: lz4-devel
  18. BuildRequires: openssl-devel
  19. BuildRequires: xz-devel
  20. BuildRequires: zlib-devel
  21. %description
  22. Libarchive is a programming library that can create and read several different
  23. streaming archive formats, including most popular tar variants, several cpio
  24. formats, and both BSD and GNU ar variants. It can also write shar archives and
  25. read ISO9660 CDROM images and ZIP archives.
  26. %package devel
  27. Summary: Development files for %{name}
  28. Group: programming
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. The %{name}-devel package contains libraries and header files for
  32. developing applications that use %{name}.
  33. %debug_package
  34. %prep
  35. %autosetup -p1
  36. # When configured against OpenSSL 1.1, the RIPEMD-160 support was not detected,
  37. # so it was not compiled in previously. With OpenSSL 3.0, it's now detected as
  38. # being available, but it only actually works when the legacy provider is
  39. # loaded, which breaks the RIPEMD-160 test. This patch disables the RIPEMD-160
  40. # support explicitly.
  41. sed -i -e '/RMD160, OPENSSL, rmd160/d' configure.ac
  42. autoreconf -vif
  43. %build
  44. %configure \
  45. --disable-static \
  46. --disable-bsdtar \
  47. --disable-bsdcpio \
  48. --disable-bsdcat \
  49. --disable-bsdunzip
  50. make %{?_smp_mflags}
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. make install DESTDIR=$RPM_BUILD_ROOT
  54. #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
  55. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  56. find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
  57. find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
  58. find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. %files
  62. %defattr(-,root,root,-)
  63. %license COPYING
  64. %doc README* NEWS
  65. %{_libdir}/*.so.*
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %doc
  69. %{_includedir}/*
  70. %{_mandir}/*/*
  71. %{_libdir}/*.so
  72. %{_libdir}/pkgconfig/*.pc
  73. %changelog
  74. * Wed May 01 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.4-1
  75. - new upstream release.
  76. * Tue Apr 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.3-1
  77. - new upstream release.
  78. * Tue Sep 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.2-1
  79. - new upstream release.
  80. * Mon Jul 31 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.1-1
  81. - new upstream release.
  82. * Sat Dec 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.2-1
  83. - new upstream release.
  84. - dropped Patch0001: maede to get the same effect by sed.
  85. - dropped Patch1000: fixed in upstream.
  86. * Tue Nov 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.1-2
  87. - imported Patch1000 from upstream to fix CVE-2022-36227.
  88. * Fri May 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.1-1
  89. - new upstream release.
  90. - dropped Patch0: fixed in upstream.
  91. - imported Patch0001 from rawhide.
  92. * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.2-1
  93. - new upstream release.
  94. - built with openssl-3.0.0.
  95. - imported Patch0 from rawhide.
  96. - dropped ldconfig scriptlets.
  97. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-1
  98. - new upstream release.
  99. * Thu Jul 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.3-1
  100. - new upstream release.
  101. - added BR:lz4-devel.
  102. - added BR:libzstd-devel.
  103. * Sun Feb 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.2-1
  104. - new upstream release.
  105. * Sat Oct 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1
  106. - new upstream release.
  107. * Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.3-1
  108. - new upstream release.
  109. * Tue Dec 19 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.2-1
  110. - new upstream release.
  111. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  112. - new upstream release
  113. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  114. - update to 3.1.2
  115. * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  116. - new upstream release
  117. * Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4
  118. - add BuildRequires: openssl-devel, libxml2-devel
  119. * Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3
  120. - rebuild against liblzma.so.5
  121. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2
  122. - rebuild with rpm-4.8.1 for pkg-config file
  123. * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
  124. - new upstream release
  125. * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
  126. - new upstream release
  127. - built with new toolchain
  128. * Tue Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  129. - new upstream release
  130. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
  131. - Build for Vine Linux
  132. * Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
  133. - Initial packaging