]> git.pld-linux.org Git - packages/db2man.git/blob - db2man.spec
95703cc16e650190a199c1496a39f08833b4a791
[packages/db2man.git] / db2man.spec
1 Summary:        Docbook refentry to roff converter
2 Summary(pl.UTF-8):   Konwerter z docbook/refentry do roff
3 Name:           db2man
4 Version:        0.1
5 Release:        1
6 License:        unknown
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)
15
16 %description
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
21 simply ignored.
22
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.
28
29 %prep
30 %setup -q -n %{name}
31
32 %build
33 ocamlfind ocamlopt -o db2man -package tony -linkpkg db2man.ml
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 install -d $RPM_BUILD_ROOT%{_bindir}
39 install db2man $RPM_BUILD_ROOT%{_bindir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %attr(755,root,root) %{_bindir}/*
This page took 0.079389 seconds and 3 git commands to generate.