xmltoman-vl.spec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Summary: Scripts for converting XML to roff or HTML
  2. Summary(ja): XML から roff または HTML に変換するためのスクリプト
  3. Name: xmltoman
  4. Version: 0.4
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Publishing
  7. License: GPLv2+
  8. URL: http://sourceforge.net/projects/xmltoman/
  9. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. Patch0: xmltoman-0.3-timestamps.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: perl(XML::Parser)
  13. BuildArch: noarch
  14. %description
  15. This package provides xmltoman and xmlmantohtml scripts, to compile
  16. the xml representation of manual page to either roff source, or HTML
  17. (while providing the CSS stylesheet for eye-candy look). XSL stylesheet
  18. for doing rougly the same job is provided.
  19. %prep
  20. %setup -q
  21. %patch0 -p1 -b .timestamps
  22. %build
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT
  27. %clean
  28. rm -rf $RPM_BUILD_ROOT
  29. %files
  30. %defattr(-,root,root,-)
  31. %{_bindir}/xmltoman
  32. %{_bindir}/xmlmantohtml
  33. %{_datadir}/xmltoman
  34. %doc COPYING README
  35. %changelog
  36. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
  37. - initial build for Vine Linux
  38. * Thu May 29 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.4-1
  39. - New upstream release
  40. * Wed Mar 12 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.3-2
  41. - Preserve timestamps, sanitize requires (thanks to Parag AN)
  42. * Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.3-1
  43. - Initial packaging attempt