]> git.pld-linux.org Git - packages/db2man.git/commitdiff
- initial
authorMichal Moskal <michal@moskal.me>
Thu, 16 May 2002 14:37:33 +0000 (14:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db2man.spec -> 1.1

db2man.spec [new file with mode: 0644]

diff --git a/db2man.spec b/db2man.spec
new file mode 100644 (file)
index 0000000..3ff52e0
--- /dev/null
@@ -0,0 +1,47 @@
+Summary:       Docbook refentry to roff converter
+Summary(pl):   Konwerter z docbook/refentry do roff
+Name:          db2man
+Version:       0.1
+Release:       1
+License:       unknown
+Group:         Applications/Publishing/XML
+Source0:       %{name}-%{version}.tar.gz
+BuildRequires: ocaml-tony-devel
+BuildRequires: ocaml-findlib
+BuildRequires: ocaml >= 3.04-7
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This tool converts a "docbook" document that is represented as XML
+file to manual pages. All "refentry" sections are transformed to
+"troff"-formatted documents. Currently, only a subset of the "docbook"
+tags that are allowed in "refentry" are supported. Unknown tags are
+simply ignored.
+
+%description -l pl
+Narzêdzie to konwertuje dokument w formacie XML-docbook do stron
+podrêcznika systemowego. Wszystkie sekcje "refentry" s± transformowane
+w formatowane troffem dokumenty. Chwilowo, dozwolony jest tylko
+podzbiór tagów docbooka, nieznane tagi s± po prostu ignorowane.
+
+%prep
+%setup -q -n %{name}
+
+%build
+ocamlfind ocamlopt -o db2man -package tony -linkpkg db2man.ml
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install db2man $RPM_BUILD_ROOT%{_bindir}
+
+gzip -9nf README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
This page took 0.073362 seconds and 4 git commands to generate.