lzip-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Name: lzip
  2. Version: 1.18
  3. Release: 1%{?_dist_release}
  4. Summary: LZMA compressor with integrity checking
  5. Group: Applications/Archiving
  6. License: GPLv3+
  7. URL: http://www.nongnu.org/lzip/lzip.html
  8. Source0: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz
  9. # 2009-02-15: sent to upstream bug report mailinglist lzip-bug@nongnu.org
  10. #Patch0: lzip-1.4-missing_cstdio.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires(post): /sbin/install-info
  13. Requires(preun): /sbin/install-info
  14. %description
  15. Lzip compresses data using LZMA (Lempel-Ziv-Markov chain-Algorithm). It
  16. supports integrity checking using CRC (Cyclic Redundancy Check). To archive
  17. multiple files, tar can be used with lzip. Please note, that the lzip file
  18. format (.lz) is not compatible with the lzma file format (.lzma).
  19. %prep
  20. %setup -q
  21. #%patch0 -p1 -b .missing_cstdio
  22. %build
  23. %configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make install install-man DESTDIR=$RPM_BUILD_ROOT
  28. # if install-info is present, this is created by upstream's makefile
  29. rm -Rf $RPM_BUILD_ROOT%{_infodir}/dir
  30. %check
  31. make check
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %post
  35. /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
  36. %preun
  37. if [ $1 = 0 ] ; then
  38. /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
  39. fi
  40. %files
  41. %defattr(-,root,root,-)
  42. # TODO is currently empty
  43. %doc AUTHORS ChangeLog COPYING NEWS README
  44. %{_bindir}/*
  45. %{_infodir}/lzip.info*
  46. %{_mandir}/man1/*
  47. %changelog
  48. * Sat Jul 09 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.18-1
  49. - new upstream release
  50. * Sat Apr 23 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.17-1
  51. - new upstream release
  52. * Wed Feb 11 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.16-1
  53. - new upstream release
  54. * Sat Oct 12 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.15-1
  55. - new upstream release
  56. * Sat Mar 16 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.14-1
  57. - new upstream release
  58. * Mon Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.13-1
  59. - Update to new release
  60. - dropt patch0
  61. * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.12-1
  62. - Update to new release
  63. * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.11-1
  64. - Update to new release
  65. * Sun May 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.10-1
  66. - Update to new release
  67. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9-1
  68. - Update to new release
  69. * Sun Sep 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.8-1
  70. - Update to new release
  71. * Thu Jul 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7-1
  72. - Update to new release
  73. * Wed Jun 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6-1
  74. - Update to new release
  75. - dropt Source1
  76. * Fri Apr 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5-1
  77. - Update to new release
  78. - spec in UTF-8
  79. * Thu Apr 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-2
  80. - changed Group to Applications/Archiving
  81. * Sat Apr 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-1vl5
  82. - initial build for VineSeed (import Fedora Package)
  83. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  85. * Sun Feb 15 2009 Till Maas <opensource@till.name> - 1.4-1
  86. - Update to new release
  87. - Add compile fixes for gcc 4.4 (missing #include <cstdio.h>)
  88. * Thu Nov 27 2008 Till Maas <opensource@till.name> - 1.1-2
  89. - fix type in summary
  90. - call testsuite in %%check
  91. - remove empty TODO file from %%doc
  92. * Wed Nov 26 2008 Till Maas <opensource@till.name> - 1.1-1
  93. - Initial spec for Fedora