lzma-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Summary: LZMA utils
  2. Summary(ja): LZMA ユーティリティ
  3. Name: lzma
  4. Version: 4.32.7
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Archiving
  8. Source0: http://tukaani.org/%{name}/%{name}-%{version}.tar.gz
  9. URL: http://tukaani.org/%{name}/
  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. Group: System Environment/Libraries
  21. License: LGPLv2+
  22. %description libs
  23. Libraries for decoding LZMA compression.
  24. %package devel
  25. Summary: Devel libraries & headers for liblzmadec
  26. Group: Development/Libraries
  27. License: LGPLv2+
  28. Requires: %{name}-libs = %{version}-%{release}
  29. %description devel
  30. Devel libraries & headers for liblzmadec.
  31. %prep
  32. %setup -q -n %{name}-%{version}
  33. %build
  34. CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  35. CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
  36. %configure --disable-static
  37. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  38. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf %{buildroot}
  42. make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
  43. rm -f %{buildroot}/%{_libdir}/*.a
  44. rm -f %{buildroot}/%{_libdir}/*.la
  45. %clean
  46. rm -rf %{buildroot}
  47. %post libs -p /sbin/ldconfig
  48. %postun libs -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc README THANKS COPYING.* ChangeLog AUTHORS
  52. %{_bindir}/*
  53. %{_mandir}/man1/*
  54. %files libs
  55. %defattr(-,root,root,-)
  56. %doc COPYING.*
  57. %{_libdir}/lib*.so.*
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %{_includedir}/*.h
  61. %{_libdir}/*.so
  62. %changelog
  63. * Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.32.7-1
  64. - new upstream release
  65. - spec in UTF-8
  66. - changed Group to Applications/Archiving
  67. * Wed Apr 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.32.5-1
  68. - initial build for Vine Linux
  69. * Sat Feb 09 2008 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.5-1
  70. - Switch to version 4.32.5
  71. * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-2
  72. - Forgot to upload new sources, bumping...
  73. * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-1
  74. - 'make tag' problems, bumping...
  75. * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-0
  76. - Switch to version 4.32.2
  77. * Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.6.beta5
  78. - More clean-up in spec and use beta5 release
  79. * Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.5.beta3
  80. - More clean-up in spec
  81. * Thu Jul 25 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.4.beta3
  82. - Add COPYING, remove *.a and *.la file, make description shorter
  83. * Thu Jul 19 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.3.beta3
  84. - Add dist and _smp_mflags
  85. * Tue Jul 17 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.2.beta3
  86. - Clean-up in spec.
  87. * Sun Jul 15 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.1.beta3
  88. - Initial Fedora release (inspired by mandriva spec)