]> git.pld-linux.org Git - packages/aubio.git/blame - aubio.spec
- more TODO
[packages/aubio.git] / aubio.spec
CommitLineData
79fb52b2
SS
1# TODO:
2# - unpackaged /usr/share/sounds/aubio/woodblock.aiff
8eebf965 3# - python package NFY (_aubiowrapper.a in sitescriptdir?)
1597cc87
SS
4# - create lash.spec (http://www.nongnu.org/lash) and
5# --enable-lash
34861e54 6# - package doc and create audacity-plugin
79fb52b2 7#
8eebf965
SS
8# Conditional build:
9%bcond_with python # build python bindings
10#
79fb52b2
SS
11Summary: aubio is a library for audio labelling
12Name: aubio
13Version: 0.3.2
14Release: 0.1
15License: GPL v2+
16Group: Libraries
17Source0: http://aubio.piem.org/pub/%{name}-%{version}.tar.gz
18# Source0-md5: ffc3e5e4880fec67064f043252263a44
19URL: http://aubio.piem.org/
20BuildRequires: alsa-lib-devel
21BuildRequires: fftw3-single-devel
22BuildRequires: jack-audio-connection-kit-devel
23BuildRequires: libsamplerate-devel
24BuildRequires: libsndfile-devel
8eebf965
SS
25%if %{with python}
26BuildRequires: python-devel
27BuildRequires: swig-python
28%endif
79fb52b2
SS
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32aubio is a library for audio labelling
33
34%package devel
9d374366
SS
35Summary: Header files for aubio library
36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki aubio
79fb52b2
SS
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39
40%description devel
41Header files for aubio library.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki aubio.
45
46%package static
47Summary: Static aubio library
48Summary(pl.UTF-8): Statyczna biblioteka aubio
49Group: Development/Libraries
50Requires: %{name}-devel = %{version}-%{release}
51
52%description static
53Static aubio library.
54
55%description static -l pl.UTF-8
56Statyczna biblioteka aubio.
57
b9d3858a
SS
58%package progs
59Summary: Example applications using aubio library
60Group: Applications
61Requires: %{name} = %{version}-%{release}
62
63%description progs
64A 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
72
8eebf965
SS
73%package -n python-aubio
74Summary: aubio python bindings
75Group: Libraries/Python
76Requires: %{name} = %{version}-%{release}
77
78%description -n python-aubio
79aubio python bindings.
80
79fb52b2
SS
81%prep
82%setup -q
83
84%build
85%configure \
86 --enable-alsa \
1597cc87 87 --enable-jack
79fb52b2
SS
88
89%{__make}
90
91%install
92rm -rf $RPM_BUILD_ROOT
93
94%{__make} install \
95 DESTDIR=$RPM_BUILD_ROOT
96
79fb52b2
SS
97%clean
98rm -rf $RPM_BUILD_ROOT
99
100%post -p /sbin/ldconfig
101%postun -p /sbin/ldconfig
102
103%files
104%defattr(644,root,root,755)
105%doc AUTHORS ChangeLog NEWS README THANKS TODO
79fb52b2
SS
106%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
107
108%files devel
109%defattr(644,root,root,755)
110%attr(755,root,root) %{_libdir}/lib*.so
111%{_libdir}/lib*.la
112%{_includedir}/%{name}
113%{_pkgconfigdir}/*.pc
114
115%files static
116%defattr(644,root,root,755)
117%{_libdir}/lib*.a
b9d3858a
SS
118
119%files progs
120%defattr(644,root,root,755)
8eebf965
SS
121%attr(755,root,root) %{_bindir}/aubionotes
122%attr(755,root,root) %{_bindir}/aubioonset
123%attr(755,root,root) %{_bindir}/aubiotrack
124%if %{with python}
125%attr(755,root,root) %{_bindir}/aubiocut
126%attr(755,root,root) %{_bindir}/aubiopitch
127%endif
128
129%files -n python-aubio
130%defattr(644,root,root,755)
131%{py_sitescriptdir}/aubio
This page took 0.082166 seconds and 4 git commands to generate.