xz-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. Summary: LZMA compression utilities
  2. Summary(ja): LZMA 圧縮ユーティリティ
  3. Name: xz
  4. Version: 5.0.5
  5. Release: 3%{?_dist_release}
  6. License: LGPLv2+
  7. Group: Applications/Archiving
  8. Source0: http://tukaani.org/%{name}/%{name}-%{version}.tar.xz
  9. URL: http://tukaani.org/%{name}/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. Requires: %{name}-libs = %{version}-%{release}
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  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 Environment/Libraries
  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: Development/Libraries
  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: Applications/Archiving
  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. %prep
  51. %setup -q
  52. %build
  53. CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  54. CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  55. %configure --enable-silent-rules --disable-static
  56. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  57. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  58. make %{?_smp_mflags}
  59. %install
  60. rm -rf %{buildroot}
  61. make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
  62. rm -f %{buildroot}/%{_libdir}/*.a
  63. rm -f %{buildroot}/%{_libdir}/*.la
  64. rm -rf %{buildroot}/%{_docdir}/%{name}
  65. %find_lang %{name}
  66. %check
  67. LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
  68. %clean
  69. rm -rf %{buildroot}
  70. %post libs -p /sbin/ldconfig
  71. %postun libs -p /sbin/ldconfig
  72. %files
  73. %defattr(-,root,root,-)
  74. %doc AUTHORS README THANKS COPYING.* ChangeLog
  75. %{_bindir}/*xz*
  76. %{_mandir}/man1/*xz*
  77. %files libs -f %{name}.lang
  78. %defattr(-,root,root,-)
  79. %doc COPYING.*
  80. %{_libdir}/lib*.so.*
  81. %files devel
  82. %defattr(-,root,root,-)
  83. %dir %{_includedir}/lzma
  84. %{_includedir}/lzma/*.h
  85. %{_includedir}/lzma.h
  86. %{_libdir}/*.so
  87. %{_libdir}/pkgconfig/liblzma.pc
  88. %files lzma-compat
  89. %defattr(-,root,root,-)
  90. %{_bindir}/*lz*
  91. %{_mandir}/man1/*lz*
  92. %changelog
  93. * Fri Oct 3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.0.5-3
  94. - moved lzma-compat to Applications/Archiving Group
  95. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.5-2
  96. - rebuild with VineSeed environment
  97. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.5-1
  98. - new upstream release
  99. * Fri Oct 19 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.0.4-1
  100. - new upstream release
  101. * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.0.2-1
  102. - new upstream release
  103. - fix Group: <BTS:VineLinux:1119>
  104. - add Vendor and Distribution tags
  105. * Fri Jan 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0.0-1
  106. - new upstream release
  107. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.999.9-2
  108. - rebuild with rpm-4.8.1 for pkg-config file
  109. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-1
  110. - initial build for Vine Linux
  111. * Thu Feb 18 2010 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.2.20091007.beta
  112. - move xz man pages to main package, leave lzma ones where they belong (#566484)
  113. * Wed Oct 07 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091007.beta
  114. - sync with upstream again
  115. * Fri Oct 02 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091002.beta
  116. - sync with upstream to generate the same archives on machines with different
  117. endianess
  118. * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.beta
  119. - update to 4.999.9beta
  120. * Mon Aug 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.10.beta.20090817git
  121. - sync with upstream because of #517806
  122. * Tue Aug 04 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.9.beta.20090804git
  123. - update to the latest GIT snapshot
  124. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.999.8-0.8.beta
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  126. * Fri Jul 17 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.7.beta
  127. - tweak summary
  128. - add %%check section (<tibbs@math.uh.edu>)
  129. * Thu Jul 09 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.6.beta
  130. - fix release versioning to match guidelines
  131. - fix up lzma-compat summary/description
  132. - tweak licensing
  133. * Mon Jun 22 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.5
  134. - introduce lzma-compat subpackage
  135. * Fri Jun 19 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.4
  136. - try to not to conflict with lzma
  137. * Thu Jun 18 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.3
  138. - obsolete but don't provide lzma, they are largely incompatible
  139. - put beta to Release
  140. * Wed Jun 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.2
  141. - obsolete old lzma
  142. - add Requires: pkgconfig
  143. * Tue Jun 16 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.1
  144. - package XZ Utils, based on LZMA Utils packaged by Per Patrice Bouchand