2024-01-06 07:52:29 +01:00
|
|
|
%define ocamlpck duppy
|
|
|
|
|
|
|
|
Name: ocaml-duppy
|
2024-03-28 13:13:51 +01:00
|
|
|
Version: 0.9.4
|
|
|
|
Release: 1mamba
|
2024-01-06 07:52:29 +01:00
|
|
|
Summary: Ocaml-duppy is an advanced scheduler for Ocaml programmers
|
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:52:29 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:52:29 +01:00
|
|
|
URL: https://github.com/savonet/ocaml-duppy
|
2024-01-06 07:52:29 +01:00
|
|
|
Source: https://github.com/savonet/ocaml-duppy.git/v%{version}/ocaml-duppy-%{version}.tar.bz2
|
2024-01-06 07:52:29 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-03-28 13:13:51 +01:00
|
|
|
BuildRequires: ocaml-re
|
2024-01-06 07:52:30 +01:00
|
|
|
BuildRequires: ocaml-runtime
|
2024-03-28 13:13:51 +01:00
|
|
|
BuildRequires: ocaml-seq-devel
|
2024-01-06 07:52:29 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:52:30 +01:00
|
|
|
BuildRequires: ocaml >= 4.14.1
|
2024-01-06 07:52:29 +01:00
|
|
|
BuildRequires: dune
|
2024-01-06 07:52:29 +01:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: ocaml-findlib
|
|
|
|
BuildRequires: ocaml-pcre-devel
|
|
|
|
Requires: ocaml-pcre
|
|
|
|
|
|
|
|
%description
|
|
|
|
Ocaml-duppy is an advanced scheduler for Ocaml programmers.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
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}.
|
|
|
|
|
2024-01-06 07:52:29 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 07:52:29 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 07:52:29 +01:00
|
|
|
dune build
|
2024-01-06 07:52:29 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:52:30 +01:00
|
|
|
DESTDIR="%{buildroot}" dune install --prefix "/usr" --libdir "%{_libdir}/ocaml"
|
2024-01-06 07:52:29 +01:00
|
|
|
|
2024-01-06 07:52:29 +01:00
|
|
|
rm -rf %{buildroot}/usr/doc
|
2024-01-06 07:52:29 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/ocaml/%{ocamlpck}
|
2024-01-06 07:52:29 +01:00
|
|
|
%{_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/dllduppy_stubs.so
|
2024-01-06 07:52:29 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/ocaml/%{ocamlpck}/*.a
|
|
|
|
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa
|
|
|
|
%{_libdir}/ocaml/%{ocamlpck}/*.cmx
|
|
|
|
%{_libdir}/ocaml/%{ocamlpck}/*.mli
|
2024-01-06 07:52:29 +01:00
|
|
|
%doc CHANGES README.md
|
2024-01-06 07:52:29 +01:00
|
|
|
%doc examples/
|
|
|
|
|
|
|
|
%changelog
|
2024-03-28 13:13:51 +01:00
|
|
|
* Thu Mar 28 2024 Automatic Build System <autodist@openmamba.org> 0.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:52:30 +01:00
|
|
|
* Fri Jul 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
|
|
|
|
- added upstream patch to export poll (fixes liquidsoap 2.2.0 build)
|
|
|
|
|
|
|
|
* Sat Jul 08 2023 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 06 2023 Sdk Build System <sdk@mambasoft.it> 0.9.2-2mamba
|
|
|
|
- rebuilt with ocaml 4.14.1
|
|
|
|
|
2024-01-06 07:52:29 +01:00
|
|
|
* Sun Jan 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba
|
|
|
|
- update to 0.9.2
|
|
|
|
|
2024-01-06 07:52:29 +01:00
|
|
|
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- update to 0.9.0
|
|
|
|
|
2024-01-06 07:52:29 +01:00
|
|
|
* Sun Jun 23 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-3mamba
|
|
|
|
- install dll libs in stublibs because this directory is known by ocaml ans so we do not need to modify ld.conf
|
|
|
|
|
|
|
|
* Sun Jun 23 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-2mamba
|
|
|
|
- move development files to the devel package
|
|
|
|
|
|
|
|
* Sat Jun 22 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-1mamba
|
|
|
|
- package created by autospec
|