Remove NOTES file, no longer up to date.
[goaljobs.git] / goaljobs.spec.in
index 7532cb8..af8db09 100644 (file)
@@ -1,4 +1,5 @@
 %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
+%global debug_package %{nil}
 
 Name:            @PACKAGE_NAME@
 Version:         @PACKAGE_VERSION@
@@ -11,17 +12,24 @@ Source0:         http://people.redhat.com/~rjones/goaljobs/files/%{name}-%{versi
 
 BuildRequires:   ocaml >= 3.12.0
 BuildRequires:   ocaml-ocamldoc
-BuildRequires:   ocaml-findlib-devel
 BuildRequires:   ocaml-camlp4-devel
+BuildRequires:   ocaml-findlib-devel
+BuildRequires:   ocaml-calendar-devel
 
 # For building manual pages.
-BuildRequires:   /usr/bin/perldoc
+BuildRequires:   perl-podlators
 
-# Requires camlp4 and ocamlfind at runtime.
+# For sending email.
+BuildRequires:   mailx
+
+# Requires camlp4 and ocamlfind and libraries at runtime.
 Requires:        /usr/bin/ocamlc
 Requires:        ocaml-camlp4-devel
 Requires:        ocaml-findlib-devel
+Requires:        ocaml-calendar-devel
 
+Requires:        curl
+Requires:        mailx
 
 %description
 Goaljobs is make & cron replacement and business rules manager.
@@ -55,9 +63,14 @@ make DESTDIR=$RPM_BUILD_ROOT install
 rm $RPM_BUILD_ROOT%{_libdir}/ocaml/goaljobs/goaljobs.cma
 %endif
 
+# Move the installed documentation out of the way.  It will
+# be installed using %doc below.
+rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
 
 %files
-%doc COPYING README
+%doc COPYING README TODO
+%doc html/*.html html/*.css
 %{_bindir}/goaljobs
 %dir %{_libdir}/ocaml/goaljobs
 %{_libdir}/ocaml/goaljobs/META
@@ -69,7 +82,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/ocaml/goaljobs/goaljobs.cma
 %else
 %{_libdir}/ocaml/goaljobs/goaljobs.cma
 %endif
-#%{_mandir}/man1/*.1*
+%{_mandir}/man1/*.1*
 
 
 %changelog