package created by autospec [release 0.3.1-1mamba;Sat Jun 22 2013]

This commit is contained in:
Davide Madrisan 2024-01-06 07:52:22 +01:00
parent ac7e3052b3
commit cd02769f83
2 changed files with 53 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ocaml-dtools
OCaml daemon tools library.

51
ocaml-dtools.spec Normal file
View File

@ -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 <davide.madrisan@gmail.com>
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 <davide.madrisan@gmail.com> 0.3.1-1mamba
- package created by autospec