]> git.pld-linux.org Git - packages/db2man.git/blame - db2man.spec
- tabs in preamble
[packages/db2man.git] / db2man.spec
CommitLineData
a252eb23 1Summary: Docbook refentry to roff converter
daa59fa0 2Summary(pl.UTF-8): Konwerter z docbook/refentry do roff
a252eb23
MM
3Name: db2man
4Version: 0.1
5Release: 1
6License: unknown
7Group: Applications/Publishing/XML
0f5a9610
MM
8URL: http://www.ocaml-programming.de/programming/download-caml.html
9Source0: http://www.ocaml-programming.de/packages/%{name}-%{version}.tar.gz
74e9a290 10# Source0-md5: acb049bc7a4f436ba9a797dc2fc532e0
a252eb23
MM
11BuildRequires: ocaml-tony-devel
12BuildRequires: ocaml-findlib
13BuildRequires: ocaml >= 3.04-7
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17This tool converts a "docbook" document that is represented as XML
18file to manual pages. All "refentry" sections are transformed to
19"troff"-formatted documents. Currently, only a subset of the "docbook"
20tags that are allowed in "refentry" are supported. Unknown tags are
21simply ignored.
22
e848697d
JR
23%description -l pl.UTF-8
24Narzędzie to konwertuje dokument w formacie XML-docbook do stron
25podręcznika systemowego. Wszystkie sekcje "refentry" są transformowane
a252eb23 26w formatowane troffem dokumenty. Chwilowo, dozwolony jest tylko
e848697d 27podzbiór tagów docbooka, nieznane tagi są po prostu ignorowane.
a252eb23
MM
28
29%prep
30%setup -q -n %{name}
31
32%build
33ocamlfind ocamlopt -o db2man -package tony -linkpkg db2man.ml
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
38install -d $RPM_BUILD_ROOT%{_bindir}
39install db2man $RPM_BUILD_ROOT%{_bindir}
40
a252eb23
MM
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
91134d0a 46%doc README
a252eb23 47%attr(755,root,root) %{_bindir}/*
This page took 0.087892 seconds and 4 git commands to generate.