forked from pool/aubio
127 lines
3.0 KiB
RPMSpec
127 lines
3.0 KiB
RPMSpec
|
#
|
||
|
# spec file for package aubio (Version 0.3.2)
|
||
|
#
|
||
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
|
||
|
Name: aubio
|
||
|
Summary: Library for real-time audio labelling
|
||
|
BuildRequires: alsa-devel fftw3-devel libjack-devel
|
||
|
BuildRequires: libsamplerate-devel libsndfile-devel pkg-config python
|
||
|
License: GPL v2 only
|
||
|
Group: System/Libraries
|
||
|
AutoReqProv: on
|
||
|
Version: 0.3.2
|
||
|
Release: 2
|
||
|
Source: %{name}-%{version}.tar.bz2
|
||
|
Url: http://aubio.org
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%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.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Paul Brossier <piem@altern.org>
|
||
|
|
||
|
%package -n libaubio2
|
||
|
License: GPL v2 only
|
||
|
Summary: Library for real-time audio labelling
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libaubio2
|
||
|
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.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Paul Brossier <piem@altern.org>
|
||
|
|
||
|
%package -n libaubio-devel
|
||
|
License: GPL v2 or later
|
||
|
Summary: Development package for aubio library
|
||
|
Group: Development/Libraries/C and C++
|
||
|
Requires: libaubio2 = %{version} glibc-devel
|
||
|
|
||
|
%description -n libaubio-devel
|
||
|
This package contains the files needed to compile programs that use
|
||
|
aubio library.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Paul Brossier <piem@altern.org>
|
||
|
|
||
|
%package tools
|
||
|
License: GPL v2 or later
|
||
|
Summary: Example programs for aubio library
|
||
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||
|
|
||
|
%description tools
|
||
|
This package includes the example programs for aubio library.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Paul Brossier <piem@altern.org>
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
autoreconf -fi
|
||
|
%configure \
|
||
|
--disable-static
|
||
|
make %{?jobs:-j %jobs}
|
||
|
|
||
|
%install
|
||
|
%makeinstall
|
||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.*a
|
||
|
|
||
|
%post -n libaubio2 -p /sbin/ldconfig
|
||
|
|
||
|
%postun -n libaubio2 -p /sbin/ldconfig
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files -n libaubio2
|
||
|
%defattr(-, root, root)
|
||
|
%{_libdir}/lib*.so.*
|
||
|
|
||
|
%files -n libaubio-devel
|
||
|
%defattr(-, root, root)
|
||
|
%doc AUTHORS ChangeLog COPYING README THANKS TODO
|
||
|
%{_libdir}/lib*.so
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
%{_includedir}/aubio
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-, root, root)
|
||
|
%{_bindir}/*
|
||
|
%{_datadir}/sounds/aubio
|
||
|
|
||
|
%changelog
|
||
|
* Wed Jul 16 2008 tiwai@suse.de
|
||
|
- initial version: 0.3.2
|