]> git.pld-linux.org Git - packages/docbook-utils.git/blob - docbook-utils.spec
- run autoconf (needed for new %%configure macro)
[packages/docbook-utils.git] / docbook-utils.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Shell scripts to manage DocBook documents
3 Summary(pl):    Skrypty do obróbki dokumentów DocBook
4 Name:           docbook-utils
5 Version:        0.6.9
6 Release:        3
7 LIcense:        Eric Bischoff, Mark Galassi, Jochem Huhmann, Steve Cheng, and Frederik Fouvry; GPL 2.0
8 Group:          Applications/Publishing/SGML
9 Group(de):      Applikationen/Publizieren/SGML
10 Group(pl):      Aplikacje/Publikowanie/SGML
11 Source0:        %{name}-%{version}.tar.gz
12 Patch0:         %{name}-@.patch
13 Patch1:         %{name}-roff_includes_in_man_pages.patch
14 Requires:       docbook-style-dsssl >= 1.49
15 Requires:       jadetex >= 2.5
16 BuildRequires:  autoconf
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 These little scripts allow to convert easily DocBook files to other
22 formats (HTML, RTF, PostScript...), and to compare SGML files.
23
24 %description -l pl
25 Te ma³e skrypty pozwalaj± w prosty sposób konwertowaæ pliki DocBook do
26 innych formatów (HTML, RTF, PostScript...) i porównywaæ pliki SGML.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32
33 %build
34 autoconf
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 DESTDIR=$RPM_BUILD_ROOT
42 %{__make} install \
43         prefix=$DESTDIR%{_prefix} \
44         mandir=$DESTDIR%{_mandir} \
45         docdir=$DESTDIR%{_datadir}/doc
46
47 rm -f doc/HTML/Makefile*
48 rm -f doc/HTML/*.in
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README COPYING TODO
56 %doc doc/HTML
57 %attr(755,root,root) %{_bindir}/jw
58 %attr(755,root,root) %{_bindir}/docbook2*
59 %attr(755,root,root) %{_bindir}/sgmldiff
60 %{_datadir}/sgml/docbook/utils-%{version}/docbook-utils.dsl
61 %{_datadir}/sgml/docbook/utils-%{version}/backends/*
62 %{_datadir}/sgml/docbook/utils-%{version}/frontends/*
63 %{_datadir}/sgml/docbook/utils-%{version}/helpers/*
64 %{_mandir}/man1/*
65 %{_mandir}/man7/*
This page took 0.026694 seconds and 3 git commands to generate.