liblzma0-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Summary: Compatibility libraries for decoding LZMA compression
  2. Summary(ja): LZMA圧縮をデコードするための互換ライブラリ
  3. Name: liblzma0
  4. Version: 4.999.9
  5. Release: 3%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. Source0: http://tukaani.org/xz/xz-%{version}beta.tar.bz2
  9. URL: http://tukaani.org/xz/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. Conflicts: xz-libs < %{version}-%{release}
  12. %description
  13. Compatibility libraries for decoding files compressed with LZMA or XZ utils.
  14. XZ Utils are an attempt to make LZMA compression easy to use on free (as in
  15. freedom) operating systems. This is achieved by providing tools and libraries
  16. which are similar to use than the equivalents of the most popular existing
  17. compression algorithms.
  18. %prep
  19. %setup -q -n xz-%{version}beta
  20. %build
  21. CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  22. CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  23. %configure --disable-static
  24. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  25. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf %{buildroot}
  29. mkdir -p %{buildroot}%{_libdir}
  30. cp -r src/liblzma/.libs/liblzma.so.0* %{buildroot}%{_libdir}
  31. %clean
  32. rm -rf %{buildroot}
  33. %post -p /sbin/ldconfig
  34. %postun -p /sbin/ldconfig
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc AUTHORS README THANKS COPYING.* ChangeLog
  38. %{_libdir}/lib*.so.*
  39. %changelog
  40. * Fri Jan 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-3
  41. - rename to liblzma0 to build as compatibility package.
  42. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.999.9-2
  43. - rebuild with rpm-4.8.1 for pkg-config file
  44. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-1
  45. - initial build for Vine Linux
  46. * Thu Feb 18 2010 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.2.20091007.beta
  47. - move xz man pages to main package, leave lzma ones where they belong (#566484)
  48. * Wed Oct 07 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091007.beta
  49. - sync with upstream again
  50. * Fri Oct 02 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091002.beta
  51. - sync with upstream to generate the same archives on machines with different
  52. endianess
  53. * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.beta
  54. - update to 4.999.9beta
  55. * Mon Aug 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.10.beta.20090817git
  56. - sync with upstream because of #517806
  57. * Tue Aug 04 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.9.beta.20090804git
  58. - update to the latest GIT snapshot
  59. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.999.8-0.8.beta
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Fri Jul 17 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.7.beta
  62. - tweak summary
  63. - add %%check section (<tibbs@math.uh.edu>)
  64. * Thu Jul 09 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.6.beta
  65. - fix release versioning to match guidelines
  66. - fix up lzma-compat summary/description
  67. - tweak licensing
  68. * Mon Jun 22 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.5
  69. - introduce lzma-compat subpackage
  70. * Fri Jun 19 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.4
  71. - try to not to conflict with lzma
  72. * Thu Jun 18 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.3
  73. - obsolete but don't provide lzma, they are largely incompatible
  74. - put beta to Release
  75. * Wed Jun 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.2
  76. - obsolete old lzma
  77. - add Requires: pkgconfig
  78. * Tue Jun 16 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.1
  79. - package XZ Utils, based on LZMA Utils packaged by Per Patrice Bouchand