diff --git a/README.md b/README.md index ebb9b83..c8d491d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ocaml-dtools +OCaml daemon tools library. + diff --git a/ocaml-dtools.spec b/ocaml-dtools.spec new file mode 100644 index 0000000..c5d6a89 --- /dev/null +++ b/ocaml-dtools.spec @@ -0,0 +1,51 @@ +Name: ocaml-dtools +Version: 0.3.1 +Release: 1mamba +Summary: OCaml modules for writing daemons +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: https://github.com/savonet/ocaml-dtools +Source: http://downloads.sourceforge.net/project/savonet/ocaml-dtools/%{version}/ocaml-dtools-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: ocaml +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# FIXME: checking for ocaml syslog module... Not found. + +%description +OCaml daemon tools library. + +%prep +%setup -q + +%build +./configure --prefix=%{_prefix} +%make all + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT$(ocamlfind printconf destdir) +install -d $OCAMLFIND_DESTDIR +make install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/ocaml/dtools/META +%{_libdir}/ocaml/dtools/dtools.a +%{_libdir}/ocaml/dtools/dtools.cma +%{_libdir}/ocaml/dtools/dtools.cmi +%{_libdir}/ocaml/dtools/dtools.cmx +%{_libdir}/ocaml/dtools/dtools.cmxa +%{_libdir}/ocaml/dtools/dtools.mli +%doc COPYING CHANGES README + +%changelog +* Sat Jun 22 2013 Davide Madrisan 0.3.1-1mamba +- package created by autospec