%define debug_package %{nil} Name: ocaml-fetch Version: 0.1.0 Release: %mkrel 6 Summary: Universal fetcher for OCaml License: LGPL with exceptions Group: Development/OCaml URL: http://sourceforge.net/projects/savonet/files/ Source0: http://downloads.sourceforge.net/savonet/ocaml-fetch/ocaml-fetch-%{version}.tar.gz BuildRequires: ocaml-findlib %description Module fetch: a universal fetcher. It currently handles samba, ftp and local files. %package devel Summary: Development files for %{name} Group: Development/OCaml Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries for developing applications that use %{name}. %prep %setup -q %build ./configure make make doc %install export DESTDIR=%{buildroot} export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR/fetch make install %files %doc COPYING CHANGES README %dir %{_libdir}/ocaml/fetch %{_libdir}/ocaml/fetch/META %{_libdir}/ocaml/fetch/*.cma %{_libdir}/ocaml/fetch/*.cmi %files devel %doc doc/html/ %doc examples/ %{_libdir}/ocaml/fetch/*.a %{_libdir}/ocaml/fetch/*.cmxa %{_libdir}/ocaml/fetch/*.mli %changelog * Fri Feb 12 2016 umeabot <umeabot> 0.1.0-6.mga6 + Revision: 956354 - Mageia 6 Mass Rebuild * Wed Oct 21 2015 tv <tv> 0.1.0-5.mga6 + Revision: 893289 - rebuild with fixed deps * Wed Oct 15 2014 umeabot <umeabot> 0.1.0-4.mga5 + Revision: 746419 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.1.0-3.mga5 + Revision: 683031 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.1.0-2.mga4 + Revision: 523179 - Mageia 4 Mass Rebuild * Sat Mar 30 2013 blue_prawn <blue_prawn> 0.1.0-1.mga3 + Revision: 406574 - imported package ocaml-fetch