libaubio/libaubio.spec

166 lines
5.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: libaubio
Version: 0.4.4
Release: 1mamba
Summary: A library for audio labelling
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://aubio.org/
Source: http://aubio.org/pub/aubio-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavresample-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libjack-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
## AUTOBUILDREQ-END
BuildRequires: puredata
BuildRequires: txt2man
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.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%prep
%setup -q -n aubio-%{version}
%build
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir}
./waf %{?_smp_mflags} build
#% configure \
# LIBS="-lm -lpthread"
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
./waf install \
--libdir=%{_libdir} \
--destdir=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_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/*
#%{_includedir}/aubio/midi/*.h
%{_libdir}/pkgconfig/aubio.pc
%doc ChangeLog
%files tools
%defattr(-,root,root)
#%{_bindir}/aubiocut
%{_bindir}/aubiomfcc
%{_bindir}/aubionotes
%{_bindir}/aubioonset
%{_bindir}/aubiopitch
%{_bindir}/aubioquiet
%{_bindir}/aubiotrack
%{_mandir}/man1/aubiocut.1*
%{_mandir}/man1/aubiomfcc.1*
%{_mandir}/man1/aubionotes.1*
%{_mandir}/man1/aubioonset.1*
%{_mandir}/man1/aubiopitch.1*
%{_mandir}/man1/aubioquiet.1*
%{_mandir}/man1/aubiotrack.1*
#%files -n python-aubio
#%defattr(-,root,root)
#%dir %{python_sitelib}/aubio
#%{python_sitelib}/aubio/*
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/libaubio-doc
%dir %{_docdir}/libaubio-doc/html
%{_docdir}/libaubio-doc/html/*
%{_docdir}/libaubio-doc/sphinx
%changelog
* Fri Jan 27 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-1mamba
- update to 0.4.4
* Tue Sep 15 2015 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
- automatic version update by autodist
* Tue Apr 01 2014 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist
* Sat Feb 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
- update to 0.4.0
* 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