2024-01-06 07:49:27 +01:00
|
|
|
%define ocamlpck ao
|
|
|
|
|
|
|
|
Name: ocaml-ao
|
2024-01-06 07:49:27 +01:00
|
|
|
Version: 0.2.3
|
|
|
|
Release: 1mamba
|
2024-01-06 07:49:27 +01:00
|
|
|
Summary: OCaml bindings to the ao library
|
|
|
|
Group: Development/Bindings
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:49:27 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://savonet.sourceforge.net/
|
|
|
|
Source: https://github.com/savonet/ocaml-ao.git/v%{version}/ocaml-ao-%{version}.tar.bz2
|
2024-01-06 07:49:27 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libao-devel
|
2024-01-06 07:49:27 +01:00
|
|
|
BuildRequires: ocaml
|
2024-01-06 07:49:27 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: ocaml-findlib
|
|
|
|
|
|
|
|
%description
|
|
|
|
OCaml bindings to the alsa library.
|
|
|
|
|
|
|
|
%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:49:27 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 07:49:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 07:49:27 +01:00
|
|
|
dune build
|
2024-01-06 07:49:27 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:49:27 +01:00
|
|
|
DESTDIR=%{buildroot} dune install --prefix "/usr" --libdir "%{_lib}/ocaml"
|
2024-01-06 07:49:27 +01:00
|
|
|
|
2024-01-06 07:49:27 +01:00
|
|
|
rm -rf %{buildroot}/usr/doc
|
2024-01-06 07:49:27 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/ocaml/%{ocamlpck}
|
|
|
|
%{_libdir}/ocaml/%{ocamlpck}/META
|
|
|
|
%{_libdir}/ocaml/%{ocamlpck}/*.cma
|
|
|
|
%{_libdir}/ocaml/%{ocamlpck}/*.cmi
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so*
|
2024-01-06 07:49:27 +01:00
|
|
|
%dir %{_libdir}/ocaml/ao
|
|
|
|
%{_libdir}/ocaml/ao/ao.cmt
|
|
|
|
%{_libdir}/ocaml/ao/ao.cmti
|
|
|
|
%{_libdir}/ocaml/ao/ao.cmxs
|
|
|
|
%{_libdir}/ocaml/ao/ao.ml
|
|
|
|
%{_libdir}/ocaml/ao/dune-package
|
|
|
|
%{_libdir}/ocaml/ao/opam
|
2024-01-06 07:49:27 +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:49:27 +01:00
|
|
|
%doc CHANGES README.md
|
2024-01-06 07:49:27 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:49:27 +01:00
|
|
|
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-1mamba
|
|
|
|
- update to 0.2.3
|
|
|
|
|
2024-01-06 07:49:27 +01:00
|
|
|
* Sun Jun 23 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.2.0-2mamba
|
|
|
|
- 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.2.0-1mamba
|
|
|
|
- package created by autospec
|