1 %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
4 Version: @PACKAGE_VERSION@
5 Release: @RPM_RELEASE@%{?dist}
6 Summary: To do list management
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: ocaml >= 3.12.0
13 BuildRequires: ocaml-findlib-devel
14 BuildRequires: ocaml-sqlite-devel
16 # For building manual pages.
17 BuildRequires: perl-podlators
33 make DESTDIR=$RPM_BUILD_ROOT install
36 # Remove bytecode library.
37 rm $RPM_BUILD_ROOT%{_libdir}/ocaml/todo/todo.cma
46 * Thu Nov 10 2016 Richard W.M. Jones <rjones@redhat.com> - @PACKAGE_VERSION@-@RPM_RELEASE@