%define modname benchmark Name: ocaml-%{modname} Version: 0.9 Release: %mkrel 1 Summary: OCaml module for benchmarking code Group: Development/Other License: LGPLv2 with exceptions URL: https://forge.ocamlcore.org/projects/ocaml-benchmark/ Source0: https://forge.ocamlcore.org/frs/download.php/533/%{modname}-%{version}.tar.gz BuildRequires: ocaml BuildRequires: ocaml-findlib-devel %description OCaml Benchmark is a small module to benchmark running times of code. %package devel Summary: Development files for %{name} Requires: %{name} = %{EVRD} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q -n %{modname}-%{version} %build make all opt %install mkdir -p %{buildroot}%{_libdir}/ocaml make install DESTDIR=%{buildroot}%{_libdir}/ocaml %files %doc LICENSE %{_libdir}/ocaml/%{modname} %exclude %{_libdir}/ocaml/%{modname}/*.a %exclude %{_libdir}/ocaml/%{modname}/*.cmxa %exclude %{_libdir}/ocaml/%{modname}/*.mli %files devel %doc LICENSE README %{_libdir}/ocaml/%{modname}/*.a %{_libdir}/ocaml/%{modname}/*.cmxa %{_libdir}/ocaml/%{modname}/*.mli %changelog * Tue Apr 12 2011 ennael <ennael> 0.9-1.mga1 + Revision: 83664 - fix release tag - imported package ocaml-benchmark * Sun Apr 10 2011 Per Ãyvind Karlsen <peroyvind@mandriva.org> 0.9-1 + Revision: 652421 - imported package ocaml-benchmark * Sun Apr 10 2011 Per Ãyvind Karlsen <peroyvind@mandriva.org> 0.9-1 - initial package