1 Summary: Docbook refentry to roff converter
2 Summary(pl.UTF-8): Konwerter z docbook/refentry do roff
7 Group: Applications/Publishing/XML
8 URL: http://www.ocaml-programming.de/programming/download-caml.html
9 Source0: http://www.ocaml-programming.de/packages/%{name}-%{version}.tar.gz
10 # Source0-md5: acb049bc7a4f436ba9a797dc2fc532e0
11 BuildRequires: ocaml-tony-devel
12 BuildRequires: ocaml-findlib
13 BuildRequires: ocaml >= 3.04-7
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 This tool converts a "docbook" document that is represented as XML
18 file to manual pages. All "refentry" sections are transformed to
19 "troff"-formatted documents. Currently, only a subset of the "docbook"
20 tags that are allowed in "refentry" are supported. Unknown tags are
23 %description -l pl.UTF-8
24 Narzędzie to konwertuje dokument w formacie XML-docbook do stron
25 podręcznika systemowego. Wszystkie sekcje "refentry" są transformowane
26 w formatowane troffem dokumenty. Chwilowo, dozwolony jest tylko
27 podzbiór tagów docbooka, nieznane tagi są po prostu ignorowane.
33 ocamlfind ocamlopt -o db2man -package tony -linkpkg db2man.ml
36 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39 install db2man $RPM_BUILD_ROOT%{_bindir}
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/*