lzma-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Summary: LZMA utils
  2. Summary(ja): LZMA ユーティリティ
  3. Name: lzma
  4. Version: 4.32.7
  5. Release: 2%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Archiving
  8. URL: http://tukaani.org/%{name}/
  9. Source0: http://tukaani.org/%{name}/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Requires: %{name}-libs = %{version}-%{release}
  12. %description
  13. LZMA provides very high compression ratio and fast decompression. The
  14. core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual
  15. LZMA encoder/decoder. LZMA utils add a few scripts which provide
  16. gzip-like command line interface and a couple of other LZMA related
  17. tools.
  18. %package libs
  19. Summary: Libraries for decoding LZMA compression
  20. Summary(ja): LZMA圧縮をデコードするためのライブラリ
  21. Group: System Environment/Libraries
  22. License: LGPLv2+
  23. %description libs
  24. Libraries for decoding LZMA compression.
  25. %package devel
  26. Summary: Devel libraries & headers for liblzmadec
  27. Summary(ja): liblzmadec の開発ライブラリとヘッダファイル
  28. Group: Development/Libraries
  29. License: LGPLv2+
  30. Requires: %{name}-libs = %{version}-%{release}
  31. %description devel
  32. Devel libraries & headers for liblzmadec.
  33. %prep
  34. %setup -q -n %{name}-%{version}
  35. %build
  36. CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  37. CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  38. %configure --disable-static
  39. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  40. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf %{buildroot}
  44. make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
  45. rm -f %{buildroot}/%{_libdir}/*.a
  46. rm -f %{buildroot}/%{_libdir}/*.la
  47. %clean
  48. rm -rf %{buildroot}
  49. %post libs -p /sbin/ldconfig
  50. %postun libs -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc README THANKS COPYING.* ChangeLog AUTHORS
  54. %{_bindir}/*
  55. %{_mandir}/man1/*
  56. %files libs
  57. %defattr(-,root,root,-)
  58. %doc COPYING.*
  59. %{_libdir}/lib*.so.*
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %{_includedir}/*.h
  63. %{_libdir}/*.so
  64. %changelog
  65. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.32.7-2
  66. - rebuilt with current VineSeed
  67. * Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.32.7-1
  68. - new upstream release
  69. - spec in UTF-8
  70. - changed Group to Applications/Archiving
  71. * Wed Apr 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.32.5-1
  72. - initial build for Vine Linux
  73. * Sat Feb 09 2008 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.5-1
  74. - Switch to version 4.32.5
  75. * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-2
  76. - Forgot to upload new sources, bumping...
  77. * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-1
  78. - 'make tag' problems, bumping...
  79. * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-0
  80. - Switch to version 4.32.2
  81. * Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.6.beta5
  82. - More clean-up in spec and use beta5 release
  83. * Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.5.beta3
  84. - More clean-up in spec
  85. * Thu Jul 25 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.4.beta3
  86. - Add COPYING, remove *.a and *.la file, make description shorter
  87. * Thu Jul 19 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.3.beta3
  88. - Add dist and _smp_mflags
  89. * Tue Jul 17 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.2.beta3
  90. - Clean-up in spec.
  91. * Sun Jul 15 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.1.beta3
  92. - Initial Fedora release (inspired by mandriva spec)