libmspack-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Name: libmspack
  2. Version: 0.5
  3. Release: 1%{?_dist_release}
  4. Summary: Library for CAB and related files compression and decompression
  5. Group: System Environment/Libraries
  6. License: LGPLv2
  7. URL: http://www.cabextract.org.uk/libmspack/
  8. Source0: http://www.cabextract.org.uk/libmspack/%{name}-%{version}alpha.tar.gz
  9. Patch0: %{name}-0.4alpha-doc.patch
  10. BuildRequires: doxygen
  11. %description
  12. The purpose of libmspack is to provide both compression and decompression of
  13. some loosely related file formats used by Microsoft.
  14. %package devel
  15. Summary: Development files for %{name}
  16. Group: Development/Libraries
  17. Requires: %{name} = %{version}-%{release}
  18. %description devel
  19. The %{name}-devel package contains libraries, header files and documentation
  20. for developing applications that use %{name}.
  21. %prep
  22. %setup -q -n %{name}-%{version}alpha
  23. %patch0 -p1
  24. chmod a-x mspack/mspack.h
  25. %build
  26. %configure --disable-static --disable-silent-rules
  27. make %{?_smp_mflags}
  28. %install
  29. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  30. rm $RPM_BUILD_ROOT%{_libdir}/libmspack.la
  31. iconv -f ISO_8859-1 -t utf8 ChangeLog --output Changelog.utf8
  32. touch -r ChangeLog Changelog.utf8
  33. mv Changelog.utf8 ChangeLog
  34. pushd doc
  35. doxygen
  36. find html -type f | xargs touch -r %{SOURCE0}
  37. rm -f html/installdox
  38. popd
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %doc README TODO COPYING.LIB ChangeLog AUTHORS
  43. %{_libdir}/*.so.*
  44. %files devel
  45. %doc doc/html
  46. %{_includedir}/*
  47. %{_libdir}/*.so
  48. %{_libdir}/pkgconfig/%{name}.pc
  49. %changelog
  50. * Wed Feb 11 2015 Toshiharu Kudoh <kudoh@vinelinux.org> - 0.5-1
  51. - new upstream release
  52. * Sat Aug 30 2014 Toshiharu Kudoh <kudoh@vinelinux.org> - 0.4-1
  53. - initial build for Vine Linux
  54. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.4.alpha
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  56. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.3.alpha
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  58. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.2.alpha
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  60. * Tue May 28 2013 Dan Horák <dan[at]danny.cz> - 0.4-0.1.alpha
  61. - updated to 0.4alpha
  62. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.4.alpha
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  64. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.3.alpha
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  66. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.2.alpha
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  68. * Mon May 16 2011 Dan Horák <dan[at]danny.cz> - 0.3-0.1.alpha
  69. - updated to 0.3alpha
  70. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-0.2.20100723alpha
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  72. * Mon Aug 30 2010 Dan Horák <dan[at]danny.cz> - 0.2-0.1.20100723alpha
  73. - updated to 0.2alpha released 2010/07/23
  74. - merged the doc subpackage with devel
  75. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-0.7.20060920alpha
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  77. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-0.6.20060920alpha
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Wed Feb 13 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.5-20060920alpha
  80. - Rebuild for gcc4.3
  81. * Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.4.20060920alpha
  82. - installed documentation into html subdir
  83. - manually installed doc's for main package
  84. * Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.3.20060920alpha
  85. - Got source using wget -N
  86. - Removed some doc's
  87. - Shifted doc line for doc package
  88. - Added install -p
  89. * Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.2.20060920alpha
  90. - Changed install script for doc package
  91. - Fixed rpmlint issue with debug package
  92. * Fri Jan 18 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 20060920cvs.a-1
  93. - Initial release