diff --git a/aubio.changes b/aubio.changes index 74a6c04..2811026 100644 --- a/aubio.changes +++ b/aubio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 14 16:44:15 UTC 2023 - Dave Plater + +- 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 diff --git a/aubio.spec b/aubio.spec index 9f03d9a..749002e 100644 --- a/aubio.spec +++ b/aubio.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -35,21 +35,30 @@ Patch1: 8a05420.patch Source99: baselibs.conf BuildRequires: alsa-devel BuildRequires: doxygen +BuildRequires: fdupes BuildRequires: fftw3-devel BuildRequires: libjack-devel BuildRequires: libsamplerate-devel BuildRequires: libsndfile-devel BuildRequires: pkg-config BuildRequires: python3-base -%if 0%{?suse_version} > 1315 BuildRequires: txt2man +%if 1 == 0 BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavformat) -BuildRequires: pkgconfig(libswresample) 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 +ExcludeArch: i586 + %description Aubio is a library for real time audio labelling. Its features include segmenting a sound file before each of its attacks, performing pitch @@ -85,6 +94,14 @@ Group: Productivity/Multimedia/Sound/Editors and Convertors %description tools 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 %autosetup -p1 # set proper library dir @@ -102,6 +119,7 @@ mkdir -p %{buildroot}%{_docdir}/%{name} cp -pR %{buildroot}%{_datadir}/doc/libaubio-doc/api %{buildroot}%{_docdir}/%{name} rm -rf %{buildroot}%{_datadir}/doc/libaubio-doc rm -f %{buildroot}%{_libdir}/libaubio.a +%fdupes -s %{buildroot}%{_docdir} %post -n %{libpkgname} -p /sbin/ldconfig %postun -n %{libpkgname} -p /sbin/ldconfig @@ -116,11 +134,11 @@ rm -f %{buildroot}%{_libdir}/libaubio.a %{_libdir}/pkgconfig/*.pc %{_includedir}/aubio -%files tools +%files docs %doc %{_docdir}/%{name} -%if 0%{?suse_version} > 1315 + +%files tools %{_mandir}/man1/* -%endif %{_bindir}/* %changelog diff --git a/python-aubio.spec b/python-aubio.spec index 3ce2226..14e1831 100644 --- a/python-aubio.spec +++ b/python-aubio.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed