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