update to 0.3.5 [release 0.3.5-1mamba;Sun Jan 30 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 07:55:03 +01:00
parent 750a50bd50
commit 3e17520d27

View File

@ -1,24 +1,23 @@
%define ocamlpck lame %define ocamlpck lame
Name: ocaml-lame Name: ocaml-lame
Version: 0.3.2 Version: 0.3.5
Release: 1mamba Release: 1mamba
Summary: OCaml bindings to the LAME mp3 encoder Summary: OCaml bindings to the LAME mp3 encoder
Group: Development/Bindings Group: System/Libraries/OCaml
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://savonet.sourceforge.net/ URL: https://github.com/savonet/ocaml-lame
Source: http://sourceforge.net/projects/savonet/files/ocaml-lame/%{version}/ocaml-lame-%{version}.tar.gz Source: https://github.com/savonet/ocaml-lame.git/v%{version}/ocaml-lame-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: liblame-devel BuildRequires: liblame-devel
## note: run 'autospec -u -a6 ocaml-lame' to get the list of build requirements.
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: dune
BuildRequires: ocaml BuildRequires: ocaml
BuildRequires: ocaml-findlib BuildRequires: ocaml-findlib
BuildRequires: camlidl BuildRequires: camlidl
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
OCaml bindings for the lame librar. OCaml bindings for the lame librar.
@ -31,27 +30,19 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
This package contains libraries and signature files for developing applications that use %{name}. This package contains libraries and signature files for developing applications that use %{name}.
%debug_package
%prep %prep
%setup -q %setup -q
%build %build
./configure \ dune build
--prefix=%{_prefix} \
--disable-ldconf
make
make doc
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot} DESTDIR=%{buildroot} dune install --prefix "/usr" --libdir "%{_lib}/ocaml"
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
export DLLDIR=$OCAMLFIND_DESTDIR/stublibs
install -d $OCAMLFIND_DESTDIR/%{ocamlpck} rm -rf %{buildroot}/usr/doc
install -d $OCAMLFIND_DESTDIR/stublibs
make install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -59,10 +50,11 @@ make install
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_libdir}/ocaml/%{ocamlpck} %dir %{_libdir}/ocaml/%{ocamlpck}
%{_libdir}/ocaml/%{ocamlpck}/META %{_libdir}/ocaml/%{ocamlpck}/*
%{_libdir}/ocaml/%{ocamlpck}/*.cma %exclude %{_libdir}/ocaml/%{ocamlpck}/*.a
%{_libdir}/ocaml/%{ocamlpck}/*.cmi %exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmxa
%{_libdir}/ocaml/%{ocamlpck}/*.cmxs %exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmx
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.mli
%{_libdir}/ocaml/stublibs/*.so* %{_libdir}/ocaml/stublibs/*.so*
%doc COPYING %doc COPYING
@ -72,9 +64,11 @@ make install
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa %{_libdir}/ocaml/%{ocamlpck}/*.cmxa
%{_libdir}/ocaml/%{ocamlpck}/*.cmx %{_libdir}/ocaml/%{ocamlpck}/*.cmx
%{_libdir}/ocaml/%{ocamlpck}/*.mli %{_libdir}/ocaml/%{ocamlpck}/*.mli
%doc CHANGES README %doc CHANGES README.md
%doc doc/html/
%changelog %changelog
* Sun Jan 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.5-1mamba
- update to 0.3.5
* Sat Jun 29 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.3.2-1mamba * Sat Jun 29 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.3.2-1mamba
- package created by davide using the webbuild interface - package created by davide using the webbuild interface