2008-08-28 16:45:14 +00:00
|
|
|
%define _default_patch_fuzz 2
|
|
|
|
|
2008-04-23 08:45:19 +00:00
|
|
|
Name: ocaml
|
2009-05-22 15:25:54 +00:00
|
|
|
Version: 3.11.1
|
2009-05-26 13:09:02 +00:00
|
|
|
Release: 0.rc0.2%{?dist}
|
2008-04-23 08:45:19 +00:00
|
|
|
|
|
|
|
Summary: Objective Caml compiler and programming environment
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
License: QPL and (LGPLv2+ with exceptions)
|
2008-11-20 15:30:55 +00:00
|
|
|
|
2008-04-23 08:45:19 +00:00
|
|
|
URL: http://www.ocaml.org
|
2008-11-20 15:30:55 +00:00
|
|
|
|
2009-05-22 15:25:54 +00:00
|
|
|
Source0: http://caml.inria.fr/distrib/ocaml-3.11/ocaml-%{version}+rc0.tar.gz
|
2008-11-20 15:30:55 +00:00
|
|
|
Source1: http://caml.inria.fr/distrib/ocaml-3.11/ocaml-3.11-refman.html.tar.gz
|
|
|
|
Source2: http://caml.inria.fr/distrib/ocaml-3.11/ocaml-3.11-refman.pdf
|
|
|
|
Source3: http://caml.inria.fr/distrib/ocaml-3.11/ocaml-3.11-refman.info.tar.gz
|
2008-04-23 08:45:19 +00:00
|
|
|
Source4: ocaml-find-requires.sh
|
|
|
|
Source5: ocaml-find-provides.sh
|
2008-11-20 15:30:55 +00:00
|
|
|
|
|
|
|
Patch0: ocaml-3.11.0-rpath.patch
|
2008-04-23 08:45:19 +00:00
|
|
|
Patch1: ocaml-user-cflags.patch
|
2008-11-20 15:30:55 +00:00
|
|
|
|
|
|
|
# Support for PPC64 platform by David Woodhouse:
|
|
|
|
Patch3: ocaml-3.11.0-ppc64.patch
|
|
|
|
|
2009-05-26 13:09:02 +00:00
|
|
|
# Backport ocamlbuild -where fix to 3.11.1+rc0.
|
|
|
|
Patch4: ocamlbuild_where.ml.diff
|
|
|
|
|
2008-04-23 08:45:19 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2008-11-20 15:30:55 +00:00
|
|
|
|
2008-04-23 08:45:19 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2006-01-01 00:05:17 +00:00
|
|
|
BuildRequires: gdbm-devel
|
2008-04-23 08:45:19 +00:00
|
|
|
BuildRequires: tcl-devel
|
2007-07-02 15:13:39 +00:00
|
|
|
BuildRequires: tk-devel
|
2008-04-23 08:45:19 +00:00
|
|
|
BuildRequires: emacs
|
2007-08-29 11:28:42 +00:00
|
|
|
BuildRequires: gawk
|
2007-07-02 15:13:39 +00:00
|
|
|
BuildRequires: perl
|
2007-08-29 13:24:23 +00:00
|
|
|
BuildRequires: util-linux-ng
|
2006-01-01 00:22:18 +00:00
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
2006-01-01 00:05:17 +00:00
|
|
|
BuildRequires: libX11-devel
|
2006-01-01 00:22:18 +00:00
|
|
|
BuildRequires: libXaw-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: libXmu-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
BuildRequires: mesa-libGLU-devel
|
2007-09-06 11:49:59 +00:00
|
|
|
BuildRequires: chrpath
|
2007-07-02 15:13:39 +00:00
|
|
|
Requires: gcc
|
|
|
|
Requires: ncurses-devel
|
|
|
|
Requires: gdbm-devel
|
2008-04-23 08:45:19 +00:00
|
|
|
Provides: ocaml(compiler) = %{version}
|
2008-02-29 18:52:45 +00:00
|
|
|
ExclusiveArch: alpha armv4l %{ix86} ia64 x86_64 ppc sparc ppc64
|
2007-05-24 17:13:30 +00:00
|
|
|
|
2008-04-23 08:45:19 +00:00
|
|
|
%define _use_internal_dependency_generator 0
|
2008-11-20 15:30:55 +00:00
|
|
|
%define __find_requires %{SOURCE4} -c -f %{buildroot}%{_bindir}/ocamlobjinfo
|
2008-04-23 08:45:19 +00:00
|
|
|
%define __find_provides %{SOURCE5} -f %{buildroot}%{_bindir}/ocamlobjinfo
|
|
|
|
|
2008-11-20 15:30:55 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%description
|
|
|
|
Objective Caml is a high-level, strongly-typed, functional and
|
|
|
|
object-oriented programming language from the ML family of languages.
|
|
|
|
|
|
|
|
This package comprises two batch compilers (a fast bytecode compiler
|
|
|
|
and an optimizing native-code compiler), an interactive toplevel system,
|
|
|
|
parsing tools (Lex,Yacc,Camlp4), a replay debugger, a documentation generator,
|
|
|
|
and a comprehensive library.
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
%package runtime
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Summary: Objective Caml runtime environment
|
2007-08-29 13:24:23 +00:00
|
|
|
Requires: util-linux-ng
|
2008-04-23 08:45:19 +00:00
|
|
|
Provides: ocaml(runtime) = %{version}
|
2007-07-02 15:13:39 +00:00
|
|
|
|
|
|
|
%description runtime
|
|
|
|
Objective Caml is a high-level, strongly-typed, functional and
|
|
|
|
object-oriented programming language from the ML family of languages.
|
|
|
|
|
|
|
|
This package contains the runtime environment needed to run Objective
|
|
|
|
Caml bytecode.
|
|
|
|
|
|
|
|
|
|
|
|
%package source
|
|
|
|
Group: Development/Languages
|
|
|
|
Summary: Source code for Objective Caml libraries
|
|
|
|
Requires: ocaml = %{version}-%{release}
|
|
|
|
|
|
|
|
%description source
|
|
|
|
Source code for Objective Caml libraries.
|
|
|
|
|
|
|
|
|
|
|
|
%package x11
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Summary: X11 support for Objective Caml
|
|
|
|
Requires: ocaml-runtime = %{version}-%{release}
|
|
|
|
Requires: libX11-devel
|
|
|
|
|
|
|
|
%description x11
|
|
|
|
X11 support for Objective Caml.
|
|
|
|
|
|
|
|
|
|
|
|
%package labltk
|
2008-04-23 08:45:19 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
Summary: Tk bindings for Objective Caml
|
|
|
|
Requires: ocaml-runtime = %{version}-%{release}
|
2007-07-02 15:13:39 +00:00
|
|
|
|
|
|
|
%description labltk
|
|
|
|
Labltk is a library for interfacing Objective Caml with the scripting
|
|
|
|
language Tcl/Tk.
|
|
|
|
|
|
|
|
This package contains the runtime files.
|
|
|
|
|
|
|
|
|
|
|
|
%package labltk-devel
|
2008-04-23 08:45:19 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for labltk
|
|
|
|
Requires: ocaml = %{version}-%{release}
|
2007-07-02 15:13:39 +00:00
|
|
|
Requires: %{name}-labltk = %{version}-%{release}
|
|
|
|
Requires: libX11-devel
|
|
|
|
|
|
|
|
%description labltk-devel
|
|
|
|
Labltk is a library for interfacing Objective Caml with the scripting
|
|
|
|
language Tcl/Tk.
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
This package contains the development files. It includes the ocaml
|
|
|
|
browser for code editing and library browsing.
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
%package camlp4
|
2008-04-23 08:45:19 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
Summary: Pre-Processor-Pretty-Printer for Objective Caml
|
|
|
|
Requires: ocaml-runtime = %{version}-%{release}
|
2007-07-02 15:13:39 +00:00
|
|
|
|
|
|
|
%description camlp4
|
|
|
|
Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml, parsing a
|
|
|
|
source file and printing some result on standard output.
|
|
|
|
|
|
|
|
This package contains the runtime files.
|
|
|
|
|
|
|
|
|
|
|
|
%package camlp4-devel
|
2008-04-23 08:45:19 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
Summary: Pre-Processor-Pretty-Printer for Objective Caml
|
|
|
|
Requires: ocaml = %{version}-%{release}
|
2007-07-02 15:13:39 +00:00
|
|
|
Requires: %{name}-camlp4 = %{version}-%{release}
|
|
|
|
|
|
|
|
%description camlp4-devel
|
|
|
|
Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml, parsing a
|
|
|
|
source file and printing some result on standard output.
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
This package contains the development files.
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%package ocamldoc
|
2008-04-23 08:45:19 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
Summary: Documentation generator for Objective Caml.
|
|
|
|
Requires: ocaml = %{version}-%{release}
|
2008-06-04 10:57:55 +00:00
|
|
|
Provides: ocamldoc
|
2004-11-08 04:55:06 +00:00
|
|
|
|
|
|
|
%description ocamldoc
|
|
|
|
Documentation generator for Objective Caml.
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%package emacs
|
2008-04-23 08:45:19 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
Summary: Emacs mode for Objective Caml
|
|
|
|
Requires: ocaml = %{version}-%{release}
|
|
|
|
Requires: emacs
|
2004-11-08 04:55:06 +00:00
|
|
|
|
|
|
|
%description emacs
|
|
|
|
Emacs mode for Objective Caml.
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%package docs
|
2008-04-23 08:45:19 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
Summary: Documentation for Objective Caml
|
|
|
|
Requires: ocaml = %{version}-%{release}
|
|
|
|
Requires(post): /sbin/install-info
|
2007-07-02 15:13:39 +00:00
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
|
|
|
|
%description docs
|
2007-07-02 15:13:39 +00:00
|
|
|
Objective Caml is a high-level, strongly-typed, functional and
|
|
|
|
object-oriented programming language from the ML family of languages.
|
|
|
|
|
|
|
|
This package contains documentation in PDF and HTML format as well as
|
|
|
|
man pages and info files.
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%prep
|
2009-05-22 15:25:54 +00:00
|
|
|
%setup -q -T -b 0 -n %{name}-%{version}rc0
|
|
|
|
%setup -q -T -D -a 1 -n %{name}-%{version}rc0
|
|
|
|
%setup -q -T -D -a 3 -n %{name}-%{version}rc0
|
2008-01-04 18:47:48 +00:00
|
|
|
%patch0 -p1 -b .rpath
|
2005-05-23 01:46:18 +00:00
|
|
|
%patch1 -p1 -b .cflags
|
2008-02-29 18:52:45 +00:00
|
|
|
%patch3 -p1 -b .ppc64
|
2009-05-26 13:09:02 +00:00
|
|
|
%patch4 -p1 -b .ocamlbuild
|
2005-05-23 01:46:18 +00:00
|
|
|
|
2006-04-30 17:06:38 +00:00
|
|
|
cp %{SOURCE2} refman.pdf
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%build
|
2005-05-23 01:46:18 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
2004-11-08 04:55:06 +00:00
|
|
|
-bindir %{_bindir} \
|
|
|
|
-libdir %{_libdir}/ocaml \
|
2006-01-01 01:16:16 +00:00
|
|
|
-x11lib %{_libdir} \
|
|
|
|
-x11include %{_includedir} \
|
2004-11-08 04:55:06 +00:00
|
|
|
-mandir %{_mandir}/man1
|
|
|
|
make world opt opt.opt
|
|
|
|
# %{?_smp_mflags} breaks the build
|
2007-05-24 17:13:30 +00:00
|
|
|
make -C emacs ocamltags
|
2007-07-02 15:13:39 +00:00
|
|
|
# make -C tools objinfo
|
|
|
|
(cd tools; ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -o objinfo config.cmx objinfo.ml)
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-07-02 15:13:39 +00:00
|
|
|
make install \
|
|
|
|
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
|
|
|
LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
|
|
|
|
MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
2004-11-08 04:55:06 +00:00
|
|
|
perl -pi -e "s|^$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf
|
2007-07-02 15:13:39 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
(
|
2007-07-02 15:13:39 +00:00
|
|
|
# install emacs files
|
2004-11-08 04:55:06 +00:00
|
|
|
cd emacs;
|
2007-07-02 15:13:39 +00:00
|
|
|
make install \
|
2008-04-23 08:45:19 +00:00
|
|
|
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
|
|
|
EMACSDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
|
2004-11-08 04:55:06 +00:00
|
|
|
make install-ocamltags BINDIR=$RPM_BUILD_ROOT%{_bindir}
|
|
|
|
)
|
2007-07-02 15:13:39 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
(
|
2007-07-02 15:13:39 +00:00
|
|
|
# install info files
|
2004-11-08 04:55:06 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_infodir};
|
|
|
|
cd infoman; cp ocaml*.gz $RPM_BUILD_ROOT%{_infodir}
|
|
|
|
)
|
2007-07-02 15:13:39 +00:00
|
|
|
|
2007-05-24 17:13:30 +00:00
|
|
|
cp tools/objinfo $RPM_BUILD_ROOT%{_bindir}/ocamlobjinfo
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
# install rpmbuild helper files
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/
|
2008-04-23 08:45:19 +00:00
|
|
|
install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/rpm/
|
|
|
|
install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/rpm/
|
2007-07-02 15:13:39 +00:00
|
|
|
|
2007-09-03 13:24:15 +00:00
|
|
|
echo %{version} > $RPM_BUILD_ROOT%{_libdir}/ocaml/fedora-ocaml-release
|
2007-07-02 15:13:39 +00:00
|
|
|
|
2007-09-06 11:49:59 +00:00
|
|
|
# Remove rpaths from stublibs .so files.
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/*.so
|
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
%post docs
|
2004-11-08 04:55:06 +00:00
|
|
|
/sbin/install-info \
|
2008-04-23 08:45:19 +00:00
|
|
|
--entry "* ocaml: (ocaml). The Objective Caml compiler and programming environment" \
|
2004-11-08 04:55:06 +00:00
|
|
|
--section "Programming Languages" \
|
|
|
|
%{_infodir}/%{name}.info \
|
|
|
|
%{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
%preun docs
|
2005-03-03 23:53:13 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
2004-11-08 04:55:06 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2007-07-02 15:13:39 +00:00
|
|
|
%{_bindir}/ocaml
|
|
|
|
%{_bindir}/ocamlbuild
|
|
|
|
%{_bindir}/ocamlbuild.byte
|
|
|
|
%{_bindir}/ocamlbuild.native
|
|
|
|
%{_bindir}/ocamlc
|
|
|
|
%{_bindir}/ocamlc.opt
|
|
|
|
%{_bindir}/ocamlcp
|
|
|
|
%{_bindir}/ocamldebug
|
|
|
|
%{_bindir}/ocamldep
|
|
|
|
%{_bindir}/ocamldep.opt
|
|
|
|
%{_bindir}/ocamllex
|
|
|
|
%{_bindir}/ocamllex.opt
|
|
|
|
%{_bindir}/ocamlmklib
|
|
|
|
%{_bindir}/ocamlmktop
|
|
|
|
%{_bindir}/ocamlobjinfo
|
|
|
|
%{_bindir}/ocamlopt
|
|
|
|
%{_bindir}/ocamlopt.opt
|
|
|
|
%{_bindir}/ocamlprof
|
|
|
|
%{_bindir}/ocamlyacc
|
|
|
|
%{_libdir}/ocaml/addlabels
|
|
|
|
%{_libdir}/ocaml/scrapelabels
|
|
|
|
%{_libdir}/ocaml/camlheader
|
|
|
|
%{_libdir}/ocaml/camlheader_ur
|
|
|
|
%{_libdir}/ocaml/expunge
|
|
|
|
%{_libdir}/ocaml/extract_crc
|
|
|
|
%{_libdir}/ocaml/ld.conf
|
|
|
|
%{_libdir}/ocaml/Makefile.config
|
|
|
|
%{_libdir}/ocaml/*.a
|
2008-11-20 15:30:55 +00:00
|
|
|
%{_libdir}/ocaml/*.cmxs
|
2007-07-02 15:13:39 +00:00
|
|
|
%{_libdir}/ocaml/*.cmxa
|
|
|
|
%{_libdir}/ocaml/*.cmx
|
|
|
|
%{_libdir}/ocaml/*.mli
|
|
|
|
%{_libdir}/ocaml/*.o
|
2008-11-20 15:30:55 +00:00
|
|
|
%{_libdir}/ocaml/libcamlrun_shared.so
|
2007-07-02 15:13:39 +00:00
|
|
|
%{_libdir}/ocaml/vmthreads/*.mli
|
|
|
|
%{_libdir}/ocaml/vmthreads/*.a
|
|
|
|
%{_libdir}/ocaml/threads/*.a
|
|
|
|
%{_libdir}/ocaml/threads/*.cmxa
|
|
|
|
%{_libdir}/ocaml/threads/*.cmx
|
|
|
|
%{_libdir}/ocaml/caml
|
|
|
|
%{_libdir}/ocaml/ocamlbuild
|
|
|
|
%exclude %{_libdir}/ocaml/graphicsX11.mli
|
|
|
|
|
|
|
|
|
|
|
|
%files runtime
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/ocamlrun
|
|
|
|
%dir %{_libdir}/ocaml
|
|
|
|
%{_libdir}/ocaml/*.cmo
|
|
|
|
%{_libdir}/ocaml/*.cmi
|
|
|
|
%{_libdir}/ocaml/*.cma
|
|
|
|
%{_libdir}/ocaml/stublibs
|
|
|
|
%dir %{_libdir}/ocaml/vmthreads
|
|
|
|
%{_libdir}/ocaml/vmthreads/*.cmi
|
|
|
|
%{_libdir}/ocaml/vmthreads/*.cma
|
|
|
|
%dir %{_libdir}/ocaml/threads
|
|
|
|
%{_libdir}/ocaml/threads/*.cmi
|
|
|
|
%{_libdir}/ocaml/threads/*.cma
|
|
|
|
%{_libdir}/ocaml/fedora-ocaml-release
|
2008-04-23 08:45:19 +00:00
|
|
|
%attr(755,root,root) %{_prefix}/lib/rpm/*
|
2007-07-02 15:13:39 +00:00
|
|
|
%exclude %{_libdir}/ocaml/graphicsX11.cmi
|
|
|
|
%exclude %{_libdir}/ocaml/stublibs/dllgraphics.so
|
2004-11-08 04:55:06 +00:00
|
|
|
%exclude %{_libdir}/ocaml/stublibs/dlllabltk.so
|
|
|
|
%exclude %{_libdir}/ocaml/stublibs/dlltkanim.so
|
|
|
|
%doc README LICENSE Changes
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
%files source
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/ocaml/*.ml
|
|
|
|
|
|
|
|
|
|
|
|
%files x11
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/ocaml/graphicsX11.cmi
|
|
|
|
%{_libdir}/ocaml/graphicsX11.mli
|
|
|
|
%{_libdir}/ocaml/stublibs/dllgraphics.so
|
|
|
|
|
|
|
|
|
|
|
|
%files labltk
|
2004-11-08 04:55:06 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/labltk
|
2007-07-02 15:13:39 +00:00
|
|
|
%dir %{_libdir}/ocaml/labltk
|
|
|
|
%{_libdir}/ocaml/labltk/*.cmi
|
|
|
|
%{_libdir}/ocaml/labltk/*.cma
|
|
|
|
%{_libdir}/ocaml/labltk/*.cmo
|
2004-11-08 04:55:06 +00:00
|
|
|
%{_libdir}/ocaml/stublibs/dlllabltk.so
|
|
|
|
%{_libdir}/ocaml/stublibs/dlltkanim.so
|
2007-07-02 15:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files labltk-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/ocamlbrowser
|
|
|
|
%{_libdir}/ocaml/labltk/labltktop
|
|
|
|
%{_libdir}/ocaml/labltk/pp
|
|
|
|
%{_libdir}/ocaml/labltk/tkcompiler
|
|
|
|
%{_libdir}/ocaml/labltk/*.a
|
|
|
|
%{_libdir}/ocaml/labltk/*.cmxa
|
|
|
|
%{_libdir}/ocaml/labltk/*.cmx
|
|
|
|
%{_libdir}/ocaml/labltk/*.mli
|
|
|
|
%{_libdir}/ocaml/labltk/*.o
|
2004-11-08 04:55:06 +00:00
|
|
|
%doc otherlibs/labltk/examples_labltk
|
|
|
|
%doc otherlibs/labltk/examples_camltk
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
%files camlp4
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{_libdir}/ocaml/camlp4
|
|
|
|
%{_libdir}/ocaml/camlp4/*.cmi
|
|
|
|
%{_libdir}/ocaml/camlp4/*.cma
|
|
|
|
%{_libdir}/ocaml/camlp4/*.cmo
|
|
|
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Filters
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmi
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmo
|
|
|
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Parsers
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmo
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmi
|
|
|
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Printers
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmi
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmo
|
|
|
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Top
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmi
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmo
|
|
|
|
|
|
|
|
|
|
|
|
%files camlp4-devel
|
2004-11-08 04:55:06 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/camlp4*
|
|
|
|
%{_bindir}/mkcamlp4
|
2007-07-02 15:13:39 +00:00
|
|
|
%{_libdir}/ocaml/camlp4/*.a
|
|
|
|
%{_libdir}/ocaml/camlp4/*.cmxa
|
|
|
|
%{_libdir}/ocaml/camlp4/*.cmx
|
|
|
|
%{_libdir}/ocaml/camlp4/*.o
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmx
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.o
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmx
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.o
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmx
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.o
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmx
|
|
|
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.o
|
|
|
|
%{_mandir}/man1/*
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%files ocamldoc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/ocamldoc*
|
|
|
|
%{_libdir}/ocaml/ocamldoc
|
|
|
|
%doc ocamldoc/Changes.txt
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%files docs
|
|
|
|
%defattr(-,root,root,-)
|
2006-04-30 17:06:38 +00:00
|
|
|
%doc refman.pdf htmlman
|
2007-07-02 15:13:39 +00:00
|
|
|
%{_infodir}/*
|
|
|
|
%{_mandir}/man3/*
|
2004-11-08 04:55:06 +00:00
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%files emacs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/emacs/site-lisp/*
|
|
|
|
%{_bindir}/ocamltags
|
|
|
|
%doc emacs/README
|
|
|
|
|
2006-01-01 00:22:18 +00:00
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
%changelog
|
2009-05-26 13:09:02 +00:00
|
|
|
* Tue May 26 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-0.rc0.2
|
|
|
|
- Backport ocamlbuild -where fix.
|
|
|
|
|
2009-05-22 15:25:54 +00:00
|
|
|
* Fri May 22 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-0.rc0.1
|
|
|
|
- 3.11.1 release candidate 0.
|
|
|
|
|
2009-02-26 06:43:42 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-04 15:34:51 +00:00
|
|
|
* Thu Dec 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-1
|
|
|
|
- Official release of 3.11.0.
|
|
|
|
|
2008-12-04 13:48:11 +00:00
|
|
|
* Thu Dec 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-0.6.rc1
|
|
|
|
- Fixed sources file.
|
|
|
|
|
2008-12-04 13:17:21 +00:00
|
|
|
* Thu Dec 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-0.5.rc1
|
|
|
|
- New upstream version 3.11.0+rc1.
|
|
|
|
|
|
|
|
* Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-0.4.beta1
|
2008-11-24 09:35:02 +00:00
|
|
|
- Rebuild.
|
|
|
|
|
2008-11-20 19:02:24 +00:00
|
|
|
* Thu Nov 20 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.11.0-0.3.beta1
|
|
|
|
- fix NVR to match packaging guidelines
|
|
|
|
|
2008-11-20 17:52:37 +00:00
|
|
|
* Thu Nov 20 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0+beta1-2
|
|
|
|
- Fix Invalid_argument("String.index_from") with patch from upstream.
|
|
|
|
|
2008-11-20 15:30:55 +00:00
|
|
|
* Tue Nov 18 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0+beta1-1
|
|
|
|
- Rebuild for major new upstream release of 3.11.0 for Fedora 11.
|
|
|
|
|
2008-08-28 16:45:14 +00:00
|
|
|
* Thu Aug 29 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-5
|
|
|
|
- Rebuild with patch fuzz.
|
|
|
|
|
2008-06-09 17:53:25 +00:00
|
|
|
* Mon Jun 9 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-4
|
|
|
|
- Add ocaml-3.11-dev12-no-executable-stack.patch (bz #450551).
|
|
|
|
|
2008-06-04 10:57:55 +00:00
|
|
|
* Wed Jun 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-3
|
|
|
|
- ocaml-ocamldoc provides ocamldoc (bz #449931).
|
|
|
|
- REMOVED provides of labltk, camlp4. Those are libraries and all
|
|
|
|
packages should now depend on ocaml-labltk / ocaml-camlp4 / -devel
|
|
|
|
as appropriate.
|
|
|
|
|
2008-05-08 11:18:50 +00:00
|
|
|
* Thu May 8 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-2
|
|
|
|
- Pass MAP_32BIT to mmap (bz #445545).
|
|
|
|
|
2008-04-23 08:45:19 +00:00
|
|
|
* Mon Apr 21 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-1
|
|
|
|
- New upstream version 3.10.2 for Fedora 10.
|
|
|
|
- Cleaned up several rpmlint errors & warnings.
|
|
|
|
|
2008-02-29 18:52:45 +00:00
|
|
|
* Fri Feb 29 2008 David Woodhouse <dwmw2@infradead.org> - 3.10.1-2
|
|
|
|
- ppc64 port
|
|
|
|
|
2008-02-12 21:10:04 +00:00
|
|
|
* Tue Feb 12 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.1-1
|
|
|
|
- new upstream version 3.10.1
|
|
|
|
|
2008-01-04 18:47:48 +00:00
|
|
|
* Fri Jan 4 2008 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-8
|
|
|
|
- patch for building with tcl/tk 8.5
|
|
|
|
|
2007-09-06 11:49:59 +00:00
|
|
|
* Thu Sep 6 2007 Richard W.M. Jones <rjones@redhat.com> - 3.10.0-7
|
|
|
|
- Run chrpath to delete rpaths used on some of the stublibs.
|
|
|
|
- Ignore Parsetree module in dependency calculation.
|
|
|
|
- Fixed ocaml-find-{requires,provides}.sh regexp calculation so it doesn't
|
|
|
|
over-match module names.
|
|
|
|
|
2007-09-03 14:35:10 +00:00
|
|
|
* Mon Sep 3 2007 Richard W.M. Jones <rjones@redhat.com> - 3.10.0-6
|
|
|
|
- ocaml-runtime provides ocaml(runtime) = 3.10.0, and
|
|
|
|
ocaml-find-requires.sh modified so that it adds this requires
|
|
|
|
to other packages. Now can upgrade base ocaml packages without
|
|
|
|
needing to rebuild everything else.
|
|
|
|
|
2007-09-03 13:24:15 +00:00
|
|
|
* Mon Sep 3 2007 Richard W.M. Jones <rjones@redhat.com> - 3.10.0-5
|
|
|
|
- Don't include the release number in fedora-ocaml-release file, so
|
|
|
|
that packages built against this won't depend on the Fedora release.
|
|
|
|
|
2007-08-29 13:24:23 +00:00
|
|
|
* Wed Aug 29 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-4
|
|
|
|
- added BR util-linux-ng
|
|
|
|
|
2007-08-29 11:28:42 +00:00
|
|
|
* Wed Aug 29 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-3
|
2007-08-29 13:24:23 +00:00
|
|
|
- added BR gawk
|
2007-08-29 11:28:42 +00:00
|
|
|
|
2007-08-29 04:10:27 +00:00
|
|
|
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.10.0-2
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-02 15:13:39 +00:00
|
|
|
* Sat Jun 2 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.10.0-1
|
|
|
|
- new version 3.10.0
|
|
|
|
- split off devel packages
|
|
|
|
- rename subpackages to use ocaml- prefix
|
|
|
|
|
2007-05-24 17:13:30 +00:00
|
|
|
* Thu May 24 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.09.3-2
|
|
|
|
- added ocamlobjinfo
|
|
|
|
|
2006-12-02 15:07:49 +00:00
|
|
|
* Sat Dec 2 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.3-1
|
|
|
|
- new version 3.09.3
|
|
|
|
|
2006-08-28 09:14:47 +00:00
|
|
|
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.2-2
|
|
|
|
- Rebuild for FE6
|
|
|
|
|
2006-04-30 17:06:38 +00:00
|
|
|
* Sun Apr 30 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.2-1
|
|
|
|
- new version 3.09.2
|
|
|
|
|
2006-02-17 21:35:11 +00:00
|
|
|
* Fri Feb 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.1-2
|
|
|
|
- Rebuild for Fedora Extras 5
|
|
|
|
|
2006-01-04 23:17:43 +00:00
|
|
|
* Thu Jan 5 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.1-1
|
|
|
|
- new version 3.09.1
|
|
|
|
|
2006-01-01 00:05:17 +00:00
|
|
|
* Sun Jan 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.0-1
|
|
|
|
- new version 3.09.0
|
|
|
|
|
2005-09-11 10:11:22 +00:00
|
|
|
* Sun Sep 11 2005 Gerard Milmeister <gemi@bluewin.ch> - 3.08.4-1
|
|
|
|
- New Version 3.08.4
|
|
|
|
|
2005-05-25 14:00:12 +00:00
|
|
|
* Wed May 25 2005 Toshio Kuratomi <toshio-tiki-lounge.com> - 3.08.3-5
|
|
|
|
- Bump and re-release as last build failed due to rawhide syncing.
|
|
|
|
|
2005-05-23 01:56:46 +00:00
|
|
|
* Sun May 22 2005 Toshio Kuratomi <toshio-tiki-lounge.com> - 3.08.3-4
|
2005-05-23 01:46:18 +00:00
|
|
|
- Fix for gcc4 and the 32 bit assembly in otherlibs/num.
|
|
|
|
- Fix to allow compilation with RPM_OPT_FLAG defined -O level.
|
|
|
|
|
2005-05-22 22:55:56 +00:00
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 3.08.3-3
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2005-04-06 22:12:42 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-26 18:22:49 +00:00
|
|
|
* Sat Mar 26 2005 Gerard Milmeister <gemi@bluewin.ch> - 3.08.3-1
|
|
|
|
- New Version 3.08.3
|
|
|
|
|
2005-02-12 11:02:04 +00:00
|
|
|
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:3.08.2-2
|
|
|
|
- Added patch for removing rpath from shared libs
|
|
|
|
|
2005-02-11 23:49:55 +00:00
|
|
|
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:3.08.2-1
|
|
|
|
- New Version 3.08.2
|
|
|
|
|
2005-02-10 17:21:26 +00:00
|
|
|
* Thu Dec 30 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:3.07-6
|
2008-04-23 08:45:19 +00:00
|
|
|
- add -x11lib _prefix/X11R6/_lib to configure; fixes labltk build
|
2005-02-10 17:21:26 +00:00
|
|
|
on x86_64
|
|
|
|
|
2004-11-08 04:55:06 +00:00
|
|
|
* Tue Dec 2 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.5
|
|
|
|
- ocamldoc -> ocaml-ocamldoc
|
|
|
|
- ocaml-doc -> ocaml-docs
|
|
|
|
|
|
|
|
* Fri Nov 28 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.4
|
|
|
|
- Make separate packages for labltk, camlp4, ocamldoc, emacs and documentation
|
|
|
|
|
|
|
|
* Thu Nov 27 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.2
|
|
|
|
- Changed license tag
|
|
|
|
- Register info files
|
|
|
|
- Honor RPM_OPT_FLAGS
|
|
|
|
- New Patch
|
|
|
|
|
|
|
|
* Fri Oct 31 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.1
|
|
|
|
- First Fedora release
|
|
|
|
|
|
|
|
* Mon Oct 13 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
|
|
|
|
- Updated to 3.07.
|
|
|
|
|
|
|
|
* Wed Apr 9 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
|
|
|
|
- Rebuilt for Red Hat 9.
|
|
|
|
|
|
|
|
* Tue Nov 26 2002 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
|
2008-04-23 08:45:19 +00:00
|
|
|
- Added _mandir/mano/* entry
|