1 Summary: Scripts for converting XML to roff or HTML
6 Group: Applications/Publishing
7 URL: http://sourceforge.net/projects/xmltoman/
8 Source0: http://downloads.sourceforge.net/xmltoman/%{name}-%{version}.tar.gz
9 # Source0-md5: 99be944b9fce40b3fe397049bf14a097
10 Patch0: %{name}-0.3-timestamps.patch
11 BuildRequires: perl-XML-Parser
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
18 stylesheet for doing rougly the same job is provided.
22 %patch0 -p1 -b .timestamps
28 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_mandir}/man1
33 DESTDIR=$RPM_BUILD_ROOT \
36 cp -p *.1 $RPM_BUILD_ROOT%{_mandir}/man1
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/xmltoman
45 %attr(755,root,root) %{_bindir}/xmlmantohtml