libaubio/libaubio.spec

124 lines
4.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: libaubio
Version: 0.3.2
Release: 2mamba
Summary: A library for audio labelling
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://aubio.piem.org/
Source: http://aubio.piem.org/pub/aubio-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libdbus-devel
BuildRequires: libfftw-devel
BuildRequires: libjack-devel
BuildRequires: liblash-devel
BuildRequires: libpython-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: puredata
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
aubio is a library for 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.
The aim of this project is to provide these automatic labelling features to other audio softwares. Functions can be used offline in sound editors and software samplers, or online in audio effects and virtual instruments.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}
%description devel
aubio is a library for 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.
The aim of this project is to provide these automatic labelling features to other audio softwares. Functions can be used offline in sound editors and software samplers, or online in audio effects and virtual instruments.
This package contains static libraries and header files need for development.
%package tools
Group: Applications/Multimedia
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%package -n python-aubio
Group: System/Libraries
Summary: Python bindings to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-aubio
Python bindings to %{name}.
aubio is a library for 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.
The aim of this project is to provide these automatic labelling features to other audio softwares. Functions can be used offline in sound editors and software samplers, or online in audio effects and virtual instruments.
%prep
%setup -q -n aubio-%{version}
%build
%configure \
LIBS="-lm -lpthread"
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%{_libdir}/libaubio.so.*
%{_libdir}/libaubioext.so.*
%{_datadir}/sounds/aubio/woodblock.aiff
%{_prefix}/lib/pd/doc/5.reference/*.pd
%dir %{_prefix}/lib/pd/doc/aubio
%{_prefix}/lib/pd/doc/aubio/onset-cam.pd
%{_prefix}/lib/pd/extra/aubio.pd_linux
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/libaubio.a
%{_libdir}/libaubio.la
%{_libdir}/libaubio.so
%{_libdir}/libaubioext.a
%{_libdir}/libaubioext.la
%{_libdir}/libaubioext.so
%dir %{_includedir}/aubio/
%{_includedir}/aubio/*.h
%{_includedir}/aubio/midi/*.h
%{_libdir}/pkgconfig/aubio.pc
%doc ChangeLog README THANKS TODO
%files tools
%defattr(-,root,root)
%{_bindir}/aubiocut
%{_bindir}/aubionotes
%{_bindir}/aubioonset
%{_bindir}/aubiopitch
%{_bindir}/aubiotrack
%files -n python-aubio
%defattr(-,root,root)
%dir %{python_sitelib}/aubio
%{python_sitelib}/aubio/*
%changelog
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 0.3.2-2mamba
- automatic rebuild by autodist
* Fri Jul 18 2008 gil <puntogil@libero.it> 0.3.2-1mamba
- update to 0.3.2
* Fri May 26 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1qilnx
- package created by autospec