aubio/python-aubio.spec

77 lines
2.5 KiB
RPMSpec
Raw Normal View History

Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
#
# spec file for package python-aubio
#
# Copyright (c) 2020 SUSE LLC
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 674318 from home:iznogood:branches:multimedia:libs - Update to version 0.4.9: * No upstream changes provided, please see https://git.aubio.org/?p=aubio.git;a=shortlog - Changes from version 0.4.8: * src/notes: new option release_drop. * src/spectral: new parameters added to filterbank and mfcc. * python/lib: start documenting module, improve build for win-amd64. * src fixes: prevent crash when using fft sizes unsupported by vDSP, prevent saturation when down-mixing a multi-channel source (avcodec/ffmpeg). - Changes from version 0.4.7: * src/io/, src/notes/, src/pitch: prevent crashes on corrupted files. * src/spectral/dct.h: add dct type II object with optimised versions. * examples/: fix jack midi output, improve messages when jack disabled. * python/: add dct support, minor bug fixes tests and demos. * wscript: improve support for BLAS/ATLAS. - Drop upstream fixed patches: * aubio-wavread-input-validation.patch * aubio-resampler-NULL-deref-fix.patch * 0001-src-notes-notes.c-bail-out-if-pitch-creation-failed-.patch * 0001-src-pitch-pitchyinfft.c-fix-out-of-bound-read-when-s.patch * 0002-src-io-source_wavread.c-also-exit-if-samplerate-is-n.patch * 0002-src-pitch-pitchyinfft.c-comment-out-debug-output.patch - Run spec-cleaner, modernize spec. - Replace ffmpeg3-devel with pkgconfig(libavdevice) BuildRequires: Allow to build with ffmpeg v4 and newer. OBS-URL: https://build.opensuse.org/request/show/674318 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=27
2019-02-14 09:22:53 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-aubio
Accepting request 674318 from home:iznogood:branches:multimedia:libs - Update to version 0.4.9: * No upstream changes provided, please see https://git.aubio.org/?p=aubio.git;a=shortlog - Changes from version 0.4.8: * src/notes: new option release_drop. * src/spectral: new parameters added to filterbank and mfcc. * python/lib: start documenting module, improve build for win-amd64. * src fixes: prevent crash when using fft sizes unsupported by vDSP, prevent saturation when down-mixing a multi-channel source (avcodec/ffmpeg). - Changes from version 0.4.7: * src/io/, src/notes/, src/pitch: prevent crashes on corrupted files. * src/spectral/dct.h: add dct type II object with optimised versions. * examples/: fix jack midi output, improve messages when jack disabled. * python/: add dct support, minor bug fixes tests and demos. * wscript: improve support for BLAS/ATLAS. - Drop upstream fixed patches: * aubio-wavread-input-validation.patch * aubio-resampler-NULL-deref-fix.patch * 0001-src-notes-notes.c-bail-out-if-pitch-creation-failed-.patch * 0001-src-pitch-pitchyinfft.c-fix-out-of-bound-read-when-s.patch * 0002-src-io-source_wavread.c-also-exit-if-samplerate-is-n.patch * 0002-src-pitch-pitchyinfft.c-comment-out-debug-output.patch - Run spec-cleaner, modernize spec. - Replace ffmpeg3-devel with pkgconfig(libavdevice) BuildRequires: Allow to build with ffmpeg v4 and newer. OBS-URL: https://build.opensuse.org/request/show/674318 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=27
2019-02-14 09:22:53 +01:00
Version: 0.4.9
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
Release: 0
Summary: A collection of tools for music analysis
License: GPL-3.0-or-later
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
Group: Development/Languages/Python
Accepting request 674318 from home:iznogood:branches:multimedia:libs - Update to version 0.4.9: * No upstream changes provided, please see https://git.aubio.org/?p=aubio.git;a=shortlog - Changes from version 0.4.8: * src/notes: new option release_drop. * src/spectral: new parameters added to filterbank and mfcc. * python/lib: start documenting module, improve build for win-amd64. * src fixes: prevent crash when using fft sizes unsupported by vDSP, prevent saturation when down-mixing a multi-channel source (avcodec/ffmpeg). - Changes from version 0.4.7: * src/io/, src/notes/, src/pitch: prevent crashes on corrupted files. * src/spectral/dct.h: add dct type II object with optimised versions. * examples/: fix jack midi output, improve messages when jack disabled. * python/: add dct support, minor bug fixes tests and demos. * wscript: improve support for BLAS/ATLAS. - Drop upstream fixed patches: * aubio-wavread-input-validation.patch * aubio-resampler-NULL-deref-fix.patch * 0001-src-notes-notes.c-bail-out-if-pitch-creation-failed-.patch * 0001-src-pitch-pitchyinfft.c-fix-out-of-bound-read-when-s.patch * 0002-src-io-source_wavread.c-also-exit-if-samplerate-is-n.patch * 0002-src-pitch-pitchyinfft.c-comment-out-debug-output.patch - Run spec-cleaner, modernize spec. - Replace ffmpeg3-devel with pkgconfig(libavdevice) BuildRequires: Allow to build with ffmpeg v4 and newer. OBS-URL: https://build.opensuse.org/request/show/674318 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=27
2019-02-14 09:22:53 +01:00
URL: http://aubio.org/
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
Source: http://aubio.org/pub/aubio-%{version}.tar.bz2
Source1: http://aubio.org/pub/aubio-%{version}.tar.bz2.asc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module pytest}
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
BuildRequires: python-rpm-macros
Requires: python-numpy
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description
A python module to access the aubio library functions.
aubio is a library to label music and sounds. It listens to audio signals and attempts to detect events. For instance, when a drum is hit, at which frequency is a note, or at what tempo is a rhythmic melody.
Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio.
%prep
%setup -q -n aubio-%{version}
%build
%python_build
%install
%python_install
%python_expand fdupes %{buildroot}/%{python_sitearch}
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
%python_clone -a %{buildroot}/%{_bindir}/aubio
%python_clone -a %{buildroot}/%{_bindir}/aubiocut
%check
# the two tests fail on 32bit due to precision issue
%pytest_arch -k 'not (test_meltohz or test_hztomel)'
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
%post
%python_install_alternative aubio
%postun
%python_uninstall_alternative aubio
%files %{python_files}
Accepting request 674318 from home:iznogood:branches:multimedia:libs - Update to version 0.4.9: * No upstream changes provided, please see https://git.aubio.org/?p=aubio.git;a=shortlog - Changes from version 0.4.8: * src/notes: new option release_drop. * src/spectral: new parameters added to filterbank and mfcc. * python/lib: start documenting module, improve build for win-amd64. * src fixes: prevent crash when using fft sizes unsupported by vDSP, prevent saturation when down-mixing a multi-channel source (avcodec/ffmpeg). - Changes from version 0.4.7: * src/io/, src/notes/, src/pitch: prevent crashes on corrupted files. * src/spectral/dct.h: add dct type II object with optimised versions. * examples/: fix jack midi output, improve messages when jack disabled. * python/: add dct support, minor bug fixes tests and demos. * wscript: improve support for BLAS/ATLAS. - Drop upstream fixed patches: * aubio-wavread-input-validation.patch * aubio-resampler-NULL-deref-fix.patch * 0001-src-notes-notes.c-bail-out-if-pitch-creation-failed-.patch * 0001-src-pitch-pitchyinfft.c-fix-out-of-bound-read-when-s.patch * 0002-src-io-source_wavread.c-also-exit-if-samplerate-is-n.patch * 0002-src-pitch-pitchyinfft.c-comment-out-debug-output.patch - Run spec-cleaner, modernize spec. - Replace ffmpeg3-devel with pkgconfig(libavdevice) BuildRequires: Allow to build with ffmpeg v4 and newer. OBS-URL: https://build.opensuse.org/request/show/674318 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=27
2019-02-14 09:22:53 +01:00
%license COPYING
%doc README.md ChangeLog AUTHORS
Accepting request 491058 from home:alarrosa:branches:multimedia:libs - Update soname and generate libaubio5 package - Update to version 0.4.5 * src/io/source_avcodec.c: add support for libswresample * aubio: new python command line tool to extract information * src/onset/onset.c: add spectral whitening and compression, improve default parameters * this_version.py: use centralized script to get current version, adding git sha when building from git repo (thanks to MartinHN) * src/spectral/awhithening.h: add adaptive whitening * src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push * src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal parameters of each novelty function, _{set,get}_compression and _{set,get}_awhitening to turn on/off compression and adaptive whitening * src/spectral/specdesc.h: add weighted phase * src/onset/onset.c: improve default onset parameters (thanks to @superbock for access to his evaluation database), see commit dccfad2 for more details * src/pitch/pitch.c: avoid segfault when using invalid parameters * src/temporal/biquad.c: fix biquad parameters initialization (thanks to @jurlhardt) * examples/aubio{onset,track}.c: add options --miditap-note and --miditap-velo to set which midi note is triggered at onset/beat (thanks to @tseaver) * examples/aubioonset.c: show actual parameters in verbose mode * examples/utils.c: improve memory usage to emit midi notes * python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface * python/ext/py-sink.c: add with interface (PEP 343) * python/lib/aubio/cmd.py: new `aubio` command line tool * python/lib/aubio/cut.py: moved from python/scripts/aubiocut * doc/*.rst: reorganize and improve sphinx manual * doc/*.txt: update manpages, add simple manpage for aubio command line OBS-URL: https://build.opensuse.org/request/show/491058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=13
2017-04-27 10:54:13 +02:00
%python_alternative %{_bindir}/aubio
%python_alternative %{_bindir}/aubiocut
%{python_sitearch}/*
%changelog