2 # - unpackaged /usr/share/sounds/aubio/woodblock.aiff
3 # - python package NFY (_aubiowrapper.a in sitescriptdir?)
4 # - create lash.spec (http://www.nongnu.org/lash) and
6 # - package doc and create audacity-plugin
9 %bcond_with python # build python bindings
11 Summary: aubio is a library for audio labelling
17 Source0: http://aubio.piem.org/pub/%{name}-%{version}.tar.gz
18 # Source0-md5: ffc3e5e4880fec67064f043252263a44
19 URL: http://aubio.piem.org/
20 BuildRequires: alsa-lib-devel
21 BuildRequires: fftw3-single-devel
22 BuildRequires: jack-audio-connection-kit-devel
23 BuildRequires: libsamplerate-devel
24 BuildRequires: libsndfile-devel
26 BuildRequires: python-devel
27 BuildRequires: swig-python
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 aubio is a library for audio labelling
35 Summary: Header files for aubio library
36 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki aubio
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 Header files for aubio library.
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki aubio.
47 Summary: Static aubio library
48 Summary(pl.UTF-8): Statyczna biblioteka aubio
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
55 %description static -l pl.UTF-8
56 Statyczna biblioteka aubio.
59 Summary: Example applications using aubio library
61 Requires: %{name} = %{version}-%{release}
64 A few examples of applications using aubio library:
65 - aubioonset: outputs the onset detected
66 - aubionotes: uses both onset and pitch to extract symbolic music data
67 from an audio source and emit MIDI like data.
68 - aubiocut: a python script that takes an input sound and creates one
69 new sample at each detected onset or beat. The slices produced by
70 aubiocut are useful for use with a sequencer such as Hydrogen.
71 - aubiopitch: a python script to extract pitch tracks from sound files
73 %package -n python-aubio
74 Summary: aubio python bindings
75 Group: Libraries/Python
76 Requires: %{name} = %{version}-%{release}
78 %description -n python-aubio
79 aubio python bindings.
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README THANKS TODO
106 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*.so
112 %{_includedir}/%{name}
113 %{_pkgconfigdir}/*.pc
116 %defattr(644,root,root,755)
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_bindir}/aubionotes
122 %attr(755,root,root) %{_bindir}/aubioonset
123 %attr(755,root,root) %{_bindir}/aubiotrack
125 %attr(755,root,root) %{_bindir}/aubiocut
126 %attr(755,root,root) %{_bindir}/aubiopitch
129 %files -n python-aubio
130 %defattr(644,root,root,755)
131 %{py_sitescriptdir}/aubio