Name: ocaml-inotify Version: 1.0 Release: %mkrel 4 Summary: OCaml Inotify bindings Group: Development/OCaml License: LGPL URL: https://github.com/vincenthz/ocaml-inotify Source0: http://github.com/vincenthz/ocaml-inotify/archive/%{name}-%{version}.tar.gz BuildRequires: ocaml-findlib %description OCaml bindings for the inotify API. %package devel Summary: Development files for %{name} Group: Development/OCaml Requires: %{name} = %{version}-%{release} %description devel This package contains the development modules you need to use %{name} in your programs. %prep %setup -q %build make mkdir test mv test.inotify.ml test/test_inotify.ml %install export DESTDIR=%{buildroot} export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml export DLLDIR=$OCAMLFIND_DESTDIR/stublibs mkdir -p $OCAMLFIND_DESTDIR/stublibs mkdir -p $OCAMLFIND_DESTDIR/inotify make install OCAMLFIND_INSTALL_FLAGS="" %files %doc LICENSE %dir %{_libdir}/ocaml/inotify %{_libdir}/ocaml/inotify/META %{_libdir}/ocaml/inotify/*.cmi %{_libdir}/ocaml/inotify/*.cma %{_libdir}/ocaml/stublibs/*.so* %files devel %doc test %{_libdir}/ocaml/inotify/*.a %{_libdir}/ocaml/inotify/*.cmxa %{_libdir}/ocaml/inotify/*.cmx %{_libdir}/ocaml/inotify/*.mli %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.0-4.mga5 + Revision: 747099 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.0-3.mga5 + Revision: 683049 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 1.0-2.mga4 + Revision: 534905 - Mageia 4 Mass Rebuild * Sun Sep 15 2013 blue_prawn <blue_prawn> 1.0-1.mga4 + Revision: 480085 - imported package ocaml-inotify