libarchive-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Name: libarchive
  2. Summary: A library for handling streaming archive formats
  3. Version: 3.5.2
  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. Patch0: libarchive-3.5.2-symlink-fix.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: bzip2-devel
  14. BuildRequires: libacl-devel
  15. BuildRequires: libattr-devel
  16. BuildRequires: libxml2-devel
  17. BuildRequires: libzstd-devel
  18. BuildRequires: lz4-devel
  19. BuildRequires: openssl-devel
  20. BuildRequires: xz-devel
  21. BuildRequires: zlib-devel
  22. %description
  23. Libarchive is a programming library that can create and read several different
  24. streaming archive formats, including most popular tar variants, several cpio
  25. formats, and both BSD and GNU ar variants. It can also write shar archives and
  26. read ISO9660 CDROM images and ZIP archives.
  27. %package devel
  28. Summary: Development files for %{name}
  29. Group: programming
  30. Requires: %{name} = %{version}-%{release}
  31. %description devel
  32. The %{name}-devel package contains libraries and header files for
  33. developing applications that use %{name}.
  34. %debug_package
  35. %prep
  36. %autosetup -p1
  37. %build
  38. %configure \
  39. --disable-static \
  40. --disable-bsdtar --disable-bsdcpio --disable-bsdcat
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install DESTDIR=$RPM_BUILD_ROOT
  45. #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  47. find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
  48. find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
  49. find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %defattr(-,root,root,-)
  54. %license COPYING
  55. %doc README* NEWS
  56. %{_libdir}/*.so.*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %doc
  60. %{_includedir}/*
  61. %{_mandir}/*/*
  62. %{_libdir}/*.so
  63. %{_libdir}/pkgconfig/*.pc
  64. %changelog
  65. * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.2-1
  66. - new upstream release.
  67. - built with openssl-3.0.0.
  68. - imported Patch0 from rawhide.
  69. - dropped ldconfig scriptlets.
  70. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-1
  71. - new upstream release.
  72. * Thu Jul 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.3-1
  73. - new upstream release.
  74. - added BR:lz4-devel.
  75. - added BR:libzstd-devel.
  76. * Sun Feb 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.2-1
  77. - new upstream release.
  78. * Sat Oct 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1
  79. - new upstream release.
  80. * Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.3-1
  81. - new upstream release.
  82. * Tue Dec 19 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.2-1
  83. - new upstream release.
  84. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  85. - new upstream release
  86. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  87. - update to 3.1.2
  88. * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  89. - new upstream release
  90. * Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4
  91. - add BuildRequires: openssl-devel, libxml2-devel
  92. * Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3
  93. - rebuild against liblzma.so.5
  94. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2
  95. - rebuild with rpm-4.8.1 for pkg-config file
  96. * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
  97. - new upstream release
  98. * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
  99. - new upstream release
  100. - built with new toolchain
  101. * Tue Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  102. - new upstream release
  103. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
  104. - Build for Vine Linux
  105. * Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
  106. - Initial packaging