exclude unclear automatic requirement for ocaml(Aacplus_dynlink) [release 0.2.2-2mamba;Sun Feb 13 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 07:49:09 +01:00
parent 79449f9569
commit f5f1d6a222

View File

@ -1,24 +1,23 @@
%define ocamlpck aacplus
Name: ocaml-aacplus
Version: 0.2.1
Release: 1mamba
Version: 0.2.2
Release: 2mamba
Summary: OCaml bindings for libaacplus
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-aacplus/%{version}/ocaml-aacplus-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/savonet/ocaml-aacplus
Source: https://github.com/savonet/ocaml-aacplus.git/%{version}/ocaml-aacplus-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaacplus-devel
BuildRequires: libfftw-devel
BuildRequires: ocaml
## AUTOBUILDREQ-END
BuildRequires: pkg-config
BuildRequires: libaacplus-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This package contains an OCaml interface for the AAC+ encoding library, otherwise known as libaacplus.
@ -31,16 +30,21 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and signature files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%global __requires_exclude ^ocaml.*Aacplus_dynlink.*$
./bootstrap
%build
./configure \
--prefix=%{_prefix} \
--disable-ldconf
%configure \
--host= \
LDFLAGS="-L%{_libdir}"
%make
%make doc
%make -j1
%make -j1 doc
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -75,5 +79,11 @@ make install
%doc doc/html/
%changelog
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-2mamba
- exclude unclear automatic requirement for ocaml(Aacplus_dynlink)
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-1mamba
- update to 0.2.2
* Tue Jun 25 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.2.1-1mamba
- package created by autospec