update to 0.5.10 [release 0.5.10-1mamba;Mon Jan 31 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:03:01 +01:00
parent 6e24942e7a
commit 7d2e98d8c4

View File

@ -1,24 +1,24 @@
%define ocamlpck ssl %define ocamlpck ssl
Name: ocaml-ssl Name: ocaml-ssl
Version: 0.4.7 Version: 0.5.10
Release: 1mamba Release: 1mamba
Summary: OCaml SSL bindings Summary: OCaml SSL bindings
Group: Development/Bindings Group: Development/Bindings
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://savonet.sourceforge.net/ URL: https://github.com/savonet/ocaml-ssl
Source: http://sourceforge.net/projects/savonet/files/ocaml-ssl/%{version}/ocaml-ssl-%{version}.tar.gz Source: https://github.com/savonet/ocaml-ssl.git/v%{version}/ocaml-ssl-%{version}.tar.bz2
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: ocaml
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: dune
BuildRequires: ocaml BuildRequires: ocaml
BuildRequires: ocaml-findlib BuildRequires: ocaml-findlib
BuildRequires: libopenssl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
OCaml bindings for the libssl. OCaml bindings for the libssl.
@ -31,27 +31,19 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
This package contains libraries and signature files for developing applications that use %{name}. This package contains libraries and signature files for developing applications that use %{name}.
%debug_package
%prep %prep
%setup -q %setup -q
%build %build
./configure \ dune build
--prefix=%{_prefix}
# --disable-ldconf
%make
%make doc
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir) DESTDIR=%{buildroot} dune install --prefix "/usr" --libdir "%{_lib}/ocaml"
export DLLDIR=$OCAMLFIND_DESTDIR/stublibs
export OCAMLFIND_LDCONF=$OCAMLFIND_DESTDIR/ld.conf
install -d $OCAMLFIND_DESTDIR/%{ocamlpck} rm -rf %{buildroot}/usr/doc
install -d $OCAMLFIND_DESTDIR/stublibs
make install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -59,9 +51,11 @@ make install
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_libdir}/ocaml/%{ocamlpck} %dir %{_libdir}/ocaml/%{ocamlpck}
%{_libdir}/ocaml/%{ocamlpck}/META %{_libdir}/ocaml/%{ocamlpck}/*
%{_libdir}/ocaml/%{ocamlpck}/*.cma %exclude %{_libdir}/ocaml/%{ocamlpck}/*.a
%{_libdir}/ocaml/%{ocamlpck}/*.cmi %exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmxa
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmx
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.mli
%{_libdir}/ocaml/stublibs/*.so* %{_libdir}/ocaml/stublibs/*.so*
%doc COPYING %doc COPYING
@ -71,11 +65,13 @@ make install
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa %{_libdir}/ocaml/%{ocamlpck}/*.cmxa
%{_libdir}/ocaml/%{ocamlpck}/*.cmx %{_libdir}/ocaml/%{ocamlpck}/*.cmx
%{_libdir}/ocaml/%{ocamlpck}/*.mli %{_libdir}/ocaml/%{ocamlpck}/*.mli
%doc CHANGES README %doc CHANGES.md README.md
%doc doc/html/
%doc examples/ %doc examples/
%changelog %changelog
* Mon Jan 31 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.10-1mamba
- update to 0.5.10
* Sat Oct 31 2015 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba * Sat Oct 31 2015 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba
- automatic update by autodist - automatic update by autodist