libmspack-vl.spec 4.3 KB

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