rebuilt to fix provides [release 4.11.1-2mamba;Thu Jan 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:48:56 +01:00
parent 66a6265071
commit 0010d4559e
3 changed files with 43 additions and 16 deletions

Binary file not shown.

BIN
ocaml-4.11-refman.pdf Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%define majorminor %(echo %version | cut -d. -f 1-2)
Name: ocaml
Version: 4.09.0
Release: 4mamba
Version: 4.11.1
Release: 2mamba
Summary: The OCaml compiler and programming environment
Group: Applications/Development
Vendor: openmamba
@ -20,10 +20,18 @@ BuildRequires: libX11-devel
BuildRequires: libbinutils-devel
## AUTOBUILDREQ-END
BuildRequires: emacs-nox
BuildRequires: ocaml-runtime >= %{?epoch:%epoch:}%{version}
#BuildRequires: ocaml-runtime >= %{?epoch:%epoch:}%{version}
BuildRequires: libgdbm-devel
Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release}
Requires: gcc
# From Fedora:
# Because we pass -c flag to ocaml-find-requires (to avoid circular
# dependencies) we also have to explicitly depend on the right version
# of ocaml-runtime.
Requires: ocaml-runtime = %{?epoch:%epoch:}%{version}-%{release}
Provides: ocaml(compiler) = %{version}
%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'
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME:
@ -152,9 +160,12 @@ This package contains documentation in PDF and HTML format as well as man pages
%prep
%setup -q -a2 -a3
#-D -T
#:<< _EOF
cp %{S:1} refman.pdf
%build
#:<< _EOF
%configure \
--libdir=%{_libdir}/ocaml \
--with-pic
@ -176,7 +187,7 @@ cp %{S:1} refman.pdf
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
LIBDIR=%{_libdir}/ocaml \
LIBDIR=%{_libdir}/ocaml
#cd emacs
#%makeinstall \
@ -238,18 +249,19 @@ exit 0
%{_bindir}/ocamlobjinfo
%{_bindir}/ocamlopt
%{_bindir}/ocamlopt.opt
#%{_bindir}/ocamloptp
#%{_bindir}/ocamloptp.byte
#%{_bindir}/ocamloptp.opt
%{_bindir}/ocamloptp
%{_bindir}/ocamloptp.byte
%{_bindir}/ocamloptp.opt
%{_bindir}/ocamlprof
%{_bindir}/ocamlyacc
%{_bindir}/ocaml-instr-graph
%{_bindir}/ocaml-instr-report
#%{_bindir}/ocaml-instr-graph
#%{_bindir}/ocaml-instr-report
#
%{_libdir}/ocaml/camlheader
%{_libdir}/ocaml/camlheader_ur
%{_libdir}/ocaml/expunge
%{_libdir}/ocaml/extract_crc
%{_libdir}/ocaml/eventlog_metadata
%{_libdir}/ocaml/ld.conf
%{_libdir}/ocaml/Makefile.config
%{_libdir}/ocaml/*.a
@ -262,8 +274,12 @@ exit 0
%{_libdir}/ocaml/libcamlrun_shared.so
%{_libdir}/ocaml/libasmrun_shared.so
%{_libdir}/ocaml/objinfo_helper
%{_libdir}/ocaml/compiler-libs/
%ifarch x86_64
%{_libdir}/ocaml/compiler-libs/*.a
%{_libdir}/ocaml/compiler-libs/*.cmx
%{_libdir}/ocaml/compiler-libs/*.cmxa
%{_libdir}/ocaml/compiler-libs/*.o
%{_libdir}/ocaml/compiler-libs/*.mli
%ifarch x86_64 aarch64
%{_libdir}/ocaml/stublibs/dllraw_spacetime_lib.so
%endif
#%{_libdir}/ocaml/vmthreads/*.a
@ -285,7 +301,6 @@ exit 0
%{_mandir}/man1/ocamloptp.*
%{_mandir}/man1/ocamlprof.*
%{_mandir}/man1/ocamlyacc.*
%doc LICENSE
%files runtime
%defattr(-,root,root)
@ -296,20 +311,23 @@ exit 0
%{_libdir}/ocaml/*.cma
%{_libdir}/ocaml/*.cmt
%{_libdir}/ocaml/*.cmti
%dir %{_libdir}/ocaml/compiler-libs
%{_libdir}/ocaml/compiler-libs/*.cmo
%{_libdir}/ocaml/compiler-libs/*.cmi
%{_libdir}/ocaml/compiler-libs/*.cma
%{_libdir}/ocaml/compiler-libs/*.cmt
%{_libdir}/ocaml/compiler-libs/*.cmti
%dir %{_libdir}/ocaml/stublibs
#%{_libdir}/ocaml/stublibs/dllbigarray.so
%{_libdir}/ocaml/stublibs/dllcamlstr.so
#%{_libdir}/ocaml/stublibs/dllgraphics.so
##%{_libdir}/ocaml/stublibs/dllnums.so
%{_libdir}/ocaml/stublibs/dllthreads.so
%{_libdir}/ocaml/stublibs/dllunix.so
#%{_libdir}/ocaml/stublibs/dllvmthreads.so
%dir %{_libdir}/ocaml/threads
%{_libdir}/ocaml/threads/*.cmi
%{_libdir}/ocaml/threads/*.cmti
%{_libdir}/ocaml/threads/*.cma
%{_libdir}/ocaml/threads/*.mli
%{_mandir}/man1/ocamlrun.*
%doc LICENSE
#%files x11
#%defattr(-,root,root)
@ -336,6 +354,15 @@ exit 0
#%doc refman.pdf htmlman
%changelog
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-2mamba
- rebuilt to fix provides
* Sun Oct 18 2020 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- automatic version update by autodist
* Sat Oct 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.0-1mamba
- update to 4.11.0
* Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.09.0-4mamba
- rebuilt with recent gcc and --with-pic