%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) %if !%opt %global debug_package %{nil} %global __strip /bin/true %endif Name: ocaml-omake Version: 0.9.8.6 Release: 0.rc1%{?dist}.22 Summary: Build system with automated dependency analysis License: LGPLv2+ with exceptions and GPLv2+ and BSD URL: http://omake.metaprl.org/download.html Source0: http://omake.metaprl.org/downloads/omake-%{version}-0.rc1.tar.gz Patch0: omake-debian-disable-ocaml-warnings.patch Patch1: omake-0.9.8.6-fix-and-or-operators.patch Patch2: omake-0.9.8.6-kill-warn-error.patch # omake can be used on non-OCaml projects (RHBZ#548536). Provides: omake BuildRequires: ocaml >= 3.10.2-2 BuildRequires: ocaml-findlib-devel BuildRequires: gamin-devel BuildRequires: readline-devel BuildRequires: ncurses-devel #BuildRequires: hevea BuildRequires: chrpath %description OMake is a build system designed for scalability and portability. It uses a syntax similar to make utilities you may have used, but it features many additional enhancements, including the following. * Support for projects spanning several directories or directory hierarchies. * Fast, reliable, automated, scriptable dependency analysis using MD5 digests, with full support for incremental builds. * Dependency analysis takes the command lines into account — whenever the command line used to build a target changes, the target is considered out-of-date. * Fully scriptable, includes a library that providing support for standard tasks in C, C++, OCaml, and LaTeX projects, or a mixture thereof. %prep %setup -q -n omake-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build make all \ PREFIX=%{_prefix} MANDIR=%{_mandir} BINDIR=%{_bindir} LIBDIR=%{_libdir} %install make install \ INSTALL_ROOT=$RPM_BUILD_ROOT \ PREFIX=%{_prefix} MANDIR=%{_mandir} BINDIR=%{_bindir} LIBDIR=%{_libdir} chmod 0755 $RPM_BUILD_ROOT%{_bindir}/* %files %doc LICENSE LICENSE.OMake %doc CHANGELOG.txt %doc doc/txt/omake-doc.txt doc/ps/omake-doc.pdf doc/html/ %{_libdir}/omake/ %{_bindir}/omake %{_bindir}/osh %{_bindir}/cvs_realclean %changelog * Thu Feb 04 2016 Fedora Release Engineering - 0.9.8.6-0.rc1.22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 05 2016 Richard Jones - 0.9.8.6-0.rc1.21 - Use global instead of define. * Tue Jul 28 2015 Richard W.M. Jones - 0.9.8.6-0.rc1.20 - OCaml 4.02.3 rebuild. * Wed Jul 22 2015 Richard W.M. Jones - 0.9.8.6-0.rc1.19 - s/390x: Disable stripping on bytecode-only platforms. * Wed Jun 24 2015 Richard W.M. Jones - 0.9.8.6-0.rc1.18 - ocaml-4.02.2 final rebuild. * Wed Jun 17 2015 Richard W.M. Jones - 0.9.8.6-0.rc1.17 - ocaml-4.02.2 rebuild. * Mon Feb 16 2015 Richard W.M. Jones - 0.9.8.6-0.rc1.16 - ocaml-4.02.1 rebuild. * Sat Aug 30 2014 Richard W.M. Jones - 0.9.8.6-0.rc1.15 - ocaml-4.02.0 final rebuild. * Sat Aug 23 2014 Richard W.M. Jones - 0.9.8.6-0.rc1.14 - ocaml-4.02.0+rc1 rebuild. * Mon Aug 18 2014 Richard W.M. Jones - 0.9.8.6-0.rc1.13 - Kill -warn-error option that caused failure to build on OCaml 4.02. * Sun Aug 17 2014 Fedora Release Engineering - 0.9.8.6-0.rc1.12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Aug 09 2014 Richard W.M. Jones - 0.9.8.6-0.rc1.11 - ocaml-4.02.0-0.8.git10e45753.fc22 rebuild. * Mon Jul 21 2014 Richard W.M. Jones - 0.9.8.6-0.rc1.10 - OCaml 4.02.0 beta rebuild. * Sat Jun 07 2014 Fedora Release Engineering - 0.9.8.6-0.rc1.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Sep 19 2013 Richard W.M. Jones - 0.9.8.6-0.rc1.8 - OCaml 4.01.0 rebuild. - Modernize the spec file. - Enable debuginfo. - Add patch to remove more warnings. * Sat Aug 03 2013 Fedora Release Engineering - 0.9.8.6-0.rc1.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.9.8.6-0.rc1.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Aug 10 2012 Richard W.M. Jones - 0.9.8.6-0.rc1.4 - Change Debian patch to disable all compile warnings. * Fri Jul 20 2012 Fedora Release Engineering - 0.9.8.6-0.rc1.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 10 2012 Richard W.M. Jones - 0.9.8.6-0.rc1.3 - Rebuild for OCaml 4.00.0. * Fri Jan 13 2012 Fedora Release Engineering - 0.9.8.6-0.rc1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.9.8.6-0.rc1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 5 2011 Richard W.M. Jones - 0.9.8.6-0.rc1 - New upstream version 0.9.8.6-0.rc1. - Remove patches - all are upstream. - Add patch to disable new warning in OCaml 3.12 (by Stephane Glondu). - No separate omake-ocamldep program. * Tue Jan 5 2010 Richard W.M. Jones - 0.9.8.5-12 - Use upstream RPM 4.8 OCaml dependency generator. * Wed Dec 30 2009 Richard W.M. Jones - 0.9.8.5-11 - Rebuild for OCaml 3.11.2. * Thu Dec 17 2009 Richard W.M. Jones - 0.9.8.5-10 - Add 'Provides: omake' (RHBZ#548536). - Remove OCaml from the summary, since omake is not an OCaml-specific tool. * Sat Jul 25 2009 Fedora Release Engineering - 0.9.8.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat May 23 2009 Richard W.M. Jones - 0.9.8.5-8 - Rebuild for OCaml 3.11.1 * Thu Apr 16 2009 S390x secondary arch maintainer - ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs (added sparc64 per request from the sparc maintainer) * Tue Mar 3 2009 Caolán McNamara - 0.9.8.5-7 - patch src/libmojave-external/cutil/lm_printf.c rather than src/clib/lm_printf.c as the latter is created as a link of the former during the build * Wed Feb 25 2009 Fedora Release Engineering - 0.9.8.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 6 2009 Richard W.M. Jones - 0.9.8.5-5 - Patch for "attempt to free a non-heap object" (Jakub Jelinek). * Fri Dec 5 2008 Richard W.M. Jones - 0.9.8.5-4 - Rebuild for OCaml 3.11.0. * Fri May 16 2008 Richard W.M. Jones - 0.9.8.5-3 - Rebuild with OCaml 3.10.2-2 (fixes bz 445545). * Wed Apr 23 2008 Richard W.M. Jones - 0.9.8.5-2 - Added stdin/stdout fix patch from Debian. * Wed Apr 23 2008 Richard W.M. Jones - 0.9.8.5-1 - Initial RPM release.