52 lines
1.3 KiB
RPMSpec
52 lines
1.3 KiB
RPMSpec
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
|