ocaml-extlib/extlib-1.5.1.tar.gz
ocaml-extlib/test1
ocaml-findlib/findlib-1.2.2.tar.gz
+ocaml-findlib/findlib-1.2.3.tar.gz
ocaml-lablgl/lablgl-1.03.tar.gz
ocaml-libvirt/ocaml-libvirt-0.4.4.2.tar.gz
ocaml-xml-light/xml-light-2.2.cvs20070817.tar.gz
Name: mingw32-ocaml-calendar
Version: 2.0.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: MinGW Windows OCaml library for managing dates and times
License: LGPLv2+
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-BuildRequires: mingw32-ocaml >= 3.11.0+beta1-9
+BuildRequires: mingw32-ocaml >= 3.11.0-0.15.beta1
BuildRequires: mingw32-ocaml-findlib >= 1.2.2-7
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 2.0.4-4
+- Rebuild with newly named mingw32-ocaml cross-compiler.
+
* Thu Nov 20 2008 Richard W.M. Jones <rjones@redhat.com> - 2.0.4-3
- Override ocamlc.opt, ocamlopt.opt in case a compatible native
compiler is also installed.
Name: mingw32-ocaml-csv
Version: 1.1.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows OCaml library for reading and writing CSV files
License: LGPLv2+
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-BuildRequires: mingw32-ocaml >= 3.11.0+beta1-9
+BuildRequires: mingw32-ocaml >= 3.11.0-0.15.beta1
BuildRequires: mingw32-ocaml-extlib
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-3
+- Rebuild with latest OCaml cross-compiler.
+
* Sun Nov 16 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-2
- Force rebuild with latest OCaml compiler.
Name: mingw32-ocaml-curses
Version: 1.0.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: MinGW Windows OCaml bindings for ncurses
License: LGPLv2+
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-BuildRequires: mingw32-ocaml >= 3.11.0+beta1-9
+BuildRequires: mingw32-ocaml >= 3.11.0-0.15.beta1
BuildRequires: mingw32-ocaml-findlib
BuildRequires: mingw32-pdcurses
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 1.0.3-4
+- Rebuild against newest OCaml cross-compiler.
+
* Sat Nov 22 2008 Richard W.M. Jones <rjones@redhat.com> - 1.0.3-3
- Rebuild against new pdcurses.
Name: mingw32-ocaml-extlib
Version: 1.5.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows port of OCaml ExtLib
License: LGPLv2+ with exceptions
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-BuildRequires: mingw32-ocaml >= 3.11.0+beta1-2
+BuildRequires: mingw32-ocaml >= 3.11.0-0.15.beta1
%description
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 1.5.1-3
+- Rebuild with latest OCaml cross-compiler.
+
* Sun Nov 16 2008 Richard W.M. Jones <rjones@redhat.com> - 1.5.1-2
- Force rebuild against latest OCaml compiler.
# ocamlfind cmd ...
Name: mingw32-ocaml-findlib
-Version: 1.2.2
-Release: 8%{?dist}
+Version: 1.2.3
+Release: 1%{?dist}
Summary: MinGW Windows Objective CAML package manager and build helper
License: BSD
BuildRequires: ocaml
BuildRequires: ocaml-camlp4-devel
BuildRequires: ocaml-labltk-devel
-BuildRequires: mingw32-ocaml >= 3.11.0+beta1-9
+BuildRequires: mingw32-ocaml >= 3.11.0-0.15.beta1
BuildRequires: m4
BuildRequires: gawk
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
+- New upstream release 1.2.3.
+- Rebuild against the latest OCaml cross-compiler.
+
* Sun Nov 16 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.2-8
- Force rebuild against latest OCaml compiler.
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-BuildRequires: mingw32-ocaml
-
-# XXX This requires camlp4 which we don't yet have under MinGW.
-BuildRequires: mingw32-ocaml-camlp4
+BuildRequires: mingw32-ocaml >= 3.11.0
# labltk is used by the native package, but is essentially optional.
#BuildRequires: mingw32-ocaml-labtk
%changelog
-* Thu Nov 13 2008 Your Name <you@example.com> - 1.2.3-1
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 1.03-1
- Initial RPM release.
Name: mingw32-ocaml-libvirt
Version: 0.4.4.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows port of OCaml binding for libvirt
License: LGPLv2+
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-BuildRequires: mingw32-ocaml >= 3.11.0+beta1-13
+BuildRequires: mingw32-ocaml >= 3.11.0-0.15.beta1
BuildRequires: mingw32-ocaml-findlib
BuildRequires: mingw32-libvirt >= 0.2.1
BuildRequires: perl
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 0.4.4.2-3
+- Rebuild against latest OCaml cross-compiler.
+
* Mon Nov 17 2008 Richard W.M. Jones <rjones@redhat.com> - 0.4.4.2-2
- Requires mingw32-libvirt package.
Name: mingw32-ocaml-xml-light
Version: 2.2.cvs20070817
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows minimal XML parser and printer for OCaml
License: LGPLv2+
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
-BuildRequires: mingw32-ocaml >= 3.11.0+beta1-9
+BuildRequires: mingw32-ocaml >= 3.11.0-0.15.beta1
%description
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2cvs20070817-3
+- Rebuild against latest OCaml cross-compiler.
+
* Sun Nov 16 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2cvs20070817-2
- Force rebuild against latest OCaml compiler.
%define otherlibraries win32unix str num dynlink bigarray systhreads win32graph
Name: mingw32-ocaml
-Version: 3.11.0+beta1
-Release: 14%{?dist}
+Version: 3.11.0
+Release: 0.15.beta1%{?dist}
Summary: Objective Caml MinGW cross-compiler and programming environment
License: QPL and (LGPLv2+ with exceptions)
Group: Development/Libraries
URL: http://caml.inria.fr/
-Source0: http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-%{version}.tar.bz2
+Source0: http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-%{version}+beta1.tar.bz2
# This is installed as config/Makefile when we cross-compile.
Source1000: Makefile-fedora-mingw.in
BuildRequires: /usr/lib/crt1.o
BuildRequires: /usr/lib/libX11.so
-# While we still ship bytecode, this requires a /usr/bin/ocamlrun from
-# the _identical_ native package. We don't have that at the moment,
-# which is why this is commented out.
-#Requires: ocaml-runtime = %{version}
+# We need the native Fedora OCaml package (of the precise matching
+# version) for several reasons:
+# (a) We need /usr/bin/ocamlrun (the bytecode interpreter) in order
+# to run our bytecodes such as i686-pc-mingw32-ocamlopt. Eventually
+# shipping native versions of the cross-compiler binaries should
+# resolve this.
+# (b) We need camlp4 preprocessor, and because of the way this works
+# it has to be the camlp4 from the identical version.
+Requires: ocaml-runtime = %{version}
+Requires: ocaml-camlp4-devel = %{version}
# The built program will try to run the cross-compiler and flexdll, so
# these must be runtime requires.
%prep
-%setup -q -n ocaml-%{version}
+%setup -q -n ocaml-%{version}+beta1
%patch1000 -p1
%patch1001 -p1
cp config/Makefile \
$RPM_BUILD_ROOT%{_libdir}/%{_mingw32_target}-ocaml/Makefile.config
-# For bytecode binaries, change the bang-path to point to the locally
-# installed ocamlrun.
-pushd $RPM_BUILD_ROOT%{_bindir}
-for f in ocamlc ocamlcp ocamldep ocamlmklib ocamlopt ocamlprof; do
- mv $f $f.old
- echo '#!%{_bindir}/%{_mingw32_target}-ocamlrun' > $f
- tail -n +2 $f.old >> $f
- chmod +x $f
- rm $f.old
-done
-popd
-
# Rename all the binaries to target-binary.
pushd $RPM_BUILD_ROOT%{_bindir}
-for f in ocamlc ocamlcp ocamldep ocamlmklib ocamlmktop ocamlopt ocamlprof ocamlrun; do
+for f in ocamlc ocamlcp ocamldep ocamlmklib ocamlmktop ocamlopt ocamlprof; do
mv $f %{_mingw32_target}-$f
done
popd
+# Don't install ocamlrun, use native one.
+rm $RPM_BUILD_ROOT%{_bindir}/ocamlrun
+
%clean
rm -rf $RPM_BUILD_ROOT
%{_bindir}/%{_mingw32_target}-ocamlmktop
%{_bindir}/%{_mingw32_target}-ocamlprof
%{_bindir}/%{_mingw32_target}-ocamlopt
-%{_bindir}/%{_mingw32_target}-ocamlrun
%{_libdir}/%{_mingw32_target}-ocaml/
%changelog
+* Sun Nov 23 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-0.15.beta1
+- Use the proper package naming convention, since '+' etc shouldn't be
+ in the name, as per Fedora packaging guidelines. Note that this won't
+ upgrade smoothly, but we don't care because these packages aren't
+ officially released yet. You'll just have to uninstall the old
+ package and install the new one.
+- Don't ship our own ocamlrun, use the native one instead.
+- Require camlp4 utilities.
+
* Mon Nov 17 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0+beta1-14
- Added README.Fedora.