]> git.pld-linux.org Git - packages/xmltoman.git/blob - xmltoman.spec
- initial
[packages/xmltoman.git] / xmltoman.spec
1 Summary:        Scripts for converting XML to roff or HTML
2 Name:           xmltoman
3 Version:        0.4
4 Release:        1
5 License:        GPL v2+
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
12 BuildArch:      noarch
13
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
18 stylesheet for doing rougly the same job is provided.
19
20 %prep
21 %setup -q
22 %patch0 -p1 -b .timestamps
23
24 %build
25 %{__make}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 install -d $RPM_BUILD_ROOT%{_mandir}/man1
31
32 %{__make} install \
33         DESTDIR=$RPM_BUILD_ROOT \
34         PREFIX=%{_prefix}
35
36 cp -p *.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README
44 %attr(755,root,root) %{_bindir}/xmltoman
45 %attr(755,root,root) %{_bindir}/xmlmantohtml
46 %{_datadir}/xmltoman
47 %{_mandir}/man1/*.1*
This page took 0.06208 seconds and 3 git commands to generate.