2024-01-06 07:52:22 +01:00
|
|
|
Name: ocaml-dtools
|
2024-01-06 07:52:22 +01:00
|
|
|
Version: 0.4.5
|
|
|
|
Release: 2mamba
|
2024-01-06 07:52:22 +01:00
|
|
|
Summary: OCaml modules for writing daemons
|
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:52:22 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:52:22 +01:00
|
|
|
URL: https://github.com/savonet/ocaml-dtools
|
2024-01-06 07:52:22 +01:00
|
|
|
Source: https://github.com/savonet/ocaml-dtools.git/v%{version}/ocaml-dtools-%{version}.tar.bz2
|
2024-01-06 07:52:22 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 07:52:22 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: ocaml
|
2024-01-06 07:52:22 +01:00
|
|
|
BuildRequires: ocaml-runtime
|
2024-01-06 07:52:22 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:52:22 +01:00
|
|
|
BuildRequires: ocaml >= 4.14.1
|
2024-01-06 07:52:22 +01:00
|
|
|
BuildRequires: dune
|
2024-01-06 07:52:22 +01:00
|
|
|
|
2024-01-06 07:52:22 +01:00
|
|
|
%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
|
2024-01-06 07:52:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
OCaml daemon tools library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 07:52:22 +01:00
|
|
|
dune build
|
2024-01-06 07:52:22 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:52:22 +01:00
|
|
|
DESTDIR="%{buildroot}" dune install --prefix "/usr" --libdir "%{_libdir}/ocaml"
|
2024-01-06 07:52:22 +01:00
|
|
|
|
|
|
|
rm -rf %{buildroot}/usr/doc
|
2024-01-06 07:52:22 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:52:22 +01:00
|
|
|
%dir %{_libdir}/ocaml/dtools
|
|
|
|
%{_libdir}/ocaml/dtools/*
|
|
|
|
%exclude %{_libdir}/ocaml/dtools/dtools.a
|
|
|
|
%exclude %{_libdir}/ocaml/dtools/dtools.cmx
|
|
|
|
%exclude %{_libdir}/ocaml/dtools/dtools.cmxa
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:52:22 +01:00
|
|
|
%{_libdir}/ocaml/dtools/dtools.a
|
|
|
|
%{_libdir}/ocaml/dtools/dtools.cmx
|
|
|
|
%{_libdir}/ocaml/dtools/dtools.cmxa
|
2024-01-06 07:52:22 +01:00
|
|
|
%doc CHANGES README.md
|
2024-01-06 07:52:22 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:52:22 +01:00
|
|
|
* Thu Jul 06 2023 Sdk Build System <sdk@mambasoft.it> 0.4.5-2mamba
|
|
|
|
- rebuilt with ocaml 4.14.1
|
|
|
|
|
|
|
|
* Sat Jul 01 2023 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 01 2023 Sdk Build System <sdk@mambasoft.it> 0.4.4-2mamba
|
|
|
|
- rebuilt with ocaml 5.0.0
|
|
|
|
|
2024-01-06 07:52:22 +01:00
|
|
|
* Sun Jan 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-1mamba
|
|
|
|
- update to 0.4.4
|
|
|
|
|
2024-01-06 07:52:22 +01:00
|
|
|
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
|
|
|
|
- update to 0.4.2
|
|
|
|
|
2024-01-06 07:52:22 +01:00
|
|
|
* Sat Jun 22 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.3.1-1mamba
|
|
|
|
- package created by autospec
|