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

This commit is contained in:
Silvan Calarco 2024-01-06 08:04:45 +01:00
parent 20a342489f
commit f9ece8b413
2 changed files with 21 additions and 29 deletions

View File

@ -1,4 +1,3 @@
# ocaml-voaacenc
This package contains an OCaml interface for he AAC+ encoding library, otherwise known as libvoaacenc.

View File

@ -1,47 +1,47 @@
%define ocamlpck voaacenc
Name: ocaml-voaacenc
Version: 0.1.0
Version: 0.1.1
Release: 1mamba
Summary: OCaml bindings for the vo-aacenc AAC encoder
Group: Development/Bindings
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://savonet.sourceforge.net/
Source: http://sourceforge.net/projects/savonet/files/ocaml-voaacenc/%{version}/ocaml-voaacenc-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/savonet/ocaml-voaacenc
Source: https://github.com/savonet/ocaml-voaacenc/releases/download/%{version}/ocaml-voaacenc-%{version}.tar.gz
#Source: https://github.com/savonet/ocaml-voaacenc.git/%{version}/ocaml-voaacenc-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 ocaml-voaacenc' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: libvo-aacenc-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: ocaml-voaacenc-devel
Obsoletes: ocaml-voaacenc-devel < 0.1.1
%description
This package contains an OCaml interface for he AAC+ encoding library, otherwise known as libvoaacenc.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%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}.
%description devel
This package contains libraries and signature files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q
./bootstrap
%build
./configure \
--prefix=%{_prefix} \
--disable-ldconf
make
make doc
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot}
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
export DLLDIR=$OCAMLFIND_DESTDIR/stublibs
@ -57,20 +57,13 @@ make install
%defattr(-,root,root)
%dir %{_libdir}/ocaml/%{ocamlpck}
%{_libdir}/ocaml/%{ocamlpck}/META
%{_libdir}/ocaml/%{ocamlpck}/*.cma
%{_libdir}/ocaml/%{ocamlpck}/*.cmi
%{_libdir}/ocaml/stublibs/*.so*
%{_libdir}/ocaml/%{ocamlpck}/*.mli
#%{_libdir}/ocaml/stublibs/*.so*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/ocaml/%{ocamlpck}/*.a
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa
%{_libdir}/ocaml/%{ocamlpck}/*.cmx
%{_libdir}/ocaml/%{ocamlpck}/*.mli
%doc CHANGES README
%doc doc/html/
%changelog
* Sun Jan 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
- update to 0.1.1
* Thu Jun 27 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.1.0-1mamba
- package created by davide using the webbuild interface