xz-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. Summary: LZMA compression utilities
  2. Summary(ja): LZMA 圧縮ユーティリティ
  3. Name: xz
  4. Version: 5.6.2
  5. Release: 1%{?_dist_release}
  6. Group: accessories
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPLv2+
  10. URL: https://tukaani.org/xz/
  11. Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/%{name}-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. Requires: %{name}-libs = %{version}-%{release}
  14. %description
  15. XZ Utils are an attempt to make LZMA compression easy to use on free (as in
  16. freedom) operating systems. This is achieved by providing tools and libraries
  17. which are similar to use than the equivalents of the most popular existing
  18. compression algorithms.
  19. LZMA is a general purpose compression algorithm designed by Igor Pavlov as
  20. part of 7-Zip. It provides high compression ratio while keeping the
  21. decompression speed fast.
  22. %package libs
  23. Summary: Libraries for decoding LZMA compression
  24. Summary(ja): LZMA圧縮をデコードするためのライブラリ
  25. Group: system
  26. License: LGPLv2+
  27. %description libs
  28. Libraries for decoding files compressed with LZMA or XZ utils.
  29. %package devel
  30. Summary: Devel libraries & headers for liblzma
  31. Summary(ja): liblzma の開発ライブラリとヘッダファイル
  32. Group: programming
  33. License: LGPLv2+
  34. Requires: %{name}-libs = %{version}-%{release}
  35. Requires: pkgconfig
  36. %description devel
  37. Devel libraries and headers for liblzma.
  38. %package lzma-compat
  39. Summary: Older LZMA format compatibility binaries
  40. Summary(ja): 旧式のLZMAフォーマット互換バイナリ
  41. Group: accessories
  42. # lz{grep,diff,more} are GPLv2+. Other binaries are LGPLv2+
  43. License: GPLv2+ and LGPLv2+
  44. Requires: %{name} = %{version}-%{release}
  45. Obsoletes: lzma < 5
  46. Provides: lzma = 5
  47. %description lzma-compat
  48. The lzma-compat package contains compatibility links for older
  49. commands that deal with the older LZMA format.
  50. %debug_package
  51. %prep
  52. %setup -q
  53. %autopatch -p1
  54. %build
  55. CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
  56. %ifarch %ix86
  57. # rhbz#1630650, annocheck reports the following message because liblzma uses
  58. # crc*_x86.S asm code on i686:
  59. CFLAGS="$CFLAGS -Wa,--generate-missing-build-notes=yes"
  60. %endif
  61. CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
  62. %configure --enable-silent-rules --disable-static
  63. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  64. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  65. make %{?_smp_mflags}
  66. %install
  67. rm -rf %{buildroot}
  68. make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
  69. rm -f %{buildroot}/%{_libdir}/*.a
  70. rm -f %{buildroot}/%{_libdir}/*.la
  71. rm -rf %{buildroot}/%{_docdir}/%{name}
  72. %find_lang %{name}
  73. %check
  74. LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
  75. %clean
  76. rm -rf %{buildroot}
  77. %files
  78. %defattr(-,root,root,-)
  79. %license COPYING.*
  80. %doc AUTHORS README THANKS ChangeLog
  81. %{_bindir}/*xz*
  82. %{_mandir}/man1/*xz*
  83. %{_mandir}/de/man1/*xz*
  84. %{_mandir}/fr/man1/*xz*
  85. %{_mandir}/ko/man1/*xz*
  86. %{_mandir}/pt_BR/man1/*xz*
  87. %{_mandir}/ro/man1/*xz*
  88. %{_mandir}/uk/man1/*xz*
  89. %files libs -f %{name}.lang
  90. %defattr(-,root,root,-)
  91. %license COPYING.*
  92. %{_libdir}/lib*.so.*
  93. %files devel
  94. %defattr(-,root,root,-)
  95. %dir %{_includedir}/lzma
  96. %{_includedir}/lzma/*.h
  97. %{_includedir}/lzma.h
  98. %{_libdir}/*.so
  99. %{_libdir}/pkgconfig/liblzma.pc
  100. %files lzma-compat
  101. %defattr(-,root,root,-)
  102. %{_bindir}/*lz*
  103. %{_mandir}/man1/*lz*
  104. %{_mandir}/de/man1/*lz*
  105. %{_mandir}/fr/man1/*lz*
  106. %{_mandir}/ko/man1/*lz*
  107. %{_mandir}/pt_BR/man1/*lz*
  108. %{_mandir}/ro/man1/*lz*
  109. %{_mandir}/uk/man1/*lz*
  110. %changelog
  111. * Mon Jun 17 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.6.2-1
  112. - new upstream release.
  113. * Fri Oct 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.4.4-1
  114. - new upstream release.
  115. * Sun Feb 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.4.1-1
  116. - new upstream release.
  117. - dropped Patch1.
  118. * Wed Mar 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.5-2
  119. - imported Patch1 from upstream.
  120. - dropped scriptlets.
  121. * Thu Jul 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.5-1
  122. - new upstream release.
  123. * Fri Sep 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.4-1
  124. - new upstream release.
  125. * Thu Nov 10 2016 Toshiaki Ara <ara_t@384.jp> 5.2.2-1
  126. - new upstream release
  127. * Fri Oct 3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.0.5-3
  128. - moved lzma-compat to Applications/Archiving Group
  129. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.5-2
  130. - rebuild with VineSeed environment
  131. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.5-1
  132. - new upstream release
  133. * Fri Oct 19 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.0.4-1
  134. - new upstream release
  135. * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.0.2-1
  136. - new upstream release
  137. - fix Group: <BTS:VineLinux:1119>
  138. - add Vendor and Distribution tags
  139. * Fri Jan 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0.0-1
  140. - new upstream release
  141. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.999.9-2
  142. - rebuild with rpm-4.8.1 for pkg-config file
  143. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-1
  144. - initial build for Vine Linux
  145. * Thu Feb 18 2010 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.2.20091007.beta
  146. - move xz man pages to main package, leave lzma ones where they belong (#566484)
  147. * Wed Oct 07 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091007.beta
  148. - sync with upstream again
  149. * Fri Oct 02 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091002.beta
  150. - sync with upstream to generate the same archives on machines with different
  151. endianess
  152. * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.beta
  153. - update to 4.999.9beta
  154. * Mon Aug 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.10.beta.20090817git
  155. - sync with upstream because of #517806
  156. * Tue Aug 04 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.9.beta.20090804git
  157. - update to the latest GIT snapshot
  158. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.999.8-0.8.beta
  159. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  160. * Fri Jul 17 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.7.beta
  161. - tweak summary
  162. - add %%check section (<tibbs@math.uh.edu>)
  163. * Thu Jul 09 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.6.beta
  164. - fix release versioning to match guidelines
  165. - fix up lzma-compat summary/description
  166. - tweak licensing
  167. * Mon Jun 22 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.5
  168. - introduce lzma-compat subpackage
  169. * Fri Jun 19 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.4
  170. - try to not to conflict with lzma
  171. * Thu Jun 18 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.3
  172. - obsolete but don't provide lzma, they are largely incompatible
  173. - put beta to Release
  174. * Wed Jun 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.2
  175. - obsolete old lzma
  176. - add Requires: pkgconfig
  177. * Tue Jun 16 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.1
  178. - package XZ Utils, based on LZMA Utils packaged by Per Patrice Bouchand