Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:juvi:ocaml
ocaml-3.10.0.tar.gz
ocaml.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml.spec of Package ocaml-3.10.0.tar.gz
Name: ocaml Version: 3.10.0 Release: 1%{?dist} Summary: The Objective Caml compiler and programming environment Source0: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10.0.tar.gz Source1: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.html.tar.gz Source2: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.ps.gz Source3: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.info.tar.gz License: part LGPL, part QPL Group: Development/Languages Vendor: INRIA Rocquencourt URL: http://caml.inria.fr/ BuildRoot: %{_tmppath}/ocaml-buildroot Obsoletes: ocaml-emacs, camlp4 Conflicts: ocaml-emacs, camlp4 Provides: labltk BuildRequires: %{_includedir}/tcl.h %{_includedir}/tk.h Epoch: 1 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Patch1: ocaml-3.08-wish1804.patch Patch2: ocaml-user-cflags.patch %define debug_package %{nil} %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. %prep %setup -T -q -b 0 %patch1 -p0 %patch2 -p1 -b .cflags %setup -T -q -D -a 1 %setup -T -q -D -a 3 cp %{SOURCE2} refman.ps.gz %build CFLAGS="$RPM_OPT_FLAGS" ./configure -bindir %{_bindir} -libdir %{_libdir}/ocaml -mandir %{_mandir}/man1 -with-pthread make -j1 world opt opt.opt %install rm -rf %{buildroot} make install BINDIR=%{buildroot}%{_bindir} LIBDIR=%{buildroot}%{_libdir}/ocaml MANDIR=%{buildroot}%{_mandir} mv %{buildroot}%{_libdir}/ocaml/ld.conf %{buildroot}%{_libdir}/ocaml/ld.conf.orig sed -e "s|^%{buildroot}||" %{buildroot}%{_libdir}/ocaml/ld.conf.orig > %{buildroot}%{_libdir}/ocaml/ld.conf rm -f %{buildroot}%{_libdir}/ocaml/ld.conf.orig (cd emacs; make install BINDIR=%{buildroot}%{_bindir} EMACSDIR=%{buildroot}%{_datadir}/emacs/site-lisp) (mkdir -p %{buildroot}%{_infodir}; cd infoman; cp ocaml*.gz %{buildroot}%{_infodir}) mv -f %{buildroot}%{_bindir}/ocamlc %{buildroot}%{_bindir}/ocamlc.byte mv -f %{buildroot}%{_bindir}/ocamlopt %{buildroot}%{_bindir}/ocamlopt.byte ln -s ocamlc.opt %{buildroot}%{_bindir}/ocamlc ln -s ocamlopt.opt %{buildroot}%{_bindir}/ocamlopt ln -f %{buildroot}%{_bindir}/ocamlbuild.native %{buildroot}%{_bindir}/ocamlbuild %clean rm -rf %{buildroot} %post /sbin/install-info \ --entry "* ocaml: (ocaml). The Objective Caml compiler and programming environment" \ --section "Programming Languages" \ %{_infodir}/%{name}.info \ %{_infodir}/dir 2>/dev/null || : %preun if [ $1 -eq 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : fi # Disable build root strip policy: # executables generated by ocamlc -custom MUST NOT BE STRIPPED # But now that we have dynamic loading of C code, none of the executables # in the distribution is generated by ocamlc -custom, so leave default. # %define __spec_install_post /usr/lib/rpm/brp-compress %files %defattr(-, root, root) %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %{_libdir}/ocaml %{_datadir}/emacs/site-lisp/* %{_infodir}/* %doc README LICENSE refman.ps.gz htmlman Changes %changelog * Mon May 21 2007 Aleksey Nogin <rpm@nogin.org> 3.10.0-1 - Updated for 3.10.0 * Tue May 09 2006 Aleksey Nogin <rpm@nogin.org> 3.09.2-1 - Updated for 3.09.2 * Fri Jan 20 2006 Aleksey Nogin <rpm@nogin.org> 3.09.1-1 - Updated for 3.09.1 * Thu Oct 27 2005 Aleksey Nogin <rpm@nogin.org> 3.09.0-1 - Updated for 3.09.0 * Tue Aug 16 2005 Aleksey Nogin <rpm@nogin.org> 3.08.4-1 - Updated for 3.08.4 * Sun Jun 19 2005 Aleksey Nogin <rpm@nogin.org> 3.08.3-3 - Borrowed couple small patches from Fedora Extras 4 - Added a post/preun scripts for installing/removing infos (again, borrowed from the FE4)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor