]>
Commit | Line | Data |
---|---|---|
b2c3fb28 | 1 | Summary: Docbook2man and docbook2info conversion tools |
9c55b50f | 2 | Summary(pl.UTF-8): Narzędzia do konwersji docbook do man i info |
b2c3fb28 | 3 | Name: docbook2X |
576b0cd5 | 4 | Version: 0.8.8 |
be91371f | 5 | Release: 6 |
3b3650a6 | 6 | License: MIT |
b2c3fb28 | 7 | Group: Applications/Publishing/SGML |
28880493 | 8 | Source0: http://dl.sourceforge.net/docbook2x/%{name}-%{version}.tar.gz |
576b0cd5 | 9 | # Source0-md5: b9b76a6af198c4f44574cfd17a322f01 |
3b3650a6 | 10 | # note: Source1 not used now |
87555b72 | 11 | Source1: %{name}-docbook2man |
71da5fd8 | 12 | Patch0: %{name}-info.patch |
3b3650a6 | 13 | URL: http://docbook2x.sourceforge.net/ |
71da5fd8 | 14 | BuildRequires: autoconf >= 2.50 |
3b3650a6 | 15 | BuildRequires: automake |
0af13813 | 16 | BuildRequires: perl-XML-SAX |
5319280f KK |
17 | BuildRequires: perl-devel |
18 | BuildRequires: texinfo | |
3b3650a6 | 19 | Requires: docbook-dtd |
a0d53344 | 20 | Requires: libxslt-progs |
b2c3fb28 | 21 | Requires: sgml-common |
22 | Requires: sgmlparser | |
3b3650a6 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b2c3fb28 | 24 | |
25 | %description | |
3b3650a6 JB |
26 | Steve Cheng's docbook2X tools convert DocBook documents into man pages |
27 | and Texinfo documents. | |
ce16550c | 28 | |
a85f7e8f JR |
29 | %description -l pl.UTF-8 |
30 | Narzędzia do konwersji docbook2X Steve'a Chenga konwertują dokumenty | |
3b3650a6 | 31 | DocBooka na strony manuala i dokumenty Texinfo. |
b2c3fb28 | 32 | |
33 | %prep | |
94588f83 | 34 | %setup -q |
71da5fd8 | 35 | %patch0 -p1 |
94588f83 AG |
36 | |
37 | %build | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure | |
43 | %{__make} | |
b2c3fb28 | 44 | |
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
3b3650a6 JB |
47 | |
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
b2c3fb28 | 50 | |
6a169dce AM |
51 | mv $RPM_BUILD_ROOT%{_bindir}/{docbook2man,docbook2X2man} |
52 | mv $RPM_BUILD_ROOT%{_mandir}/man1/{docbook2man,docbook2X2man}.1 | |
53 | mv $RPM_BUILD_ROOT%{_bindir}/{docbook2texi,docbook2X2texi} | |
54 | mv $RPM_BUILD_ROOT%{_mandir}/man1/{docbook2texi,docbook2X2texi}.1 | |
55 | ||
71da5fd8 JB |
56 | # packaged as %doc |
57 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/docbook2X | |
58 | ||
b2c3fb28 | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
be91371f ER |
62 | %post -p /sbin/postshell |
63 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
64 | ||
65 | %postun -p /sbin/postshell | |
66 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
67 | ||
b2c3fb28 | 68 | %files |
69 | %defattr(644,root,root,755) | |
3b3650a6 | 70 | %doc AUTHORS COPYING ChangeLog README THANKS TODO doc/*.html |
71da5fd8 JB |
71 | %attr(755,root,root) %{_bindir}/db2x_manxml |
72 | %attr(755,root,root) %{_bindir}/db2x_texixml | |
73 | %attr(755,root,root) %{_bindir}/db2x_xsltproc | |
74 | %attr(755,root,root) %{_bindir}/docbook2X2man | |
75 | %attr(755,root,root) %{_bindir}/docbook2X2texi | |
76 | %attr(755,root,root) %{_bindir}/sgml2xml-isoent | |
77 | %attr(755,root,root) %{_bindir}/utf8trans | |
d9890251 | 78 | %{_datadir}/%{name} |
71da5fd8 JB |
79 | %{_mandir}/man1/db2x_manxml.1* |
80 | %{_mandir}/man1/db2x_texixml.1* | |
81 | %{_mandir}/man1/db2x_xsltproc.1* | |
82 | %{_mandir}/man1/docbook2X2man.1* | |
83 | %{_mandir}/man1/docbook2X2texi.1* | |
84 | %{_mandir}/man1/sgml2xml-isoent.1* | |
85 | %{_mandir}/man1/utf8trans.1* | |
86 | %{_infodir}/docbook2X.info* | |
87 | %{_infodir}/docbook2man-xslt.info* | |
88 | %{_infodir}/docbook2texi-xslt.info* |