]> git.pld-linux.org Git - packages/docbook-utils.git/blob - docbook-utils.spec
- adopted from Eric Bischoff, Mark Galassi spec
[packages/docbook-utils.git] / docbook-utils.spec
1 Summary:        Shell scripts to manage DocBook documents.
2 Name:           docbook-utils
3 Version:        0.6.6
4 Release:        1
5 Group:          Applications/Publishing/SGML
6 Group(de):      Applikationen/Publizieren/SGML
7 Group(pl):      Aplikacje/Publikowanie/SGML
8 Copyright:      Eric Bischoff, Mark Galassi, Jochem Huhmann, Steve Cheng, and Frederik Fouvry; GPL 2.0
9 Source0:        %{name}-%{version}.tar.gz
10 Requires:       docbook-style-dsssl >= 1.49
11 Requires:       jadetex >= 2.5
12 Requires:       perl-SGMLSpm >= 1.03ii
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 BuildArch:      noarch
15
16
17 %description
18 These little scripts allow to convert easily DocBook files to other
19 formats (HTML, RTF, PostScript...), and to compare SGML files.
20
21 %prep
22 %setup -q
23
24
25 %build
26 ./configure --prefix=%{_prefix} --mandir=%{_mandir}
27 %{__make}
28
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 DESTDIR=$RPM_BUILD_ROOT
33 %{__make} install \
34         prefix=$DESTDIR%{_prefix} \
35         mandir=$DESTDIR%{_mandir} \
36         docdir=$DESTDIR%{_datadir}/doc
37
38 rm -f doc/HTML/Makefile*
39 rm -f doc/HTML/*.in
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README COPYING TODO
48 %doc doc/HTML
49 %attr(755,root,root) %{_bindir}/jw
50 %attr(755,root,root) %{_bindir}/docbook2*
51 %attr(755,root,root) %{_bindir}/sgmldiff
52 %{_datadir}/sgml/docbook/utils-%{version}/docbook-utils.dsl
53 %{_datadir}/sgml/docbook/utils-%{version}/backends/*
54 %{_datadir}/sgml/docbook/utils-%{version}/frontends/*
55 %{_datadir}/sgml/docbook/utils-%{version}/helpers/*
56 %{_mandir}/man1/*
57 %{_mandir}/man7/*
This page took 0.0725749999999999 seconds and 4 git commands to generate.