libaubio/libaubio.spec

170 lines
6.1 KiB
RPMSpec
Raw Permalink Normal View History

%define gittag %(echo %version | cut -d. -f5)
Name: libaubio
Version: 0.4.9.20220125git.8a05420
Release: 1mamba
Summary: A library for audio labelling
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://aubio.org/
Source: https://github.com/aubio/aubio.git/master@%{gittag}/aubio-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libflac-devel
BuildRequires: libjack-devel
BuildRequires: libogg-devel
BuildRequires: librubberband-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libswresample-ffmpeg-devel
BuildRequires: libvorbis-devel
## AUTOBUILDREQ-END
BuildRequires: puredata
BuildRequires: txt2man
%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
%make \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir} \
WAFOPTS="--prefix=%{_prefix} --libdir=%{_libdir}"
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall PREFIX=%{_prefix} LIBDIR=%{_libdir} \
WAFOPTS="--prefix=%{_prefix} --libdir=%{_libdir}"
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_libdir}/libaubio.so.*
%{_mandir}/man1/aubio.1*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/libaubio.a
%{_libdir}/libaubio.so
%dir %{_includedir}/aubio/
%{_includedir}/aubio/*
%{_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/api
%{_docdir}/libaubio-doc/api/*
#%{_docdir}/libaubio-doc/sphinx
%changelog
* Sat Feb 05 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.9.20220125git.8a05420-1mamba
- update to 0.4.9.20220125git.8a05420
* Fri Feb 15 2019 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
- automatic version update by autodist
* Tue Dec 04 2018 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
- automatic version update by autodist
* Thu Sep 27 2018 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba
- automatic version update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
- automatic update by autodist
* 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