%bcond_without emacs # without emacs subpackage
%bcond_without x # without X11 support
%bcond_without tk # without Tcl/Tk support
-%bcond_with db3 # use db3 instead of db 4.x
#
# --without x11 implies --without tk
%{!?with_x:%undefine with_tk}
Summary: The Objective Caml compiler and programming environment
Summary(pl): Kompilator OCamla (Objective Caml) oraz ¶rodowisko programistyczne
Name: ocaml
-Version: 3.09.2
-Release: 2
+Version: 3.09.3
+Release: 1
Epoch: 1
License: distributable
Vendor: Group of implementors <caml-light@inria.fr>
Group: Development/Languages
Source0: http://caml.inria.fr/distrib/%{name}-%{sver}/%{name}-%{version}.tar.bz2
-# Source0-md5: 63428ce7e114520e8f529c9ca809a1b0
+# Source0-md5: 8b3744efd0d51b82d55b61d0e2bf0e2b
Source1: http://caml.inria.fr/distrib/%{name}-%{sver}/%{name}-%{sver}-refman.html.tar.gz
# Source1-md5: b25eb211bf91bcaa536b12d12731ceec
Source2: http://caml.inria.fr/distrib/%{name}-%{sver}/%{name}-%{sver}-refman.ps.gz
# Source5-md5: 96d8eb4ca5abd58c9a280ba59f73b192
Source6: ftp://ftp.inria.fr/INRIA/Projects/cristal/camlp4/camlp4-%{p4ver}-tutorial.dvi.gz
# Source6-md5: fcd87c235109364242a0c9ccf176dff8
-Source7: http://www.ocaml.info/ocaml_sources/pure-fun-1.0.4.tar.bz2
-# Source7-md5: 567bc681b4cc1cfcbbfb6fa5f012019b
+Source7: http://www.ocaml.info/ocaml_sources/pure-fun-1.0.6.tar.bz2
+# Source7-md5: 94eac3fa1ac51b8ada344b04839cb43c
Source8: http://www.ocaml.info/ocaml_sources/ds-contrib.tar.gz
# Source8-md5: 77fa1da7375dea1393cc0b6cd802d7e1
Source9: http://caml.inria.fr/distrib/%{name}-%{sver}/%{name}-%{sver}-refman.info.tar.gz
Patch0: %{name}-build.patch
Patch1: %{name}-db3.patch
Patch2: %{name}-objinfo.patch
-# needs update for ocaml 3.08
-#Patch3: %{name}-unused-var-warning.patch
-Patch4: %{name}-tk85support.patch
-Patch5: %{name}-CFLAGS.patch
-Patch6: %{name}-as_needed.patch
+Patch3: %{name}-tk85support.patch
+Patch4: %{name}-CFLAGS.patch
+Patch5: %{name}-as_needed.patch
URL: http://caml.inria.fr/
-%{?with_db3:BuildRequires: db3-devel}
-%{!?with_db3:BuildRequires: db-devel >= 4.1}
+BuildRequires: db-devel >= 4.1
%{?with_tk:BuildRequires: tk-devel}
%{?with_x:BuildRequires: xorg-lib-libX11-devel}
%if %{with emacs}
%patch0 -p1
%patch1 -p1
%patch2 -p1
-#%patch3 -p1
+%patch3 -p1
%patch4 -p1
%patch5 -p1
-%patch6 -p1
%build
cp -f /usr/share/automake/config.sub config/gnu