Search
j0ke.net Open Build Service
>
Projects
>
devel
>
ocaml
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 14
[-]
[+]
Added
ocaml.spec
@@ -0,0 +1,309 @@ +# +# spec file for package ocaml (Version 3.11.1) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: ocaml +BuildRequires: emacs-nox fdupes gdbm-devel gtk-devel ncurses-devel tk-devel +License: GPLv2+ ; QPL .. +Group: Development/Languages/Other +AutoReqProv: on +Version: 3.11.1 +Release: 1 +%define doc_version 3.11 +%ifarch s390 s390x +%define do_opt 0 +%else +%define do_opt 1 +%endif +Source0: ftp://ftp.inria.fr/lang/caml-light/ocaml-%{version}.tar.bz2 +Source1: ftp://ftp.inria.fr/lang/caml-light/ocaml-%{doc_version}-refman.html.tar.bz2 +Source2: ftp://ftp.inria.fr/lang/caml-light/ocaml-%{doc_version}-refman.ps.bz2 +Source3: ftp://ftp.inria.fr/lang/caml-light/ocaml-%{doc_version}-refman.info.tar.bz2 +Source4: rpmlintrc +Patch0: ocaml-3.00-camldebug_el.patch +Patch1: ocaml-3.04-info.patch +Patch2: ocaml-3.04-ocamltags--no-site-start.patch +Patch3: ocaml-rpath.patch +Patch5: ocaml-3.08.3-gcc4.patch +Patch6: ocaml-3.08.3.patch +Patch7: ocaml-3.09-emacs_localcompile.patch +Patch8: ocaml-3.09-rpmoptflags.patch +Url: http://caml.inria.fr/ +Summary: The Objective Caml Compiler and Programming Environment +BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: %install_info_prereq +ExcludeArch: ppc64 + +%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 top level +system, Lex&Yacc tools, a replay debugger, and a comprehensive library. + + + +Authors: +-------- + Pierre Weis <Pierre.Weis@inria.fr> + +%package devel +License: GPLv2+ ; QPL .. +Summary: The Objective Caml Compiler and Programming Environment +Group: Development/Languages/Other +Provides: libz:/usr/include/zlib.h +Requires: zlib = %{version} +AutoReqProv: on + +%description devel +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 top level +system, Lex&Yacc tools, a replay debugger, and a comprehensive library. + + + +Authors: +-------- + Pierre Weis <Pierre.Weis@inria.fr> + +%package -n labltk +License: GPLv2+ ; QPL .. +Group: Development/Languages/Other +Summary: The Objective Caml Compiler and Programming Environment +Requires: ocaml = %{version}-%{release} + +%description -n labltk +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 top level +system, Lex&Yacc tools, a replay debugger, and a comprehensive library. + + + +Authors: +-------- + Pierre Weis <Pierre.Weis@inria.fr> + +%package -n camlp4 +License: GPLv2+ ; QPL .. +Group: Development/Languages/Other +Summary: The Objective Caml compiler and programming environment +Requires: ocaml = %{version}-%{release} + +%description -n camlp4 +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, Lex&Yacc tools, a replay debugger, and a comprehensive library. + + + +Authors: +-------- + Pierre Weis <Pierre.Weis@inria.fr> + +%package ocamldoc +License: GPLv2+ ; QPL .. +Group: Development/Languages/Other +Summary: The Objective Caml Compiler and Programming Environment +Requires: ocaml = %{version}-%{release} + +%description ocamldoc +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 top level +system, Lex&Yacc tools, a replay debugger, and a comprehensive library. + + + +Authors: +-------- + Pierre Weis <Pierre.Weis@inria.fr> + +%package emacs +License: GPLv2+ ; QPL .. +Group: Development/Languages/Other +Summary: The Objective Caml Compiler and Programming Environment +Requires: ocaml = %{version}-%{release} +Requires: emacs + +%description emacs +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 top level +system, Lex&Yacc tools, a replay debugger, and a comprehensive library. + + + +Authors: +-------- + Pierre Weis <Pierre.Weis@inria.fr> + +%package docs +License: GPLv2+ ; QPL .. +Group: Development/Languages/Other +Summary: The Objective Caml Compiler and Programming Environment +Requires: ocaml = %{version}-%{release} + +%description docs +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 top level +system, Lex&Yacc tools, a replay debugger, and a comprehensive library. + + + +Authors: +-------- + Pierre Weis <Pierre.Weis@inria.fr> + +%prep +%setup -q -T -b 0 +%setup -q -T -D -a 1 +%setup -q -T -D -a 3 +%patch0 -p1 +gzip -d infoman/ocaml.info.gz +%patch1 -p1 +%patch2 -p1 +%patch3 +%patch5