89 lines
2.3 KiB
RPMSpec
89 lines
2.3 KiB
RPMSpec
Name: ocamlnet
|
|
Version: 4.1.9
|
|
Release: 3mamba
|
|
Summary: Internet protocols (http, cgi, email etc.) and helper data structures (mail messages, character sets, etc.)
|
|
Group: System/Libraries/OCaml
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://projects.camlcity.org/projects/ocamlnet.html
|
|
Source: http://download.camlcity.org/download/ocamlnet-%{version}.tar.gz
|
|
License: zlib/png, GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgnutls-devel
|
|
BuildRequires: libgssglue-devel
|
|
BuildRequires: libnettle-devel
|
|
BuildRequires: ocaml
|
|
BuildRequires: ocaml-pcre-devel
|
|
BuildRequires: ocaml-runtime
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: ocaml-pcre-devel >= 0.3.3-2mamba
|
|
BuildRequires: ocaml >= 4.14.1
|
|
BuildRequires: dune
|
|
BuildRequires: ocaml-findlib
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%package devel
|
|
Group: Development/Libraries/OCaml
|
|
Summary: Development files for %{name}
|
|
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 \
|
|
-enable-gnutls \
|
|
-enable-gssapi \
|
|
-enable-pcre \
|
|
-bindir %{_bindir}
|
|
|
|
make all opt
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
export OCAMLFIND_DESTDIR="%{buildroot}/$(ocamlfind printconf destdir)"
|
|
install -dm755 "$OCAMLFIND_DESTDIR/stublibs"
|
|
env DESTDIR="%{buildroot}" make install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/netplex-admin
|
|
%{_bindir}/ocamlrpcgen
|
|
%dir %{_libdir}/ocaml/*
|
|
%{_libdir}/ocaml/*/*
|
|
%exclude %{_libdir}/ocaml/*/*.a
|
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
|
%exclude %{_libdir}/ocaml/*/*.mli
|
|
%{_libdir}/ocaml/stublibs/*.so*
|
|
%doc LICENSE*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/ocaml/*/*.a
|
|
%{_libdir}/ocaml/*/*.cmx
|
|
%{_libdir}/ocaml/*/*.cmxa
|
|
%{_libdir}/ocaml/*/*.mli
|
|
|
|
%changelog
|
|
* Sun Jul 16 2023 Sdk Build System <sdk@mambasoft.it> 4.1.9-3mamba
|
|
- rebuilt with ocaml-pcre 0.3.3
|
|
|
|
* Thu Jul 06 2023 Sdk Build System <sdk@mambasoft.it> 4.1.9-2mamba
|
|
- rebuilt with ocaml 4.14.1
|
|
|
|
* Sun Feb 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.9-1mamba
|
|
- package created using the webbuild interface
|