update to 4.14.1 [release 4.14.1-1mamba;Sat Jul 01 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:48:57 +01:00
parent 4768c91688
commit a819b60b8c
3 changed files with 25 additions and 25 deletions

Binary file not shown.

BIN
ocaml-4.14-refman.pdf Normal file

Binary file not shown.

View File

@ -1,14 +1,14 @@
%define majorminor %(echo %version | cut -d. -f 1-2) %define majorminor %(echo %version | cut -d. -f 1-2)
Name: ocaml Name: ocaml
Version: 4.11.1 Version: 4.14.1
Release: 5mamba Release: 1mamba
Summary: The OCaml compiler and programming environment Summary: The OCaml compiler and programming environment
Group: Applications/Development Group: Applications/Development
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.ocaml.org URL: https://www.ocaml.org/
Source0: http://caml.inria.fr/pub/distrib/ocaml-%{majorminor}/ocaml-%{version}.tar.xz Source0: http://caml.inria.fr/pub/distrib/ocaml-%{majorminor}/ocaml-%{version}.tar.xz
Source1: http://caml.inria.fr/pub/distrib/ocaml-%{majorminor}/ocaml-%{majorminor}-refman.pdf Source1: http://caml.inria.fr/pub/distrib/ocaml-%{majorminor}/ocaml-%{majorminor}-refman.pdf
Source2: http://caml.inria.fr/pub/distrib/ocaml-%{majorminor}/ocaml-%{majorminor}-refman-html.tar.gz Source2: http://caml.inria.fr/pub/distrib/ocaml-%{majorminor}/ocaml-%{majorminor}-refman-html.tar.gz
@ -16,7 +16,6 @@ Source3: http://caml.inria.fr/pub/distrib/ocaml-%{majorminor}/ocaml-%{majo
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: emacs-nox BuildRequires: emacs-nox
#BuildRequires: ocaml-runtime >= %{?epoch:%epoch:}%{version} #BuildRequires: ocaml-runtime >= %{?epoch:%epoch:}%{version}
@ -31,7 +30,6 @@ Requires: ocaml-runtime = %{?epoch:%epoch:}%{version}-%{release}
Provides: ocaml(compiler) = %{version} Provides: ocaml(compiler) = %{version}
%global __ocaml_requires_opts -c -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte' %global __ocaml_requires_opts -c -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
%global __ocaml_provides_opts -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte' %global __ocaml_provides_opts -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME: # FIXME:
# #
@ -164,8 +162,8 @@ Summary: Documentation for OCaml
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires(post): %{__install_info} Requires(post): %{__install_info}
Requires(preun): %{__install_info} Requires(preun): %{__install_info}
Provides: %{name}-manual = %{?epoch:%epoch:}%{version}-%{release} Provides: ocaml-manual
Obsoletes: %{name}-manual Obsoletes: ocaml-manual < 4.14.1
%description docs %description docs
OCaml is a general-purpose programming language, designed with program safety and reliability in mind. OCaml is a general-purpose programming language, designed with program safety and reliability in mind.
@ -177,12 +175,13 @@ This package contains documentation in PDF and HTML format as well as man pages
%global __ocaml_provides_opts -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte' %global __ocaml_provides_opts -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
%prep %prep
%setup -q -a2 -a3 -D -T %setup -q -a2 -a3
:<< _EOF #-D -T
#:<< _EOF
cp %{S:1} refman.pdf cp %{S:1} refman.pdf
%build %build
:<< _EOF #:<< _EOF
%configure \ %configure \
--libdir=%{_libdir}/ocaml \ --libdir=%{_libdir}/ocaml \
--with-pic --with-pic
@ -222,20 +221,17 @@ cp ocaml*.gz %{buildroot}%{_infodir}
%post docs %post docs
%install_info %{name}.info %install_info %{name}.info
exit 0 :
%preun docs %preun docs
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
%uninstall_info %{name}.info %uninstall_info %{name}.info
fi fi
exit 0 :
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/ocaml %{_bindir}/ocaml
#%{_bindir}/ocamlbuild
#%{_bindir}/ocamlbuild.byte
#%{_bindir}/ocamlbuild.native
%{_bindir}/ocamlc %{_bindir}/ocamlc
%{_bindir}/ocamlc.byte %{_bindir}/ocamlc.byte
%{_bindir}/ocamlc.opt %{_bindir}/ocamlc.opt
@ -275,7 +271,7 @@ exit 0
%{_libdir}/ocaml/camlheader %{_libdir}/ocaml/camlheader
%{_libdir}/ocaml/camlheader_ur %{_libdir}/ocaml/camlheader_ur
%{_libdir}/ocaml/expunge %{_libdir}/ocaml/expunge
%{_libdir}/ocaml/extract_crc #%{_libdir}/ocaml/extract_crc
%{_libdir}/ocaml/eventlog_metadata %{_libdir}/ocaml/eventlog_metadata
%{_libdir}/ocaml/ld.conf %{_libdir}/ocaml/ld.conf
%{_libdir}/ocaml/Makefile.config %{_libdir}/ocaml/Makefile.config
@ -287,9 +283,7 @@ exit 0
%{_libdir}/ocaml/*.mli %{_libdir}/ocaml/*.mli
%{_libdir}/ocaml/libcamlrun_shared.so %{_libdir}/ocaml/libcamlrun_shared.so
%{_libdir}/ocaml/libasmrun_shared.so %{_libdir}/ocaml/libasmrun_shared.so
%{_libdir}/ocaml/objinfo_helper #%{_libdir}/ocaml/objinfo_helper
#%{_libdir}/ocaml/vmthreads/*.a
#%{_libdir}/ocaml/vmthreads/*.mli
%{_libdir}/ocaml/threads/*.a %{_libdir}/ocaml/threads/*.a
%{_libdir}/ocaml/threads/*.cmx %{_libdir}/ocaml/threads/*.cmx
%{_libdir}/ocaml/threads/*.cmxa %{_libdir}/ocaml/threads/*.cmxa
@ -314,7 +308,7 @@ exit 0
%{_bindir}/ocamlrund %{_bindir}/ocamlrund
%{_bindir}/ocamlruni %{_bindir}/ocamlruni
%dir %{_libdir}/ocaml %dir %{_libdir}/ocaml
%{_libdir}/ocaml/VERSION #%{_libdir}/ocaml/VERSION
%{_libdir}/ocaml/*.cmo %{_libdir}/ocaml/*.cmo
%{_libdir}/ocaml/*.cmi %{_libdir}/ocaml/*.cmi
%{_libdir}/ocaml/*.cma %{_libdir}/ocaml/*.cma
@ -324,9 +318,9 @@ exit 0
%{_libdir}/ocaml/stublibs/dllcamlstr.so %{_libdir}/ocaml/stublibs/dllcamlstr.so
%{_libdir}/ocaml/stublibs/dllthreads.so %{_libdir}/ocaml/stublibs/dllthreads.so
%{_libdir}/ocaml/stublibs/dllunix.so %{_libdir}/ocaml/stublibs/dllunix.so
%ifarch x86_64 aarch64 #%ifarch x86_64 aarch64
%{_libdir}/ocaml/stublibs/dllraw_spacetime_lib.so #%{_libdir}/ocaml/stublibs/dllraw_spacetime_lib.so
%endif #%endif
%dir %{_libdir}/ocaml/threads %dir %{_libdir}/ocaml/threads
%{_libdir}/ocaml/threads/*.cmi %{_libdir}/ocaml/threads/*.cmi
%{_libdir}/ocaml/threads/*.cma %{_libdir}/ocaml/threads/*.cma
@ -335,7 +329,7 @@ exit 0
%{_libdir}/ocaml/compiler-libs/*.cmo %{_libdir}/ocaml/compiler-libs/*.cmo
%{_libdir}/ocaml/compiler-libs/*.cma %{_libdir}/ocaml/compiler-libs/*.cma
%{_mandir}/man1/ocamlrun.* %{_mandir}/man1/ocamlrun.*
%doc LICENSE #%doc LICENSE
%files source %files source
%defattr(-,root,root) %defattr(-,root,root)
@ -374,10 +368,16 @@ exit 0
%defattr(-,root,root) %defattr(-,root,root)
%{_infodir}/* %{_infodir}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%dir %{_datadir}/doc/ocaml
%{_datadir}/doc/ocaml/*
#%doc Changes #%doc Changes
#%doc refman.pdf htmlman #%doc refman.pdf htmlman
%changelog %changelog
* Sat Jul 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.1-1mamba
- update to 4.14.1
* Mon Apr 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-5mamba * Mon Apr 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-5mamba
- workaround ocaml-runtime requiring ocaml-compiler-libs by moving needed files into ocaml-runtime - workaround ocaml-runtime requiring ocaml-compiler-libs by moving needed files into ocaml-runtime