%define ocamlpck taglib Name: ocaml-taglib Version: 0.3.10 Release: 2mamba Summary: OCaml bindings to taglib Group: Development/Bindings Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/savonet/ocaml-taglib Source: https://github.com/savonet/ocaml-taglib.git/v%{version}/ocaml-taglib-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: libtag-devel BuildRequires: libz-devel BuildRequires: ocaml BuildRequires: ocaml-runtime ## AUTOBUILDREQ-END BuildRequires: ocaml >= 4.14.1 BuildRequires: dune BuildRequires: libtag-devel >= 1.9.1 %description This package contains an O'Caml interface for TagLib Audio Meta-Data Library, otherwise known as taglib. %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}. %prep %setup -q %build dune build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" DESTDIR=%{buildroot} dune install --prefix "/usr" --libdir "%{_libdir}/ocaml" rm -rf %{buildroot}/usr/doc %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_libdir}/ocaml/%{ocamlpck} %{_libdir}/ocaml/%{ocamlpck}/* %{_libdir}/ocaml/stublibs/*.so* %doc COPYING %files devel %defattr(-,root,root) %exclude %{_libdir}/ocaml/%{ocamlpck}/*.a %exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmxa %exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmx %exclude %{_libdir}/ocaml/%{ocamlpck}/*.mli %doc CHANGES README.md %changelog * Thu Jul 06 2023 Sdk Build System 0.3.10-2mamba - rebuilt with ocaml 4.14.1 * Sun Oct 09 2022 Automatic Build System 0.3.10-1mamba - automatic version update by autodist * Sat Mar 05 2022 Automatic Build System 0.3.9-1mamba - automatic version update by autodist * Sun Feb 06 2022 Silvan Calarco 0.3.8-1mamba - update to 0.3.8 * Tue Dec 29 2015 Silvan Calarco 0.3.1-2mamba - mass rebuild with libtag 1.9.1 * Sat Jun 29 2013 openmamba WebBuild System 0.3.1-1mamba - package created by davide using the webbuild interface