be42b9a
%global _default_patch_fuzz 2
71268b2
fdf6a5a
Name:           ocaml
a334c49
Version:        3.12.1
a071122
Release:        5%{?dist}
fdf6a5a
fdf6a5a
Summary:        Objective Caml compiler and programming environment
fdf6a5a
fdf6a5a
Group:          Development/Languages
fdf6a5a
License:        QPL and (LGPLv2+ with exceptions)
f7302e6
fdf6a5a
URL:            http://www.ocaml.org
f7302e6
c6dd15b
Source0:        http://caml.inria.fr/distrib/ocaml-3.12/ocaml-%{version}.tar.gz
c6dd15b
Source1:        http://caml.inria.fr/distrib/ocaml-3.12/ocaml-3.12-refman.html.tar.gz
c6dd15b
Source2:        http://caml.inria.fr/distrib/ocaml-3.12/ocaml-3.12-refman.pdf
c6dd15b
Source3:        http://caml.inria.fr/distrib/ocaml-3.12/ocaml-3.12-refman.info.tar.gz
f7302e6
a071122
# IMPORTANT NOTE:
a071122
#
a071122
# These patches are generated from unpacked sources stored in a
a071122
# fedorahosted git repository.  If you change the patches here, they
a071122
# will be OVERWRITTEN by the next update.  Instead, request commit
a071122
# access to the fedorahosted project:
a071122
#
a071122
# http://git.fedorahosted.org/git/?p=fedora-ocaml.git
a071122
#
a071122
# ALTERNATIVELY add a patch to the end of the list (leaving the
a071122
# existing patches unchanged) adding a comment to note that it should
a071122
# be incorporated into the git repo at a later time.
a071122
#
a071122
Patch0001:      0001-ocamlbyteinfo-ocamlplugininfo-Useful-utilities-from-.patch
a071122
Patch0002:      0002-GNU-config.guess-and-config.sub-replacements.patch
a071122
Patch0003:      0003-Don-t-add-rpaths-to-libraries.patch
a071122
Patch0004:      0004-configure-Allow-user-defined-C-compiler-flags.patch
a071122
Patch0005:      0005-ocamlopt-arm-add-.type-directive-for-code-symbols.patch
a071122
Patch0006:      0006-Add-support-for-ppc64.patch
a071122
Patch0007:      0007-New-ARM-backend-written-by-Benedikt-Meurer-PR-5433.patch
f7302e6
0c497e0
# Depend on previous version of OCaml so that ocamlobjinfo
0c497e0
# can run.
0c497e0
BuildRequires:  ocaml
0c497e0
fdf6a5a
BuildRequires:  ncurses-devel
03108e3
BuildRequires:  gdbm-devel
fdf6a5a
BuildRequires:  tcl-devel
6c6aa24
BuildRequires:  tk-devel
fdf6a5a
BuildRequires:  emacs
8859c79
BuildRequires:  gawk
6c6aa24
BuildRequires:  perl
bf42eca
BuildRequires:  util-linux
a5dcf3e
BuildRequires:  libICE-devel
a5dcf3e
BuildRequires:  libSM-devel
03108e3
BuildRequires:  libX11-devel
a5dcf3e
BuildRequires:  libXaw-devel
a5dcf3e
BuildRequires:  libXext-devel
a5dcf3e
BuildRequires:  libXft-devel
a5dcf3e
BuildRequires:  libXmu-devel
a5dcf3e
BuildRequires:  libXrender-devel
a5dcf3e
BuildRequires:  libXt-devel
a5dcf3e
BuildRequires:  mesa-libGL-devel
a5dcf3e
BuildRequires:  mesa-libGLU-devel
25069bf
BuildRequires:  chrpath
6c6aa24
Requires:       gcc
6c6aa24
Requires:       ncurses-devel
6c6aa24
Requires:       gdbm-devel
be42b9a
Requires:       rpm-build >= 4.8.0
fdf6a5a
Provides:       ocaml(compiler) = %{version}
01afb12
01afb12
# We can compile OCaml on just about anything, but the native code
01afb12
# backend is only available on a subset of architectures.
d31f3e6
ExclusiveArch:  alpha %{arm} %{ix86} ia64 x86_64 ppc sparc sparcv9 ppc64
fa207eb
4863fbd
%ifarch alpha %{arm} %{ix86} ia64 ppc ppc64 sparc sparcv9 x86_64
01afb12
%global native_compiler 1
01afb12
%else
01afb12
%global native_compiler 0
01afb12
%endif
01afb12
814f517
%ifarch %{arm} %{ix86} ppc64 sparc sparcv9 x86_64
01afb12
%global natdynlink 1
01afb12
%else
01afb12
%global natdynlink 0
01afb12
%endif
01afb12
7975f6b
%global __ocaml_requires_opts -c -f %{buildroot}%{_bindir}/ocamlobjinfo
7975f6b
%global __ocaml_provides_opts -f %{buildroot}%{_bindir}/ocamlobjinfo
fdf6a5a
f7302e6
cvsextras be41c84
%description
cvsextras be41c84
Objective Caml is a high-level, strongly-typed, functional and
cvsextras be41c84
object-oriented programming language from the ML family of languages.
cvsextras be41c84
cvsextras be41c84
This package comprises two batch compilers (a fast bytecode compiler
cvsextras be41c84
and an optimizing native-code compiler), an interactive toplevel system,
cvsextras be41c84
parsing tools (Lex,Yacc,Camlp4), a replay debugger, a documentation generator,
cvsextras be41c84
and a comprehensive library.
cvsextras be41c84
a5dcf3e
6c6aa24
%package runtime
6c6aa24
Group:          System Environment/Libraries
6c6aa24
Summary:        Objective Caml runtime environment
bf42eca
Requires:       util-linux
fdf6a5a
Provides:       ocaml(runtime) = %{version}
6c6aa24
6c6aa24
%description runtime
6c6aa24
Objective Caml is a high-level, strongly-typed, functional and
6c6aa24
object-oriented programming language from the ML family of languages.
6c6aa24
6c6aa24
This package contains the runtime environment needed to run Objective
6c6aa24
Caml bytecode.
6c6aa24
6c6aa24
6c6aa24
%package source
6c6aa24
Group:          Development/Languages
6c6aa24
Summary:        Source code for Objective Caml libraries
6c6aa24
Requires:       ocaml = %{version}-%{release}
6c6aa24
6c6aa24
%description source
6c6aa24
Source code for Objective Caml libraries.
6c6aa24
6c6aa24
6c6aa24
%package x11
6c6aa24
Group:          System Environment/Libraries
6c6aa24
Summary:        X11 support for Objective Caml
6c6aa24
Requires:       ocaml-runtime = %{version}-%{release}
6c6aa24
Requires:       libX11-devel
6c6aa24
6c6aa24
%description x11
6c6aa24
X11 support for Objective Caml.
6c6aa24
6c6aa24
6c6aa24
%package labltk
fdf6a5a
Group:          System Environment/Libraries
fdf6a5a
Summary:        Tk bindings for Objective Caml
fdf6a5a
Requires:       ocaml-runtime = %{version}-%{release}
6c6aa24
6c6aa24
%description labltk
6c6aa24
Labltk is a library for interfacing Objective Caml with the scripting
6c6aa24
language Tcl/Tk.
6c6aa24
6c6aa24
This package contains the runtime files.
6c6aa24
6c6aa24
6c6aa24
%package labltk-devel
fdf6a5a
Group:          Development/Libraries
fdf6a5a
Summary:        Development files for labltk
fdf6a5a
Requires:       ocaml = %{version}-%{release}
6c6aa24
Requires:       %{name}-labltk = %{version}-%{release}
6c6aa24
Requires:       libX11-devel
6409abf
Requires:       tcl-devel
6409abf
Requires:       tk-devel
6c6aa24
6c6aa24
%description labltk-devel
6c6aa24
Labltk is a library for interfacing Objective Caml with the scripting
6c6aa24
language Tcl/Tk.
cvsextras be41c84
6c6aa24
This package contains the development files.  It includes the ocaml
6c6aa24
browser for code editing and library browsing.
cvsextras be41c84
a5dcf3e
6c6aa24
%package camlp4
fdf6a5a
Group:          Development/Languages
fdf6a5a
Summary:        Pre-Processor-Pretty-Printer for Objective Caml
fdf6a5a
Requires:       ocaml-runtime = %{version}-%{release}
6c6aa24
6c6aa24
%description camlp4
6c6aa24
Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml, parsing a
6c6aa24
source file and printing some result on standard output.
6c6aa24
6c6aa24
This package contains the runtime files.
6c6aa24
6c6aa24
6c6aa24
%package camlp4-devel
fdf6a5a
Group:          Development/Languages
fdf6a5a
Summary:        Pre-Processor-Pretty-Printer for Objective Caml
fdf6a5a
Requires:       ocaml = %{version}-%{release}
6c6aa24
Requires:       %{name}-camlp4 = %{version}-%{release}
6c6aa24
6c6aa24
%description camlp4-devel
6c6aa24
Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml, parsing a
6c6aa24
source file and printing some result on standard output.
cvsextras be41c84
6c6aa24
This package contains the development files.
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%package ocamldoc
fdf6a5a
Group:          Development/Languages
fdf6a5a
Summary:        Documentation generator for Objective Caml.
fdf6a5a
Requires:       ocaml = %{version}-%{release}
fd5d937
Provides:	ocamldoc
cvsextras be41c84
cvsextras be41c84
%description ocamldoc
cvsextras be41c84
Documentation generator for Objective Caml.
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%package emacs
fdf6a5a
Group:          Development/Languages
fdf6a5a
Summary:        Emacs mode for Objective Caml
fdf6a5a
Requires:       ocaml = %{version}-%{release}
fdf6a5a
Requires:       emacs
cvsextras be41c84
cvsextras be41c84
%description emacs
cvsextras be41c84
Emacs mode for Objective Caml.
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%package docs
fdf6a5a
Group:          Development/Languages
fdf6a5a
Summary:        Documentation for Objective Caml
fdf6a5a
Requires:       ocaml = %{version}-%{release}
fdf6a5a
Requires(post): /sbin/install-info
6c6aa24
Requires(preun): /sbin/install-info
6c6aa24
cvsextras be41c84
cvsextras be41c84
%description docs
6c6aa24
Objective Caml is a high-level, strongly-typed, functional and
6c6aa24
object-oriented programming language from the ML family of languages.
6c6aa24
6c6aa24
This package contains documentation in PDF and HTML format as well as
6c6aa24
man pages and info files.
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%prep
62846e7
%setup -q -T -b 0 -n %{name}-%{version}
62846e7
%setup -q -T -D -a 1 -n %{name}-%{version}
62846e7
%setup -q -T -D -a 3 -n %{name}-%{version}
a071122
a071122
git init
a071122
git config user.email "noone@example.com"
a071122
git config user.name "no one"
a071122
git add .
a071122
git commit -a -q -m "%{version} baseline"
a071122
git am %{patches}
817b039
266d4d2
cp %{SOURCE2} refman.pdf
cvsextras be41c84
814f517
chmod +x config/gnu/config.{guess,sub}
814f517
a5dcf3e
cvsextras be41c84
%build
817b039
CFLAGS="$RPM_OPT_FLAGS" ./configure \
cvsextras be41c84
    -bindir %{_bindir} \
cvsextras be41c84
    -libdir %{_libdir}/ocaml \
eafcfe6
    -x11lib %{_libdir} \
eafcfe6
    -x11include %{_includedir} \
cvsextras be41c84
    -mandir %{_mandir}/man1
01afb12
make world
01afb12
%if %{native_compiler}
01afb12
make opt opt.opt
01afb12
%endif
cvsextras be41c84
# %{?_smp_mflags} breaks the build
fa207eb
make -C emacs ocamltags
6c6aa24
a06adc6
# Currently these tools are supplied by Debian, but are expected
a06adc6
# to go upstream at some point.
84643c6
includes="-nostdlib -I stdlib -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I otherlibs/unix -I otherlibs/str -I otherlibs/dynlink"
84643c6
boot/ocamlrun ./ocamlc $includes dynlinkaux.cmo ocamlbyteinfo.ml -o ocamlbyteinfo
c6dd15b
#cp otherlibs/dynlink/natdynlink.ml .
c6dd15b
#boot/ocamlrun ./ocamlopt $includes unix.cmxa str.cmxa natdynlink.ml ocamlplugininfo.ml -o ocamlplugininfo
a06adc6
a5dcf3e
cvsextras be41c84
%install
cvsextras be41c84
rm -rf $RPM_BUILD_ROOT
6c6aa24
make install \
6c6aa24
     BINDIR=$RPM_BUILD_ROOT%{_bindir} \
6c6aa24
     LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
6c6aa24
     MANDIR=$RPM_BUILD_ROOT%{_mandir}
cvsextras be41c84
perl -pi -e "s|^$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf
6c6aa24
cvsextras be41c84
(
6c6aa24
    # install emacs files
cvsextras be41c84
    cd emacs;
6c6aa24
    make install \
fdf6a5a
         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
fdf6a5a
         EMACSDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
cvsextras be41c84
    make install-ocamltags BINDIR=$RPM_BUILD_ROOT%{_bindir}
cvsextras be41c84
)
6c6aa24
cvsextras be41c84
(
6c6aa24
    # install info files
cvsextras be41c84
    mkdir -p $RPM_BUILD_ROOT%{_infodir};
cvsextras be41c84
    cd infoman; cp ocaml*.gz $RPM_BUILD_ROOT%{_infodir}
cvsextras be41c84
)
6c6aa24
6a495c8
echo %{version} > $RPM_BUILD_ROOT%{_libdir}/ocaml/fedora-ocaml-release
6c6aa24
25069bf
# Remove rpaths from stublibs .so files.
25069bf
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/*.so
25069bf
a06adc6
install -m 0755 ocamlbyteinfo $RPM_BUILD_ROOT%{_bindir}
c6dd15b
#install -m 0755 ocamlplugininfo $RPM_BUILD_ROOT%{_bindir}
a06adc6
6c6aa24
cvsextras be41c84
%clean
cvsextras be41c84
rm -rf $RPM_BUILD_ROOT
cvsextras be41c84
a5dcf3e
6c6aa24
%post docs
cvsextras be41c84
/sbin/install-info \
84831b9
    --entry="* ocaml: (ocaml).   The Objective Caml compiler and programming environment" \
84831b9
    --section="Programming Languages" \
cvsextras be41c84
    %{_infodir}/%{name}.info \
cvsextras be41c84
    %{_infodir}/dir 2>/dev/null || :
cvsextras be41c84
a5dcf3e
6c6aa24
%preun docs
4529a13
if [ $1 -eq 0 ]; then
cvsextras be41c84
  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
cvsextras be41c84
fi
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%files
cvsextras be41c84
%defattr(-,root,root,-)
6c6aa24
%{_bindir}/ocaml
a06adc6
%{_bindir}/ocamlbyteinfo
6c6aa24
%{_bindir}/ocamlbuild
6c6aa24
%{_bindir}/ocamlbuild.byte
01afb12
%if %{native_compiler}
6c6aa24
%{_bindir}/ocamlbuild.native
01afb12
%endif
6c6aa24
%{_bindir}/ocamlc
01afb12
%if %{native_compiler}
6c6aa24
%{_bindir}/ocamlc.opt
01afb12
%endif
6c6aa24
%{_bindir}/ocamlcp
6c6aa24
%{_bindir}/ocamldebug
6c6aa24
%{_bindir}/ocamldep
01afb12
%if %{native_compiler}
6c6aa24
%{_bindir}/ocamldep.opt
01afb12
%endif
6c6aa24
%{_bindir}/ocamllex
01afb12
%if %{native_compiler}
6c6aa24
%{_bindir}/ocamllex.opt
01afb12
%endif
6c6aa24
%{_bindir}/ocamlmklib
6c6aa24
%{_bindir}/ocamlmktop
6c6aa24
%{_bindir}/ocamlobjinfo
01afb12
%if %{native_compiler}
6c6aa24
%{_bindir}/ocamlopt
6c6aa24
%{_bindir}/ocamlopt.opt
01afb12
%endif
c6dd15b
#%{_bindir}/ocamlplugininfo
6c6aa24
%{_bindir}/ocamlprof
6c6aa24
%{_bindir}/ocamlyacc
c6dd15b
#%{_libdir}/ocaml/addlabels
c6dd15b
#%{_libdir}/ocaml/scrapelabels
6c6aa24
%{_libdir}/ocaml/camlheader
6c6aa24
%{_libdir}/ocaml/camlheader_ur
6c6aa24
%{_libdir}/ocaml/expunge
6c6aa24
%{_libdir}/ocaml/extract_crc
6c6aa24
%{_libdir}/ocaml/ld.conf
6c6aa24
%{_libdir}/ocaml/Makefile.config
6c6aa24
%{_libdir}/ocaml/*.a
01afb12
%if %{natdynlink}
f7302e6
%{_libdir}/ocaml/*.cmxs
d31f3e6
%endif
01afb12
%if %{native_compiler}
6c6aa24
%{_libdir}/ocaml/*.cmxa
6c6aa24
%{_libdir}/ocaml/*.cmx
6c6aa24
%{_libdir}/ocaml/*.o
01afb12
%endif
01afb12
%{_libdir}/ocaml/*.mli
f7302e6
%{_libdir}/ocaml/libcamlrun_shared.so
c6dd15b
%{_libdir}/ocaml/objinfo_helper
6c6aa24
%{_libdir}/ocaml/vmthreads/*.mli
6c6aa24
%{_libdir}/ocaml/vmthreads/*.a
01afb12
%if %{native_compiler}
6c6aa24
%{_libdir}/ocaml/threads/*.a
6c6aa24
%{_libdir}/ocaml/threads/*.cmxa
6c6aa24
%{_libdir}/ocaml/threads/*.cmx
01afb12
%endif
6c6aa24
%{_libdir}/ocaml/caml
6c6aa24
%{_libdir}/ocaml/ocamlbuild
6c6aa24
%exclude %{_libdir}/ocaml/graphicsX11.mli
6c6aa24
6c6aa24
6c6aa24
%files runtime
6c6aa24
%defattr(-,root,root,-)
6c6aa24
%{_bindir}/ocamlrun
6c6aa24
%dir %{_libdir}/ocaml
6c6aa24
%{_libdir}/ocaml/*.cmo
6c6aa24
%{_libdir}/ocaml/*.cmi
6c6aa24
%{_libdir}/ocaml/*.cma
6c6aa24
%{_libdir}/ocaml/stublibs
6c6aa24
%dir %{_libdir}/ocaml/vmthreads
6c6aa24
%{_libdir}/ocaml/vmthreads/*.cmi
6c6aa24
%{_libdir}/ocaml/vmthreads/*.cma
6c6aa24
%dir %{_libdir}/ocaml/threads
6c6aa24
%{_libdir}/ocaml/threads/*.cmi
6c6aa24
%{_libdir}/ocaml/threads/*.cma
6c6aa24
%{_libdir}/ocaml/fedora-ocaml-release
6c6aa24
%exclude %{_libdir}/ocaml/graphicsX11.cmi
cvsextras be41c84
%exclude %{_libdir}/ocaml/stublibs/dlllabltk.so
c6dd15b
#%exclude %{_libdir}/ocaml/stublibs/dlltkanim.so
cvsextras be41c84
%doc README LICENSE Changes
cvsextras be41c84
a5dcf3e
6c6aa24
%files source
6c6aa24
%defattr(-,root,root,-)
6c6aa24
%{_libdir}/ocaml/*.ml
6c6aa24
6c6aa24
6c6aa24
%files x11
6c6aa24
%defattr(-,root,root,-)
6c6aa24
%{_libdir}/ocaml/graphicsX11.cmi
6c6aa24
%{_libdir}/ocaml/graphicsX11.mli
6c6aa24
6c6aa24
6c6aa24
%files labltk
cvsextras be41c84
%defattr(-,root,root,-)
cvsextras be41c84
%{_bindir}/labltk
6c6aa24
%dir %{_libdir}/ocaml/labltk
6c6aa24
%{_libdir}/ocaml/labltk/*.cmi
6c6aa24
%{_libdir}/ocaml/labltk/*.cma
6c6aa24
%{_libdir}/ocaml/labltk/*.cmo
cvsextras be41c84
%{_libdir}/ocaml/stublibs/dlllabltk.so
c6dd15b
#%{_libdir}/ocaml/stublibs/dlltkanim.so
6c6aa24
6c6aa24
6c6aa24
%files labltk-devel
6c6aa24
%defattr(-,root,root,-)
6c6aa24
%{_bindir}/ocamlbrowser
6c6aa24
%{_libdir}/ocaml/labltk/labltktop
6c6aa24
%{_libdir}/ocaml/labltk/pp
6c6aa24
%{_libdir}/ocaml/labltk/tkcompiler
6c6aa24
%{_libdir}/ocaml/labltk/*.a
01afb12
%if %{native_compiler}
6c6aa24
%{_libdir}/ocaml/labltk/*.cmxa
6c6aa24
%{_libdir}/ocaml/labltk/*.cmx
6c6aa24
%{_libdir}/ocaml/labltk/*.o
01afb12
%endif
01afb12
%{_libdir}/ocaml/labltk/*.mli
cvsextras be41c84
%doc otherlibs/labltk/examples_labltk
cvsextras be41c84
%doc otherlibs/labltk/examples_camltk
cvsextras be41c84
a5dcf3e
6c6aa24
%files camlp4
6c6aa24
%defattr(-,root,root,-)
6c6aa24
%dir %{_libdir}/ocaml/camlp4
6c6aa24
%{_libdir}/ocaml/camlp4/*.cmi
6c6aa24
%{_libdir}/ocaml/camlp4/*.cma
6c6aa24
%{_libdir}/ocaml/camlp4/*.cmo
6c6aa24
%dir %{_libdir}/ocaml/camlp4/Camlp4Filters
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmi
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmo
6c6aa24
%dir %{_libdir}/ocaml/camlp4/Camlp4Parsers
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmo
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmi
6c6aa24
%dir %{_libdir}/ocaml/camlp4/Camlp4Printers
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmi
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmo
6c6aa24
%dir %{_libdir}/ocaml/camlp4/Camlp4Top
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmi
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmo
6c6aa24
6c6aa24
6c6aa24
%files camlp4-devel
cvsextras be41c84
%defattr(-,root,root,-)
cvsextras be41c84
%{_bindir}/camlp4*
cvsextras be41c84
%{_bindir}/mkcamlp4
01afb12
%if %{native_compiler}
6c6aa24
%{_libdir}/ocaml/camlp4/*.a
6c6aa24
%{_libdir}/ocaml/camlp4/*.cmxa
6c6aa24
%{_libdir}/ocaml/camlp4/*.cmx
6c6aa24
%{_libdir}/ocaml/camlp4/*.o
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmx
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.o
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmx
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.o
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmx
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.o
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmx
6c6aa24
%{_libdir}/ocaml/camlp4/Camlp4Top/*.o
01afb12
%endif
6c6aa24
%{_mandir}/man1/*
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%files ocamldoc
cvsextras be41c84
%defattr(-,root,root,-)
cvsextras be41c84
%{_bindir}/ocamldoc*
cvsextras be41c84
%{_libdir}/ocaml/ocamldoc
cvsextras be41c84
%doc ocamldoc/Changes.txt
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%files docs
cvsextras be41c84
%defattr(-,root,root,-)
266d4d2
%doc refman.pdf htmlman
6c6aa24
%{_infodir}/*
01afb12
%if %{native_compiler}
6c6aa24
%{_mandir}/man3/*
01afb12
%endif
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%files emacs
cvsextras be41c84
%defattr(-,root,root,-)
cvsextras be41c84
%{_datadir}/emacs/site-lisp/*
cvsextras be41c84
%{_bindir}/ocamltags
cvsextras be41c84
%doc emacs/README
cvsextras be41c84
a5dcf3e
cvsextras be41c84
%changelog
a071122
* Tue May 29 2012 Richard W.M. Jones <rjones@redhat.com> 3.12.1-5
a071122
- Move patches to external git repo:
a071122
  http://git.fedorahosted.org/git/?p=fedora-ocaml.git
a071122
  There should be no change introduced here.
a071122
a071122
* Tue May 15 2012 Karsten Hopp <karsten@redhat.com> 3.12.1-4
4acc11f
- ppc64 got broken by the new ARM backend, add a minor patch
4acc11f
814f517
* Sat Apr 28 2012 Richard W.M. Jones <rjones@redhat.com> 3.12.1-3
814f517
- New ARM backend by Benedikt Meurer, backported to OCaml 3.12.1.
814f517
  This has several advantages, including enabling natdynlink on ARM.
814f517
- Provide updated config.guess and config.sub (from OCaml upstream tree).
814f517
4863fbd
* Thu Jan 12 2012 Richard W.M. Jones <rjones@redhat.com> 3.12.1-2
4863fbd
- add back ocaml-ppc64.patch for ppc secondary arch, drop .cmxs files
4863fbd
  from file list on ppc (cherry picked from F16 - this should have
4863fbd
  gone into Rawhide originally then been cherry picked back to F16)
4863fbd
a334c49
* Fri Jan  6 2012 Richard W.M. Jones <rjones@redhat.com> - 3.12.1-1
a334c49
- New upstream version 3.12.1.  This is a bugfix update.
a334c49
01afb12
* Thu Dec  8 2011 Richard W.M. Jones <rjones@redhat.com> - 3.12.0-7
01afb12
- Allow this package to be compiled on platforms without native
01afb12
  support and/or natdynlink, specifically ppc64.  This updates (and
01afb12
  hopefully does not break) DJ's previous *.cmxs change for arm.
01afb12
d31f3e6
* Fri Sep 23 2011 DJ Delorie <dj@redhat.com> - 3.12.0-6
d31f3e6
- Add arm type directive patch.
d31f3e6
- Allow more arm arches.
d31f3e6
- Don't package *.cmxs on arm.
d31f3e6
170eee2
* Wed Mar 30 2011 Richard W.M. Jones <rjones@redhat.com> - 3.12.0-5
170eee2
- Fix for invalid assembler generation (RHBZ#691896).
170eee2
f83ef8e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-4
f83ef8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f83ef8e
781dace
* Wed Jan  5 2011 Richard W.M. Jones <rjones@redhat.com> - 3.12.0-3
781dace
- Rebuild with self.
781dace
0c497e0
* Tue Jan  4 2011 Richard W.M. Jones <rjones@redhat.com> - 3.12.0-2
0c497e0
- Try depending on OCaml BR to fix:
0c497e0
  /usr/lib/rpm/ocaml-find-provides.sh: /builddir/build/BUILDROOT/ocaml-3.12.0-1.fc15.i386/usr/bin/ocamlobjinfo: /usr/bin/ocamlrun: bad interpreter: No such file or directory
0c497e0
c6dd15b
* Tue Jan  4 2011 Richard W.M. Jones <rjones@redhat.com> - 3.12.0-1
c6dd15b
- New upstream version 3.12.0.
c6dd15b
  http://fedoraproject.org/wiki/Features/OCaml3.12
c6dd15b
- Remove ppc64 support patch.
c6dd15b
- Rebase rpath removal patch.
c6dd15b
- ocamlobjinfo is now an official tool, so no need to compile it by hand.
c6dd15b
  Add objinfo_helper.
c6dd15b
- Disable ocamlplugininfo.
c6dd15b
- Remove addlabels, scrapelabels.
c6dd15b
- Remove ocaml/stublibs/dlltkanim.so.
c6dd15b
982825f
* Fri Jan 29 2010 Richard W.M. Jones <rjones@redhat.com> - 3.11.2-2
982825f
- Update reference manual to latest version from website.
982825f
62846e7
* Wed Jan 20 2010 Richard W.M. Jones <rjones@redhat.com> - 3.11.2-1
62846e7
- Update to 3.11.2 official release.
62846e7
6409abf
* Tue Jan  5 2010 Richard W.M. Jones <rjones@redhat.com> - 3.11.2-0.rc1.2
6409abf
- ocaml-labltk-devel should require tcl-devel and tk-devel.
6409abf
7de6ce6
* Tue Dec 29 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.2-0.rc1.1
7de6ce6
- Update to (release candidate) 3.11.2+rc1.
7de6ce6
7975f6b
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-8
7975f6b
- Use __ocaml_requires_opts / __ocaml_provides_opts.
7975f6b
be42b9a
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-7
be42b9a
- Remove ocaml-find-{requires,provides}.sh from this package.  These are
be42b9a
  now in upstream RPM 4.8 (RHBZ#545116).
be42b9a
- define -> global in a few places.
be42b9a
d59fc82
* Thu Nov 05 2009 Dennis Gilmore <dennis@ausil.us> - 3.11.1-6
d59fc82
- include sparcv9 in the arch list
d59fc82
84831b9
* Tue Oct 27 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-5
84831b9
- Install ocaml.info files correctly (RHBZ#531204).
84831b9
84643c6
* Fri Oct 16 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-4
84643c6
- Set includes so building the *info programs works without
84643c6
  having OCaml already installed.
84643c6
a06adc6
* Fri Oct 16 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-3
a06adc6
- Add ocamlbyteinfo and ocamlplugininfo programs from Debian.
a06adc6
7f67559
* Sun Oct  4 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-2
7f67559
- ocaml-find-requires.sh: Calculate runtime version using ocamlrun
7f67559
  -version instead of fedora-ocaml-release file.
7f67559
44da866
* Wed Sep 30 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-1
44da866
- OCaml 3.11.1 (this is virtually the same as the release candidate
44da866
  that we were using for Fedora 12).
44da866
97bb1e5
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.1-0.rc1.2.1
97bb1e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
97bb1e5
72e4275
* Wed Jun  3 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-0.rc1.2
72e4275
- Remember to upload the source this time.
72e4275
adf1368
* Wed Jun  3 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-0.rc1.1
adf1368
- New upstream release candidate 3.11.1+rc1.
adf1368
- Remove ocamlbuild -where patch (now upstream).
adf1368
c7840b7
* Tue Jun  2 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-0.rc0.3
c7840b7
- Move dllgraphics.so into runtime package (RHBZ#468506).
c7840b7
1f353c5
* Tue May 26 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-0.rc0.2
1f353c5
- Backport ocamlbuild -where fix.
1f353c5
9f89b6c
* Fri May 22 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-0.rc0.1
9f89b6c
- 3.11.1 release candidate 0.
9f89b6c
ee837aa
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.0-2
ee837aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ee837aa
ab974e5
* Thu Dec  4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-1
ab974e5
- Official release of 3.11.0.
ab974e5
bbb190b
* Thu Dec  4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-0.6.rc1
bbb190b
- Fixed sources file.
bbb190b
ff34342
* Thu Dec  4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-0.5.rc1
ff34342
- New upstream version 3.11.0+rc1.
ff34342
ff34342
* Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-0.4.beta1
9494291
- Rebuild.
9494291
670a239
* Thu Nov 20 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.11.0-0.3.beta1
670a239
- fix NVR to match packaging guidelines
670a239
08dd76f
* Thu Nov 20 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0+beta1-2
08dd76f
- Fix Invalid_argument("String.index_from") with patch from upstream.
08dd76f
f7302e6
* Tue Nov 18 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0+beta1-1
f7302e6
- Rebuild for major new upstream release of 3.11.0 for Fedora 11.
f7302e6
71268b2
* Thu Aug 29 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-5
71268b2
- Rebuild with patch fuzz.
71268b2
123fdae
* Mon Jun  9 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-4
123fdae
- Add ocaml-3.11-dev12-no-executable-stack.patch (bz #450551).
123fdae
fd5d937
* Wed Jun  4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-3
fd5d937
- ocaml-ocamldoc provides ocamldoc (bz #449931).
fd5d937
- REMOVED provides of labltk, camlp4.  Those are libraries and all
fd5d937
  packages should now depend on ocaml-labltk / ocaml-camlp4 / -devel
fd5d937
  as appropriate.
fd5d937
1ae7a89
* Thu May  8 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-2
1ae7a89
- Pass MAP_32BIT to mmap (bz #445545).
1ae7a89
fdf6a5a
* Mon Apr 21 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-1
fdf6a5a
- New upstream version 3.10.2 for Fedora 10.
fdf6a5a
- Cleaned up several rpmlint errors & warnings.
fdf6a5a
7d100ce
* Fri Feb 29 2008 David Woodhouse <dwmw2@infradead.org> - 3.10.1-2
7d100ce
- ppc64 port
7d100ce
a775fd8
* Tue Feb 12 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.1-1
a775fd8
- new upstream version 3.10.1
a775fd8
a1071e3
* Fri Jan  4 2008 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-8
a1071e3
- patch for building with tcl/tk 8.5
a1071e3
25069bf
* Thu Sep  6 2007 Richard W.M. Jones <rjones@redhat.com> - 3.10.0-7
25069bf
- Run chrpath to delete rpaths used on some of the stublibs.
25069bf
- Ignore Parsetree module in dependency calculation.
25069bf
- Fixed ocaml-find-{requires,provides}.sh regexp calculation so it doesn't
25069bf
  over-match module names.
25069bf
34cb4f2
* Mon Sep  3 2007 Richard W.M. Jones <rjones@redhat.com> - 3.10.0-6
34cb4f2
- ocaml-runtime provides ocaml(runtime) = 3.10.0, and
34cb4f2
  ocaml-find-requires.sh modified so that it adds this requires
34cb4f2
  to other packages.  Now can upgrade base ocaml packages without
34cb4f2
  needing to rebuild everything else.
34cb4f2
6a495c8
* Mon Sep  3 2007 Richard W.M. Jones <rjones@redhat.com> - 3.10.0-5
6a495c8
- Don't include the release number in fedora-ocaml-release file, so
6a495c8
  that packages built against this won't depend on the Fedora release.
6a495c8
7e41c47
* Wed Aug 29 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-4
7e41c47
- added BR util-linux-ng
7e41c47
8859c79
* Wed Aug 29 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-3
7e41c47
- added BR gawk
8859c79
10dd3e5
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.10.0-2
10dd3e5
- Rebuild for selinux ppc32 issue.
10dd3e5
6c6aa24
* Sat Jun  2 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-1
6c6aa24
- new version 3.10.0
6c6aa24
- split off devel packages
6c6aa24
- rename subpackages to use ocaml- prefix
6c6aa24
fa207eb
* Thu May 24 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.09.3-2
fa207eb
- added ocamlobjinfo
fa207eb
3b2827b
* Sat Dec  2 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.3-1
3b2827b
- new version 3.09.3
3b2827b
bf70092
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.2-2
bf70092
- Rebuild for FE6
bf70092
266d4d2
* Sun Apr 30 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.2-1
266d4d2
- new version 3.09.2
266d4d2
a6e4b14
* Fri Feb 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.1-2
a6e4b14
- Rebuild for Fedora Extras 5
a6e4b14
5e1a828
* Thu Jan  5 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.1-1
5e1a828
- new version 3.09.1
5e1a828
03108e3
* Sun Jan  1 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.0-1
03108e3
- new version 3.09.0
03108e3
0d2d47e
* Sun Sep 11 2005 Gerard Milmeister <gemi@bluewin.ch> - 3.08.4-1
0d2d47e
- New Version 3.08.4
0d2d47e
332bd58
* Wed May 25 2005 Toshio Kuratomi <toshio-tiki-lounge.com> - 3.08.3-5
332bd58
- Bump and re-release as last build failed due to rawhide syncing.
332bd58
326271f
* Sun May 22 2005 Toshio Kuratomi <toshio-tiki-lounge.com> - 3.08.3-4
817b039
- Fix for gcc4 and the 32 bit assembly in otherlibs/num.
817b039
- Fix to allow compilation with RPM_OPT_FLAG defined -O level.
817b039
d95206a
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 3.08.3-3
d95206a
- rebuild on all arches
d95206a
c39241b
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
c39241b
- rebuilt
c39241b
aa4861b
* Sat Mar 26 2005 Gerard Milmeister <gemi@bluewin.ch> - 3.08.3-1
aa4861b
- New Version 3.08.3
aa4861b
c5c9c16
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:3.08.2-2
c5c9c16
- Added patch for removing rpath from shared libs
c5c9c16
186fbe9
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:3.08.2-1
186fbe9
- New Version 3.08.2
186fbe9
0b1d488
* Thu Dec 30 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:3.07-6
fdf6a5a
- add -x11lib _prefix/X11R6/_lib to configure; fixes labltk build
0b1d488
  on x86_64
0b1d488
cvsextras be41c84
* Tue Dec  2 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.5
cvsextras be41c84
- ocamldoc -> ocaml-ocamldoc
cvsextras be41c84
- ocaml-doc -> ocaml-docs
cvsextras be41c84
cvsextras be41c84
* Fri Nov 28 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.4
cvsextras be41c84
- Make separate packages for labltk, camlp4, ocamldoc, emacs and documentation
cvsextras be41c84
cvsextras be41c84
* Thu Nov 27 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.2
cvsextras be41c84
- Changed license tag
cvsextras be41c84
- Register info files
cvsextras be41c84
- Honor RPM_OPT_FLAGS
cvsextras be41c84
- New Patch
cvsextras be41c84
cvsextras be41c84
* Fri Oct 31 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.1
cvsextras be41c84
- First Fedora release
cvsextras be41c84
cvsextras be41c84
* Mon Oct 13 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
cvsextras be41c84
- Updated to 3.07.
cvsextras be41c84
cvsextras be41c84
* Wed Apr  9 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
cvsextras be41c84
- Rebuilt for Red Hat 9.
cvsextras be41c84
cvsextras be41c84
* Tue Nov 26 2002 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
fdf6a5a
- Added _mandir/mano/* entry