2008-08-01 04:27:15 +02:00
|
|
|
#
|
2011-09-11 19:05:06 +02:00
|
|
|
# spec file for package aubio
|
2008-08-01 04:27:15 +02:00
|
|
|
#
|
2024-02-22 09:14:18 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2008-08-01 04:27:15 +02:00
|
|
|
#
|
2008-10-22 23:40:52 +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.
|
|
|
|
|
2019-02-14 09:22:53 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-08-01 04:27:15 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
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
|
|
|
%define libpkgname libaubio5
|
2019-02-14 09:22:53 +01:00
|
|
|
%define debug_package_requires %{libpkgname} = %{version}-%{release}
|
|
|
|
Name: aubio
|
|
|
|
Version: 0.4.9
|
|
|
|
Release: 0
|
2008-08-01 04:27:15 +02:00
|
|
|
Summary: Library for real-time audio labelling
|
2018-03-23 16:56:17 +01:00
|
|
|
License: GPL-3.0-or-later
|
2017-05-26 15:58:52 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-02-14 09:22:53 +01:00
|
|
|
URL: http://aubio.org
|
|
|
|
Source: http://aubio.org/pub/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: http://aubio.org/pub/%{name}-%{version}.tar.bz2.asc
|
2022-12-24 12:40:19 +01:00
|
|
|
# PATCH-FIX-UPSTREAM https://github.com/aubio/aubio/commit/cdfe9ce.patch -- [source_avcodec] avoid deprecation warning with latest avcodec api (58.134.100)
|
|
|
|
Patch0: cdfe9ce.patch
|
|
|
|
# PATCH-FIX-UPSTREAM https://github.com/aubio/aubio/commit/8a05420.patch -- [source_avcodec] define FF_API_LAVF_AVCTX for libavcodec > 59, thx @berolinux (closes gh-353)
|
|
|
|
Patch1: 8a05420.patch
|
2023-07-21 09:05:37 +02:00
|
|
|
Patch2: waflib_deprecated.patch
|
2022-12-24 12:40:19 +01:00
|
|
|
|
2019-02-14 09:22:53 +01:00
|
|
|
Source99: baselibs.conf
|
Accepting request 243519 from home:coolo:branches:openSUSE:Factory
- update to 0.4.1 (to fix build in Factory):
* The most interesting feature in this release concerns aubiocut.
Thanks to the sponsoring of Mark Suppes, the python script to slice
sound streams was extended to be sample accurate, cut overlapping
segments, and work on multiple channels.
* New source and sink objects have been added to let aubio read and
write WAV files, even when built with no external libraries.
This should simplify the use of aubio on platforms such as Android or Windows.
* Existing sources and sinks have been extended to read and write from
and to multiple channels. This makes python-aubio one of the fastest
and most versatile Python module to read and write media files.
This release also comes with a stack of bug fixes and code clean-ups.
- 0.4 is a huge step in this library, as:
* more portable: with no required dependencies, the core of aubio library,
written in ANSI C, is known to compile and run on most modern platforms
(Linux, Windows, Mac OS X, Android, iOS, ...).
* more stable: several bugs fixes and a battery of tests make this new
release more robust and less prone to errors.
* faster: several enhancements to the C library and a brand new Python
interface help make this release orders of magnitude faster than the
previous ones.
- switched from autotools to waf
OBS-URL: https://build.opensuse.org/request/show/243519
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=7
2014-08-04 13:42:08 +02:00
|
|
|
BuildRequires: alsa-devel
|
2015-11-05 13:59:05 +01:00
|
|
|
BuildRequires: doxygen
|
2023-03-14 18:32:01 +01:00
|
|
|
BuildRequires: fdupes
|
2019-02-14 09:22:53 +01:00
|
|
|
BuildRequires: fftw3-devel
|
|
|
|
BuildRequires: libjack-devel
|
|
|
|
BuildRequires: libsamplerate-devel
|
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
BuildRequires: pkg-config
|
2020-01-30 14:16:09 +01:00
|
|
|
BuildRequires: python3-base
|
2015-11-05 13:59:05 +01:00
|
|
|
BuildRequires: txt2man
|
2023-03-14 18:32:01 +01:00
|
|
|
%if 1 == 0
|
2016-04-18 11:46:30 +02:00
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
2019-02-14 09:22:53 +01:00
|
|
|
BuildRequires: pkgconfig(libavdevice)
|
2016-04-18 11:46:30 +02:00
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
BuildRequires: pkgconfig(libavutil)
|
2023-03-14 18:32:01 +01:00
|
|
|
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
|
2015-11-05 13:59:05 +01:00
|
|
|
%endif
|
2008-08-01 04:27:15 +02:00
|
|
|
|
2023-03-15 16:44:00 +01:00
|
|
|
#ExcludeArch: i586
|
2023-03-14 18:32:01 +01:00
|
|
|
|
2008-08-01 04:27:15 +02:00
|
|
|
%description
|
|
|
|
Aubio is a library for real time audio labelling. 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.
|
|
|
|
The name aubio comes from 'audio' with a typo: several transcription
|
|
|
|
errors are likely to be found in the results too.
|
|
|
|
|
Accepting request 243519 from home:coolo:branches:openSUSE:Factory
- update to 0.4.1 (to fix build in Factory):
* The most interesting feature in this release concerns aubiocut.
Thanks to the sponsoring of Mark Suppes, the python script to slice
sound streams was extended to be sample accurate, cut overlapping
segments, and work on multiple channels.
* New source and sink objects have been added to let aubio read and
write WAV files, even when built with no external libraries.
This should simplify the use of aubio on platforms such as Android or Windows.
* Existing sources and sinks have been extended to read and write from
and to multiple channels. This makes python-aubio one of the fastest
and most versatile Python module to read and write media files.
This release also comes with a stack of bug fixes and code clean-ups.
- 0.4 is a huge step in this library, as:
* more portable: with no required dependencies, the core of aubio library,
written in ANSI C, is known to compile and run on most modern platforms
(Linux, Windows, Mac OS X, Android, iOS, ...).
* more stable: several bugs fixes and a battery of tests make this new
release more robust and less prone to errors.
* faster: several enhancements to the C library and a brand new Python
interface help make this release orders of magnitude faster than the
previous ones.
- switched from autotools to waf
OBS-URL: https://build.opensuse.org/request/show/243519
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=7
2014-08-04 13:42:08 +02:00
|
|
|
%package -n %{libpkgname}
|
2008-08-01 04:27:15 +02:00
|
|
|
Summary: Library for real-time audio labelling
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Accepting request 243519 from home:coolo:branches:openSUSE:Factory
- update to 0.4.1 (to fix build in Factory):
* The most interesting feature in this release concerns aubiocut.
Thanks to the sponsoring of Mark Suppes, the python script to slice
sound streams was extended to be sample accurate, cut overlapping
segments, and work on multiple channels.
* New source and sink objects have been added to let aubio read and
write WAV files, even when built with no external libraries.
This should simplify the use of aubio on platforms such as Android or Windows.
* Existing sources and sinks have been extended to read and write from
and to multiple channels. This makes python-aubio one of the fastest
and most versatile Python module to read and write media files.
This release also comes with a stack of bug fixes and code clean-ups.
- 0.4 is a huge step in this library, as:
* more portable: with no required dependencies, the core of aubio library,
written in ANSI C, is known to compile and run on most modern platforms
(Linux, Windows, Mac OS X, Android, iOS, ...).
* more stable: several bugs fixes and a battery of tests make this new
release more robust and less prone to errors.
* faster: several enhancements to the C library and a brand new Python
interface help make this release orders of magnitude faster than the
previous ones.
- switched from autotools to waf
OBS-URL: https://build.opensuse.org/request/show/243519
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=7
2014-08-04 13:42:08 +02:00
|
|
|
%description -n %{libpkgname}
|
2008-08-01 04:27:15 +02:00
|
|
|
Aubio is a library for real time audio labelling. 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.
|
|
|
|
The name aubio comes from 'audio' with a typo: several transcription
|
|
|
|
errors are likely to be found in the results too.
|
|
|
|
|
|
|
|
%package -n libaubio-devel
|
|
|
|
Summary: Development package for aubio library
|
|
|
|
Group: Development/Libraries/C and C++
|
Accepting request 243519 from home:coolo:branches:openSUSE:Factory
- update to 0.4.1 (to fix build in Factory):
* The most interesting feature in this release concerns aubiocut.
Thanks to the sponsoring of Mark Suppes, the python script to slice
sound streams was extended to be sample accurate, cut overlapping
segments, and work on multiple channels.
* New source and sink objects have been added to let aubio read and
write WAV files, even when built with no external libraries.
This should simplify the use of aubio on platforms such as Android or Windows.
* Existing sources and sinks have been extended to read and write from
and to multiple channels. This makes python-aubio one of the fastest
and most versatile Python module to read and write media files.
This release also comes with a stack of bug fixes and code clean-ups.
- 0.4 is a huge step in this library, as:
* more portable: with no required dependencies, the core of aubio library,
written in ANSI C, is known to compile and run on most modern platforms
(Linux, Windows, Mac OS X, Android, iOS, ...).
* more stable: several bugs fixes and a battery of tests make this new
release more robust and less prone to errors.
* faster: several enhancements to the C library and a brand new Python
interface help make this release orders of magnitude faster than the
previous ones.
- switched from autotools to waf
OBS-URL: https://build.opensuse.org/request/show/243519
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=7
2014-08-04 13:42:08 +02:00
|
|
|
Requires: %{libpkgname} = %{version}
|
|
|
|
Requires: glibc-devel
|
2008-08-01 04:27:15 +02:00
|
|
|
|
|
|
|
%description -n libaubio-devel
|
|
|
|
This package contains the files needed to compile programs that use
|
|
|
|
aubio library.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Example programs for aubio library
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package includes the example programs for aubio library.
|
|
|
|
|
2023-03-14 18:32:01 +01:00
|
|
|
%package docs
|
|
|
|
Summary: Documentation for aubio library
|
|
|
|
Group: Documentation/HTML
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description docs
|
|
|
|
This package includes the documentation for aubio library.
|
|
|
|
|
2008-08-01 04:27:15 +02:00
|
|
|
%prep
|
2022-12-24 12:40:19 +01:00
|
|
|
%autosetup -p1
|
2020-01-30 14:16:09 +01:00
|
|
|
# set proper library dir
|
|
|
|
sed -i -e "s#/lib#/%{_lib}#" src/wscript_build
|
|
|
|
# set python3 as testrunner
|
|
|
|
sed -i -e 's#python\ ${SRC}#python3 ${SRC}#g' tests/wscript_build
|
2008-08-01 04:27:15 +02:00
|
|
|
|
|
|
|
%build
|
2022-04-11 17:02:57 +02:00
|
|
|
python3 ./waf configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-fftw3
|
2020-01-30 14:16:09 +01:00
|
|
|
python3 ./waf build -v %{?_smp_mflags}
|
2008-08-01 04:27:15 +02:00
|
|
|
|
|
|
|
%install
|
2020-01-30 14:16:09 +01:00
|
|
|
python3 ./waf install --destdir=%{buildroot}
|
2015-11-05 13:59:05 +01:00
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
2019-02-14 09:22:53 +01:00
|
|
|
cp -pR %{buildroot}%{_datadir}/doc/libaubio-doc/api %{buildroot}%{_docdir}/%{name}
|
2015-11-05 13:59:05 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/libaubio-doc
|
2017-04-28 13:44:06 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/libaubio.a
|
2023-03-14 18:32:01 +01:00
|
|
|
%fdupes -s %{buildroot}%{_docdir}
|
2008-08-01 04:27:15 +02:00
|
|
|
|
Accepting request 243519 from home:coolo:branches:openSUSE:Factory
- update to 0.4.1 (to fix build in Factory):
* The most interesting feature in this release concerns aubiocut.
Thanks to the sponsoring of Mark Suppes, the python script to slice
sound streams was extended to be sample accurate, cut overlapping
segments, and work on multiple channels.
* New source and sink objects have been added to let aubio read and
write WAV files, even when built with no external libraries.
This should simplify the use of aubio on platforms such as Android or Windows.
* Existing sources and sinks have been extended to read and write from
and to multiple channels. This makes python-aubio one of the fastest
and most versatile Python module to read and write media files.
This release also comes with a stack of bug fixes and code clean-ups.
- 0.4 is a huge step in this library, as:
* more portable: with no required dependencies, the core of aubio library,
written in ANSI C, is known to compile and run on most modern platforms
(Linux, Windows, Mac OS X, Android, iOS, ...).
* more stable: several bugs fixes and a battery of tests make this new
release more robust and less prone to errors.
* faster: several enhancements to the C library and a brand new Python
interface help make this release orders of magnitude faster than the
previous ones.
- switched from autotools to waf
OBS-URL: https://build.opensuse.org/request/show/243519
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=7
2014-08-04 13:42:08 +02:00
|
|
|
%post -n %{libpkgname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libpkgname} -p /sbin/ldconfig
|
2008-08-01 04:27:15 +02:00
|
|
|
|
Accepting request 243519 from home:coolo:branches:openSUSE:Factory
- update to 0.4.1 (to fix build in Factory):
* The most interesting feature in this release concerns aubiocut.
Thanks to the sponsoring of Mark Suppes, the python script to slice
sound streams was extended to be sample accurate, cut overlapping
segments, and work on multiple channels.
* New source and sink objects have been added to let aubio read and
write WAV files, even when built with no external libraries.
This should simplify the use of aubio on platforms such as Android or Windows.
* Existing sources and sinks have been extended to read and write from
and to multiple channels. This makes python-aubio one of the fastest
and most versatile Python module to read and write media files.
This release also comes with a stack of bug fixes and code clean-ups.
- 0.4 is a huge step in this library, as:
* more portable: with no required dependencies, the core of aubio library,
written in ANSI C, is known to compile and run on most modern platforms
(Linux, Windows, Mac OS X, Android, iOS, ...).
* more stable: several bugs fixes and a battery of tests make this new
release more robust and less prone to errors.
* faster: several enhancements to the C library and a brand new Python
interface help make this release orders of magnitude faster than the
previous ones.
- switched from autotools to waf
OBS-URL: https://build.opensuse.org/request/show/243519
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=7
2014-08-04 13:42:08 +02:00
|
|
|
%files -n %{libpkgname}
|
2008-08-01 04:27:15 +02:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files -n libaubio-devel
|
2018-06-08 18:47:48 +02:00
|
|
|
%doc AUTHORS ChangeLog README.md
|
|
|
|
%license COPYING
|
2008-08-01 04:27:15 +02:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/aubio
|
|
|
|
|
2023-03-14 18:32:01 +01:00
|
|
|
%files docs
|
2015-11-05 13:59:05 +01:00
|
|
|
%doc %{_docdir}/%{name}
|
2023-03-14 18:32:01 +01:00
|
|
|
|
|
|
|
%files tools
|
2015-11-05 13:59:05 +01:00
|
|
|
%{_mandir}/man1/*
|
2008-08-01 04:27:15 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%changelog
|