SHA256
1
0
forked from pool/aubio
aubio/aubio.spec
Takashi Iwai 2a24c78a0a 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 11:42:08 +00:00

112 lines
3.5 KiB
RPMSpec

#
# spec file for package aubio
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: aubio
%define libpkgname libaubio4
Summary: Library for real-time audio labelling
License: GPL-2.0
Group: System/Libraries
BuildRequires: alsa-devel
BuildRequires: fftw3-devel
BuildRequires: libjack-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: pkg-config
BuildRequires: python
Version: 0.4.1
Release: 0
Source: http://aubio.org/pub/%{name}-%{version}.tar.bz2
Source1: http://aubio.org/pub/%{name}-%{version}.tar.bz2.asc
Source99: baselibs.conf
Url: http://aubio.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires %{libpkgname} = %{version}-%{release}
%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.
%package -n %{libpkgname}
Summary: Library for real-time audio labelling
License: GPL-2.0
Group: System/Libraries
%description -n %{libpkgname}
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
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: %{libpkgname} = %{version}
Requires: glibc-devel
%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
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Editors and Convertors
%description tools
This package includes the example programs for aubio library.
%prep
%setup -q
sed -e "s,/lib,/%_lib," src/wscript_build > src/wscript_build.new
diff -u src/wscript_build src/wscript_build.new || :
mv src/wscript_build.new src/wscript_build
%build
./waf configure --prefix=%{_prefix} --libdir=%{_libdir}
./waf build
%install
./waf install --destdir=%{buildroot}
rm %{buildroot}/%{_libdir}/libaubio.a
%post -n %{libpkgname} -p /sbin/ldconfig
%postun -n %{libpkgname} -p /sbin/ldconfig
%files -n %{libpkgname}
%defattr(-, root, root)
%{_libdir}/lib*.so.*
%files -n libaubio-devel
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING README.md
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/aubio
%files tools
%defattr(-, root, root)
%{_bindir}/*
%changelog