forked from pool/aubio
Accepting request 1072155 from multimedia:libs
Replace ffmpeg libs pkgconfig build requires with actual ffmpeg-4 devel packages to fix build for Tumbleweed. Allow i586 build OBS-URL: https://build.opensuse.org/request/show/1072155 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aubio?expand=0&rev=33
This commit is contained in:
commit
cc0abdb5f8
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 14 16:44:15 UTC 2023 - Dave Plater <davejplater@gmail.com>
|
||||||
|
|
||||||
|
- Replace ffmpeg libs pkgconfig build requires with actual
|
||||||
|
ffmpeg-4 devel packages to fix build for Tumbleweed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 13 09:19:51 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
Tue Dec 13 09:19:51 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
30
aubio.spec
30
aubio.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package aubio
|
# spec file for package aubio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -35,21 +35,30 @@ Patch1: 8a05420.patch
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: fftw3-devel
|
BuildRequires: fftw3-devel
|
||||||
BuildRequires: libjack-devel
|
BuildRequires: libjack-devel
|
||||||
BuildRequires: libsamplerate-devel
|
BuildRequires: libsamplerate-devel
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libsndfile-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
BuildRequires: txt2man
|
BuildRequires: txt2man
|
||||||
|
%if 1 == 0
|
||||||
BuildRequires: pkgconfig(libavcodec)
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
BuildRequires: pkgconfig(libavdevice)
|
BuildRequires: pkgconfig(libavdevice)
|
||||||
BuildRequires: pkgconfig(libavformat)
|
BuildRequires: pkgconfig(libavformat)
|
||||||
BuildRequires: pkgconfig(libswresample)
|
|
||||||
BuildRequires: pkgconfig(libavutil)
|
BuildRequires: pkgconfig(libavutil)
|
||||||
|
BuildRequires: pkgconfig(libswresample)
|
||||||
|
%else
|
||||||
|
BuildRequires: ffmpeg-4-libavcodec-devel
|
||||||
|
BuildRequires: ffmpeg-4-libavdevice-devel
|
||||||
|
BuildRequires: ffmpeg-4-libavformat-devel
|
||||||
|
BuildRequires: ffmpeg-4-libavutil-devel
|
||||||
|
BuildRequires: ffmpeg-4-libswresample-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#ExcludeArch: i586
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Aubio is a library for real time audio labelling. Its features include
|
Aubio is a library for real time audio labelling. Its features include
|
||||||
segmenting a sound file before each of its attacks, performing pitch
|
segmenting a sound file before each of its attacks, performing pitch
|
||||||
@ -85,6 +94,14 @@ Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|||||||
%description tools
|
%description tools
|
||||||
This package includes the example programs for aubio library.
|
This package includes the example programs for aubio library.
|
||||||
|
|
||||||
|
%package docs
|
||||||
|
Summary: Documentation for aubio library
|
||||||
|
Group: Documentation/HTML
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description docs
|
||||||
|
This package includes the documentation for aubio library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
# set proper library dir
|
# set proper library dir
|
||||||
@ -102,6 +119,7 @@ mkdir -p %{buildroot}%{_docdir}/%{name}
|
|||||||
cp -pR %{buildroot}%{_datadir}/doc/libaubio-doc/api %{buildroot}%{_docdir}/%{name}
|
cp -pR %{buildroot}%{_datadir}/doc/libaubio-doc/api %{buildroot}%{_docdir}/%{name}
|
||||||
rm -rf %{buildroot}%{_datadir}/doc/libaubio-doc
|
rm -rf %{buildroot}%{_datadir}/doc/libaubio-doc
|
||||||
rm -f %{buildroot}%{_libdir}/libaubio.a
|
rm -f %{buildroot}%{_libdir}/libaubio.a
|
||||||
|
%fdupes -s %{buildroot}%{_docdir}
|
||||||
|
|
||||||
%post -n %{libpkgname} -p /sbin/ldconfig
|
%post -n %{libpkgname} -p /sbin/ldconfig
|
||||||
%postun -n %{libpkgname} -p /sbin/ldconfig
|
%postun -n %{libpkgname} -p /sbin/ldconfig
|
||||||
@ -116,11 +134,11 @@ rm -f %{buildroot}%{_libdir}/libaubio.a
|
|||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_includedir}/aubio
|
%{_includedir}/aubio
|
||||||
|
|
||||||
%files tools
|
%files docs
|
||||||
%doc %{_docdir}/%{name}
|
%doc %{_docdir}/%{name}
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
|
%files tools
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%endif
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-aubio
|
# spec file for package python-aubio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user