summaryrefslogtreecommitdiff
path: root/docbook-utils.spec.in
blob: 92bc9fff08c51d7b7085d5a027d69c335e46170d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
%define Name docbook-utils
%define Version @VERSION@

Name        	: %{Name}
Version     	: %{Version}
Release     	: 1
Group       	: Textprocessing/Tools

Summary     	: Shell scripts to manage DocBook documents.

Copyright   	: Eric Bischoff, Mark Galassi, Jochem Huhmann, Steve Cheng, and Frederik Fouvry; GPL 2.0
Packager    	: Eric Bischoff <eric@caldera.de>, Mark Galassi <rosalia@galassi.org>

Requires	: docbook-style-dsssl >= 1.49
Requires	: jadetex >= 2.5
Requires	: perl-SGMLSpm >= 1.03ii

BuildRoot   	: /tmp/%{Name}-%{Version}

BuildArch	: noarch
Source0		: %{Name}-%{Version}.tar.gz


%Description
These little scripts allow to convert easily DocBook files to other formats
(HTML, RTF, PostScript...), and to compare SGML files.


%Prep
%setup -q


%Build
./configure --prefix=/usr --mandir=/usr/share/man/en
make


%Install
DESTDIR=$RPM_BUILD_ROOT
make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en docdir=$DESTDIR/usr/share/doc


%Clean
DESTDIR=$RPM_BUILD_ROOT
rm -rf $DESTDIR


%Files
%defattr (-,root,root)
%doc README COPYING TODO
%doc /usr/share/doc/html/
/usr/bin/jw
/usr/bin/docbook2*
/usr/bin/sgmldiff
/usr/share/sgml/docbook/utils-%{Version}/docbook-utils.dsl
/usr/share/sgml/docbook/utils-%{Version}/backends/*
/usr/share/sgml/docbook/utils-%{Version}/frontends/*
/usr/share/sgml/docbook/utils-%{Version}/helpers/*
/usr/share/man/en/man1/*
/usr/share/man/en/man7/*