1 %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
2 %global debug_package %{nil}
5 Version: @PACKAGE_VERSION@
6 Release: @RPM_RELEASE@%{?dist}
7 Summary: Make & cron replacement and business rules manager.
10 URL: http://people.redhat.com/~rjones/goaljobs
11 Source0: http://people.redhat.com/~rjones/goaljobs/files/%{name}-%{version}.tar.gz
13 BuildRequires: ocaml >= 3.12.0
14 BuildRequires: ocaml-ocamldoc
15 BuildRequires: ocaml-camlp4-devel
16 BuildRequires: ocaml-findlib-devel
17 BuildRequires: ocaml-calendar-devel
19 # For building manual pages.
20 BuildRequires: perl-podlators
25 # Requires camlp4 and ocamlfind and libraries at runtime.
26 Requires: /usr/bin/ocamlc
27 Requires: ocaml-camlp4-devel
28 Requires: ocaml-findlib-devel
29 Requires: ocaml-calendar-devel
35 Goaljobs is make & cron replacement and business rules manager.
37 It can be used in many situations where you want a more powerful
38 'make' or a more powerful 'cron', especially where you have
39 dependencies on network resources.
41 This is also an enhancement and replacement for the 'whenjobs'
59 make DESTDIR=$RPM_BUILD_ROOT install
62 # Remove bytecode library.
63 rm $RPM_BUILD_ROOT%{_libdir}/ocaml/goaljobs/goaljobs.cma
66 # Move the installed documentation out of the way. It will
67 # be installed using %doc below.
68 rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
72 %doc COPYING README TODO
73 %doc html/*.html html/*.css
75 %dir %{_libdir}/ocaml/goaljobs
76 %{_libdir}/ocaml/goaljobs/META
77 %{_libdir}/ocaml/goaljobs/*.mli
78 %{_libdir}/ocaml/goaljobs/*.cmi
79 %{_libdir}/ocaml/goaljobs/pa_goal.cmo
81 %{_libdir}/ocaml/goaljobs/goaljobs.cmxa
83 %{_libdir}/ocaml/goaljobs/goaljobs.cma
89 * Mon Sep 16 2013 Richard W.M. Jones <rjones@redhat.com> - @PACKAGE_VERSION@-@RPM_RELEASE@