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
8 %bcond_with python # build python bindings
10 Summary: aubio is a library for audio labelling
16 Source0: http://aubio.piem.org/pub/%{name}-%{version}.tar.gz
17 # Source0-md5: ffc3e5e4880fec67064f043252263a44
18 URL: http://aubio.piem.org/
19 BuildRequires: alsa-lib-devel
20 BuildRequires: fftw3-single-devel
21 BuildRequires: jack-audio-connection-kit-devel
22 BuildRequires: libsamplerate-devel
23 BuildRequires: libsndfile-devel
25 BuildRequires: python-devel
26 BuildRequires: swig-python
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 aubio is a library for audio labelling
34 Summary: Header files for aubio library
35 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki aubio
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Header files for aubio library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki aubio.
46 Summary: Static aubio library
47 Summary(pl.UTF-8): Statyczna biblioteka aubio
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
54 %description static -l pl.UTF-8
55 Statyczna biblioteka aubio.
58 Summary: Example applications using aubio library
60 Requires: %{name} = %{version}-%{release}
63 A few examples of applications using aubio library:
64 - aubioonset: outputs the onset detected
65 - aubionotes: uses both onset and pitch to extract symbolic music data
66 from an audio source and emit MIDI like data.
67 - aubiocut: a python script that takes an input sound and creates one
68 new sample at each detected onset or beat. The slices produced by
69 aubiocut are useful for use with a sequencer such as Hydrogen.
70 - aubiopitch: a python script to extract pitch tracks from sound files
72 %package -n python-aubio
73 Summary: aubio python bindings
74 Group: Libraries/Python
75 Requires: %{name} = %{version}-%{release}
77 %description -n python-aubio
78 aubio python bindings.
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README THANKS TODO
105 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib*.so
111 %{_includedir}/%{name}
112 %{_pkgconfigdir}/*.pc
115 %defattr(644,root,root,755)
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/aubionotes
121 %attr(755,root,root) %{_bindir}/aubioonset
122 %attr(755,root,root) %{_bindir}/aubiotrack
124 %attr(755,root,root) %{_bindir}/aubiocut
125 %attr(755,root,root) %{_bindir}/aubiopitch
128 %files -n python-aubio
129 %defattr(644,root,root,755)
130 %{py_sitescriptdir}/aubio