libwpg-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Name: libwpg
  2. Summary: Library for reading WordPerfect Graphics images
  3. Version: 0.2.2
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPLv2+
  7. URL: http://libwpg.sourceforge.net/
  8. Source0: http://download.sourceforge.net/libwpg/%{name}-%{version}.tar.xz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: libwpd-devel >= 0.9
  11. BuildRequires: doxygen
  12. %description
  13. Libwpg project is a library and to work with graphics in WPG
  14. (WordPerfect Graphics) format. WPG is the format used among others
  15. in Corel sofware, such as WordPerfect and Presentations.
  16. %package devel
  17. Summary: Development files for %{name}
  18. Group: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. %description devel
  21. The %{name}-devel package contains libraries and header files for
  22. developing applications that use %{name}.
  23. %package tools
  24. Summary: Tools to convert WordPerfect Graphics images
  25. Group: Applications/Publishing
  26. %description tools
  27. This package contains tools to work with graphics in WPG (WordPerfect
  28. Graphics) format. WPG is the format used among others in Corel sofware,
  29. such as WordPerfect and Presentations.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure
  34. make %{?_smp_mflags}
  35. sed 's/\r//' -i ChangeLog
  36. find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. # Documentation is intentionally not installed here,
  40. # it is included as -devel %%doc
  41. make SUBDIRS="" install DESTDIR=$RPM_BUILD_ROOT
  42. make -C src install DESTDIR=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
  44. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc AUTHORS ChangeLog COPYING
  52. %{_libdir}/*.so.*
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %doc COPYING docs/doxygen/html
  56. %{_includedir}/*
  57. %{_libdir}/*.so
  58. %{_libdir}/pkgconfig/*.pc
  59. %files tools
  60. %defattr(-,root,root,-)
  61. %doc COPYING
  62. %{_bindir}/*
  63. %changelog
  64. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.2-1
  65. - update to 0.2.2
  66. - remove Patch0 (libwpg-0.1.3-nodate.patch)
  67. * Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2.0-3
  68. - Initial build for Vine Linux
  69. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  71. * Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.0-1
  72. - latest version
  73. * Tue Jul 28 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.1.3-4
  74. - Fix multilib problem with doxygen documentation (#508940)
  75. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
  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.1.3-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Tue Jan 6 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.1.3-1
  80. - Initial packaging