libwpg-vl.spec 2.9 KB

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