1 |
colin |
559066 |
%define fullgit 2747c961015ba00ec9a1cad8a8a95b4a34db9ee0 |
2 |
fwang |
599292 |
%define git 0 |
3 |
colin |
565801 |
%define rel 1 |
4 |
colin |
214 |
%if %{git} |
5 |
|
|
%define release %mkrel 0.%{git}.%rel |
6 |
|
|
%else |
7 |
|
|
%define release %mkrel %rel |
8 |
|
|
%endif |
9 |
|
|
|
10 |
colin |
51778 |
%define bootstrap 0 |
11 |
colin |
214 |
%{?_without_bootstrap: %global bootstrap 0} |
12 |
|
|
%{?_with_bootstrap: %global bootstrap 1} |
13 |
|
|
|
14 |
|
|
# (cg) Lennart has introduced a circular dependancy in the libraries |
15 |
|
|
# libpulse requires libpulsecommon but libpulsecommon requires libpulse. |
16 |
|
|
# This breaks no-undefined. |
17 |
|
|
# Further issues in some test apps (maybe more) require that disabling |
18 |
|
|
# as-needed is also required. |
19 |
|
|
%define _disable_ld_no_undefined 1 |
20 |
|
|
%define _requires_exceptions devel(libpulsecommon |
21 |
|
|
|
22 |
|
|
# Majors |
23 |
|
|
%define major 0 |
24 |
|
|
%define zeroconfmajor 0 |
25 |
|
|
%define glib2major 0 |
26 |
colin |
495244 |
%define apiver 5.0 |
27 |
colin |
214 |
|
28 |
|
|
# Library names |
29 |
|
|
%define libname %mklibname %{name} %{major} |
30 |
|
|
%define libname_devel %mklibname -d %{name} |
31 |
|
|
|
32 |
|
|
%define glib2libname %mklibname pulseglib2 %{glib2major} |
33 |
|
|
|
34 |
colin |
223043 |
# API libs (not real shared libs - mostly private but needed by other libs and server) |
35 |
|
|
%define corelibname %mklibname pulsecore %{apiver} |
36 |
|
|
%define commonlibname %mklibname pulsecommon %{apiver} |
37 |
colin |
214 |
|
38 |
colin |
223043 |
|
39 |
colin |
214 |
Summary: Sound server for Linux |
40 |
ovitters |
648084 |
Name: pulseaudio |
41 |
|
|
Version: 5.0 |
42 |
colin |
214 |
Release: %{release} |
43 |
|
|
%if %{git} |
44 |
colin |
149319 |
Source0: %{name}-%{version}-%{fullgit}.tar.xz |
45 |
colin |
214 |
%else |
46 |
colin |
227360 |
Source0: http://freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz |
47 |
colin |
214 |
%endif |
48 |
|
|
Source1: %{name}.sysconfig |
49 |
|
|
Source2: %{name}.xinit |
50 |
|
|
# (cg) We have to ship an esd.conf file with auto_spawn=0 to stop |
51 |
|
|
# libesound from.... you guessed it... auto spawning. |
52 |
|
|
Source3: esd.conf |
53 |
|
|
Source4: %{name}.svg |
54 |
|
|
|
55 |
|
|
|
56 |
|
|
# (cg) Using git to manage patches |
57 |
|
|
# To recreate the structure |
58 |
|
|
# git clone git://git.0pointer.de/pulseaudio |
59 |
colin |
155080 |
# git checkout v1.0 |
60 |
|
|
# git checkout -b mdv-1.x-cherry-picks |
61 |
colin |
214 |
# git am 00*.patch |
62 |
colin |
155080 |
# git checkout -b mga-1.x-patches |
63 |
colin |
214 |
# git am 05*.patch |
64 |
|
|
|
65 |
|
|
# To apply new custom patches |
66 |
colin |
155080 |
# git checkout mga-1.x-patches |
67 |
colin |
214 |
# (do stuff) |
68 |
|
|
|
69 |
|
|
# To apply new cherry-picks |
70 |
colin |
155080 |
# git checkout mdv-1.x-cherry-picks |
71 |
colin |
214 |
# git cherry-pick <blah> |
72 |
colin |
155080 |
# git checkout mga-1.x-patches |
73 |
|
|
# git rebase mdv-1.x-cherry-picks |
74 |
colin |
214 |
|
75 |
|
|
# Stable Branch Patches |
76 |
colin |
155080 |
# git format-patch --start-number 100 v1.0..stable-1.x |
77 |
colin |
214 |
|
78 |
|
|
# Mandriva Patches |
79 |
colin |
155080 |
# git format-patch --start-number 500 table-1.x..mga-1.x-patches |
80 |
colin |
214 |
Patch500: 0500-Customise-startup-so-we-can-easily-disable-PA.patch |
81 |
|
|
Patch501: 0501-Some-customisations-to-esdcompat-in-order-to-adhere-.patch |
82 |
colin |
495244 |
Patch502: 0502-Apply-startup-customisation-to-new-KDE-module.patch |
83 |
colin |
214 |
|
84 |
|
|
# Airtunes links to OpenSSL which is BSD-like and should be reflected here |
85 |
|
|
License: LGPL and BSD-like |
86 |
colin |
298651 |
Group: Sound/Mixers |
87 |
colin |
214 |
Url: http://pulseaudio.org/ |
88 |
|
|
BuildRequires: glib2-devel |
89 |
|
|
BuildRequires: libcap-devel |
90 |
|
|
BuildRequires: libsndfile-devel |
91 |
|
|
BuildRequires: libsamplerate-devel |
92 |
|
|
BuildRequires: libalsa-devel |
93 |
|
|
BuildRequires: libavahi-client-devel |
94 |
|
|
BuildRequires: libGConf2-devel |
95 |
|
|
BuildRequires: libwrap-devel |
96 |
colin |
437146 |
BuildRequires: pkgconfig(x11) |
97 |
|
|
BuildRequires: pkgconfig(x11-xcb) |
98 |
|
|
BuildRequires: pkgconfig(xcb) |
99 |
|
|
BuildRequires: pkgconfig(xcb-util) |
100 |
|
|
BuildRequires: pkgconfig(ice) |
101 |
|
|
BuildRequires: pkgconfig(sm) |
102 |
|
|
BuildRequires: pkgconfig(xtst) |
103 |
colin |
214 |
BuildRequires: udev-devel |
104 |
|
|
#gw libtool dep: |
105 |
|
|
BuildRequires: dbus-glib-devel |
106 |
|
|
BuildRequires: doxygen |
107 |
|
|
BuildRequires: automake1.8 |
108 |
|
|
BuildRequires: libltdl-devel |
109 |
|
|
BuildRequires: libatomic_ops-devel |
110 |
|
|
BuildRequires: gettext-devel |
111 |
dmorgan |
16615 |
BuildRequires: libjack-devel |
112 |
|
|
BuildRequires: lirc-devel |
113 |
colin |
214 |
%if !%bootstrap |
114 |
|
|
BuildRequires: bluez-devel |
115 |
|
|
%endif |
116 |
|
|
BuildRequires: tdb-devel |
117 |
|
|
BuildRequires: speex-devel |
118 |
|
|
# (cg) Needed for airtunes |
119 |
|
|
BuildRequires: openssl-devel |
120 |
|
|
BuildRequires: polkit-1-devel |
121 |
|
|
BuildRequires: libasyncns-devel |
122 |
|
|
BuildRequires: intltool |
123 |
|
|
BuildRequires: imagemagick |
124 |
colin |
131438 |
BuildRequires: libjson-devel |
125 |
colin |
131439 |
BuildRequires: liborc-devel |
126 |
|
|
BuildRequires: libfftw-devel |
127 |
rtp |
304289 |
%ifarch %{ix86} x86_64 ia64 |
128 |
colin |
223043 |
BuildRequires: xen-devel |
129 |
rtp |
304289 |
%endif |
130 |
colin |
307279 |
BuildRequires: pkgconfig(webrtc-audio-processing) |
131 |
colin |
330111 |
BuildRequires: pkgconfig(sbc) |
132 |
colin |
214 |
|
133 |
|
|
Provides: polypaudio |
134 |
|
|
Obsoletes: polypaudio |
135 |
|
|
# (cg) This is for the backport of 0.9.7 to 2008 |
136 |
|
|
# pulseaudio fails when using older versions of libtool |
137 |
|
|
Requires: libltdl >= 1.5.24 |
138 |
|
|
# (cg) Just incase people backport, require specific udev |
139 |
|
|
Requires: udev >= 143 |
140 |
|
|
Requires: rtkit |
141 |
|
|
Requires(post): ccp |
142 |
|
|
# (cg) When upgrading from pa < 0.9.7-1 things break due to spec restructure |
143 |
|
|
Conflicts: %{libname} < 0.9.7-2 |
144 |
|
|
|
145 |
|
|
%description |
146 |
|
|
pulseaudio is a sound server for Linux and other Unix like operating |
147 |
|
|
systems. It is intended to be an improved drop-in replacement for the |
148 |
|
|
Enlightened Sound Daemon (EsounD). In addition to the features EsounD |
149 |
|
|
provides pulseaudio has: |
150 |
|
|
* Extensible plugin architecture (by loading dynamic loadable |
151 |
|
|
modules with dlopen()) |
152 |
|
|
* Support for more than one sink/source |
153 |
|
|
* Better low latency behaviour |
154 |
|
|
* Embedabble into other software (the core is available as C |
155 |
|
|
library) |
156 |
|
|
* Completely asynchronous C API |
157 |
|
|
* Simple command line interface for reconfiguring the daemon while |
158 |
|
|
running |
159 |
|
|
* Flexible, implicit sample type conversion and resampling |
160 |
|
|
* "Zero-Copy" architecture |
161 |
|
|
* Module autoloading |
162 |
|
|
* Very accurate latency measurement for playback and recording. |
163 |
|
|
* May be used to combine multiple sound cards to one (with sample |
164 |
|
|
rate adjustment) |
165 |
|
|
* Client side latency interpolation |
166 |
|
|
|
167 |
|
|
%post |
168 |
|
|
ccp -i -d --set NoOrphans --oldfile %{_sysconfdir}/pulse/daemon.conf --newfile %{_sysconfdir}/pulse/daemon.conf.rpmnew |
169 |
colin |
223043 |
# (cg) For upgrade between 1.x -> 2.x |
170 |
colin |
288289 |
if grep -q module-cork-music-on-phone %{_sysconfdir}/pulse/default.pa; then |
171 |
colin |
223043 |
sed -i 's/module-cork-music-on-phone/module-role-cork/' %{_sysconfdir}/pulse/default.pa |
172 |
|
|
fi |
173 |
colin |
214 |
|
174 |
|
|
|
175 |
|
|
%package -n %{libname} |
176 |
|
|
Summary: Libraries for PulseAudio clients |
177 |
|
|
Group: System/Libraries |
178 |
|
|
Requires: %{name}-client-config |
179 |
|
|
Suggests: %{mklibname alsa-plugins}-pulseaudio |
180 |
|
|
%ifarch x86_64 |
181 |
|
|
# (cg) Suggest the 32 bit library on 64 bits to ensure compatibility |
182 |
|
|
# with (typically closed source) 32 bit apps. |
183 |
|
|
Suggests: lib%{name}%{major} |
184 |
|
|
%endif |
185 |
colin |
223043 |
# (cg) Deprecated in PA 1.0 - Make upgrade smoother :) |
186 |
|
|
Obsoletes: %mklibname pulsezeroconf 0 |
187 |
colin |
214 |
|
188 |
|
|
%description -n %{libname} |
189 |
|
|
This package contains the runtime libraries for any application that wishes |
190 |
|
|
to interface with a PulseAudio sound server. |
191 |
|
|
|
192 |
colin |
223043 |
%package -n %{corelibname} |
193 |
|
|
Summary: Core Library for PulseAudio |
194 |
|
|
Group: System/Libraries |
195 |
|
|
Obsoletes: %mklibname pulsezeroconf 0 |
196 |
colin |
214 |
|
197 |
colin |
223043 |
%description -n %{corelibname} |
198 |
|
|
This package contains a library needed by the PulseAudio sound server and modules. |
199 |
|
|
|
200 |
|
|
%package -n %{commonlibname} |
201 |
|
|
Summary: Common Library for PulseAudio |
202 |
|
|
Group: System/Libraries |
203 |
|
|
|
204 |
|
|
%description -n %{commonlibname} |
205 |
|
|
This package contains a library needed by the PulseAudio sound server, modules and |
206 |
|
|
clients. |
207 |
|
|
|
208 |
|
|
|
209 |
colin |
214 |
%define alt_name soundprofile |
210 |
|
|
%define alt_priority 20 |
211 |
|
|
|
212 |
|
|
%package client-config |
213 |
|
|
Summary: Client configuration for PulseAudio clients |
214 |
|
|
Group: System/Libraries |
215 |
eatdirt |
168923 |
# (eatdirt) Otherwise may trigger bug 2966 |
216 |
|
|
Requires: alsa-plugins-pulse-config |
217 |
colin |
214 |
Requires(post): ccp |
218 |
|
|
Requires(post): update-alternatives |
219 |
|
|
Requires(postun): update-alternatives |
220 |
|
|
Conflicts: %{name} < 0.9.16-0.20090816.1 |
221 |
|
|
# (cg) Adding the obsoletes here as this package is almost always installed |
222 |
|
|
# and doing it in task-pulseaudio would cause it to be installed when not needed. |
223 |
|
|
# Flash plugin support pulse natively and libflashsupport now causes more |
224 |
|
|
# problems than it fixes |
225 |
|
|
Obsoletes: libflashsupport |
226 |
|
|
|
227 |
|
|
%description client-config |
228 |
|
|
This package contains the client configuration files for any application that wishes |
229 |
|
|
to interface with a PulseAudio sound server. |
230 |
|
|
|
231 |
|
|
|
232 |
|
|
%post client-config |
233 |
|
|
%{_sbindir}/update-alternatives \ |
234 |
|
|
--install %{_sysconfdir}/sound/profiles/current %{alt_name} %{_sysconfdir}/sound/profiles/pulse %{alt_priority} |
235 |
|
|
ccp -i -d --set NoOrphans --oldfile %{_sysconfdir}/pulse/client.conf --newfile %{_sysconfdir}/pulse/client.conf.rpmnew |
236 |
|
|
|
237 |
|
|
%postun client-config |
238 |
|
|
if [ ! -f %{_sysconfdir}/sound/profiles/pulse/profile.conf ]; then |
239 |
|
|
/usr/sbin/update-alternatives --remove %{alt_name} %{_sysconfdir}/sound/profiles/pulse |
240 |
|
|
fi |
241 |
|
|
|
242 |
|
|
|
243 |
|
|
%package -n %{glib2libname} |
244 |
|
|
Summary: GLIB 2.x bindings for PulseAudio clients |
245 |
|
|
Group: System/Libraries |
246 |
|
|
|
247 |
|
|
%description -n %{glib2libname} |
248 |
|
|
This package contains bindings to integrate the PulseAudio client library with |
249 |
|
|
a GLIB 2.x based application. |
250 |
|
|
|
251 |
|
|
|
252 |
|
|
%package -n %{libname_devel} |
253 |
|
|
Summary: Headers and libraries for PulseAudio client development |
254 |
|
|
Group: Development/C |
255 |
|
|
Requires: %{libname} = %{version}-%{release} |
256 |
|
|
Requires: %{glib2libname} = %{version}-%{release} |
257 |
|
|
Provides: lib%{name}-devel = %{version}-%{release} |
258 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
259 |
|
|
Obsoletes: %mklibname -d %{name} %{major} |
260 |
|
|
|
261 |
|
|
%description -n %{libname_devel} |
262 |
|
|
Headers and libraries for developing applications that can communicate with |
263 |
|
|
a PulseAudio sound server. |
264 |
|
|
|
265 |
|
|
|
266 |
|
|
%package esound-compat |
267 |
|
|
Summary: PulseAudio EsounD daemon compatibility script |
268 |
colin |
298651 |
Group: Sound/Mixers |
269 |
colin |
214 |
Requires: %{name} = %{version}-%{release} |
270 |
|
|
Provides: esound |
271 |
|
|
Obsoletes: esound < 0.2.38-5mdv |
272 |
|
|
Conflicts: esound-daemon |
273 |
|
|
Obsoletes: esound-daemon |
274 |
|
|
|
275 |
|
|
%description esound-compat |
276 |
|
|
A compatibility script that allows applications to call /usr/bin/esd |
277 |
|
|
and start PulseAudio with EsounD protocol modules. |
278 |
|
|
|
279 |
|
|
|
280 |
|
|
%package module-lirc |
281 |
|
|
Summary: LIRC support for the PulseAudio sound server |
282 |
colin |
298651 |
Group: Sound/Mixers |
283 |
colin |
214 |
Requires: %{name} = %{version}-%{release} |
284 |
|
|
|
285 |
|
|
%description module-lirc |
286 |
|
|
LIRC volume control module for the PulseAudio sound server. |
287 |
|
|
|
288 |
|
|
%if !%bootstrap |
289 |
|
|
%package module-bluetooth |
290 |
|
|
Summary: Bluetooth support for the PulseAudio sound server |
291 |
colin |
298651 |
Group: Sound/Mixers |
292 |
colin |
214 |
Requires: %{name} = %{version}-%{release} |
293 |
|
|
|
294 |
|
|
%description module-bluetooth |
295 |
|
|
Bluetooth modules for the PulseAudio sound server to provide support |
296 |
|
|
for headsets and proximity detection. |
297 |
|
|
%endif |
298 |
|
|
|
299 |
|
|
%package module-x11 |
300 |
|
|
Summary: X11 support for the PulseAudio sound server |
301 |
colin |
298651 |
Group: Sound/Mixers |
302 |
colin |
214 |
Requires: %{name} = %{version}-%{release} |
303 |
boklm |
454276 |
Requires: %{name}-utils = %{version}-%{release} |
304 |
colin |
214 |
|
305 |
|
|
%description module-x11 |
306 |
|
|
X11 bell and security modules for the PulseAudio sound server. |
307 |
|
|
|
308 |
|
|
%package module-zeroconf |
309 |
|
|
Summary: Zeroconf support for the PulseAudio sound server |
310 |
colin |
298651 |
Group: Sound/Mixers |
311 |
colin |
214 |
Requires: %{name} = %{version}-%{release} |
312 |
|
|
|
313 |
|
|
%description module-zeroconf |
314 |
|
|
Zeroconf publishing module for the PulseAudio sound server. |
315 |
|
|
|
316 |
|
|
%package module-jack |
317 |
|
|
Summary: JACK support for the PulseAudio sound server |
318 |
colin |
298651 |
Group: Sound/Mixers |
319 |
colin |
214 |
Requires: %{name} = %{version}-%{release} |
320 |
|
|
|
321 |
|
|
%description module-jack |
322 |
|
|
JACK sink and source modules for the PulseAudio sound server. |
323 |
|
|
|
324 |
|
|
%package module-gconf |
325 |
|
|
Summary: GConf support for the PulseAudio sound server |
326 |
colin |
298651 |
Group: Sound/Mixers |
327 |
colin |
214 |
Requires: %{name} = %{version}-%{release} |
328 |
|
|
|
329 |
|
|
%description module-gconf |
330 |
|
|
GConf configuration backend for the PulseAudio sound server. |
331 |
|
|
|
332 |
colin |
131434 |
%package module-equalizer |
333 |
|
|
Summary: Equalizer support for the PulseAudio sound server |
334 |
colin |
298651 |
Group: Sound/Mixers |
335 |
colin |
131434 |
Requires: %{name} = %{version}-%{release} |
336 |
colin |
214 |
|
337 |
colin |
131434 |
%description module-equalizer |
338 |
|
|
Equalizer support and GUI for the PulseAudio sound server. |
339 |
|
|
|
340 |
rtp |
304289 |
%ifarch %{ix86} x86_64 ia64 |
341 |
colin |
223043 |
%package module-xen |
342 |
|
|
Summary: Xen guest support for the PulseAudio sound server |
343 |
colin |
298651 |
Group: Sound/Mixers |
344 |
colin |
223043 |
Requires: %{name} = %{version}-%{release} |
345 |
|
|
|
346 |
|
|
%description module-xen |
347 |
|
|
Xen guest support for the PulseAudio sound server. |
348 |
rtp |
304289 |
%endif |
349 |
colin |
223043 |
|
350 |
colin |
214 |
%package utils |
351 |
|
|
Summary: PulseAudio sound server utilities |
352 |
colin |
298651 |
Group: Sound/Utilities |
353 |
colin |
214 |
|
354 |
|
|
%description utils |
355 |
|
|
This package contains command line utilities for the PulseAudio sound server. |
356 |
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
|
|
%prep |
361 |
|
|
%if %{git} |
362 |
colin |
131434 |
%setup -q -n %{name}-%{version}-%{fullgit} |
363 |
colin |
214 |
%else |
364 |
|
|
%setup -q -n %{name}-%{version} |
365 |
|
|
%endif |
366 |
|
|
|
367 |
|
|
%apply_patches |
368 |
|
|
|
369 |
|
|
# (cg) If autoconf is retriggered (which can happen automatically) we need this file. |
370 |
|
|
cat >git-version-gen <<EOF |
371 |
|
|
#!/bin/bash |
372 |
colin |
131434 |
echo -n %{version}.0-%{release} |
373 |
colin |
214 |
EOF |
374 |
|
|
chmod a+x git-version-gen |
375 |
|
|
|
376 |
colin |
155080 |
#%if %{git} |
377 |
colin |
214 |
echo "clean:" > Makefile |
378 |
|
|
./bootstrap.sh -V |
379 |
colin |
155080 |
#%endif |
380 |
colin |
214 |
|
381 |
|
|
%build |
382 |
|
|
%configure2_5x \ |
383 |
rtp |
335678 |
%ifarch %arm |
384 |
|
|
--disable-neon-opt \ |
385 |
|
|
%endif |
386 |
colin |
495244 |
%if !%bootstrap |
387 |
|
|
--enable-bluez5 \ |
388 |
|
|
%endif |
389 |
|
|
--disable-bluez4 |
390 |
colin |
214 |
|
391 |
colin |
437157 |
|
392 |
colin |
214 |
%make |
393 |
|
|
make doxygen |
394 |
|
|
|
395 |
|
|
%install |
396 |
|
|
%makeinstall_std |
397 |
|
|
|
398 |
|
|
install -D -m 0644 %{_sourcedir}/%{name}.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
399 |
|
|
install -D -m 0755 %{_sourcedir}/%{name}.xinit %{buildroot}%{_sysconfdir}/X11/xinit.d/50%{name} |
400 |
|
|
install -D -m 0755 %{_sourcedir}/esd.conf %{buildroot}%{_sysconfdir}/ |
401 |
|
|
|
402 |
|
|
install -D -m 0644 %{_sourcedir}/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
403 |
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/devices |
404 |
|
|
ln -s ../apps/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/devices/audio-backend-pulseaudio.svg |
405 |
|
|
for size in 16 22 32 48 64 128; do |
406 |
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/{apps,devices} |
407 |
|
|
convert -geometry ${size}x${size} %{_sourcedir}/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png |
408 |
|
|
ln -s ../apps/%{name}.png %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/devices/audio-backend-pulseaudio.png |
409 |
|
|
done |
410 |
|
|
|
411 |
|
|
# Remove static and metalink libraries |
412 |
|
|
find %{buildroot} \( -name *.a -o -name *.la \) -exec rm {} \; |
413 |
|
|
|
414 |
|
|
# Fix esd |
415 |
|
|
ln -s esdcompat %{buildroot}%{_bindir}/esd |
416 |
|
|
|
417 |
|
|
# (cg) For sound profile support |
418 |
|
|
mkdir -p %{buildroot}%{_sysconfdir}/sound/profiles/pulse |
419 |
|
|
echo "SOUNDPROFILE=pulse" >%{buildroot}%{_sysconfdir}/sound/profiles/pulse/profile.conf |
420 |
|
|
|
421 |
|
|
# (cg) HAL support is no longer the default, and we don't officially support system wide, so |
422 |
|
|
# System Wide + HAL is pretty unlikely. |
423 |
|
|
rm -f %{buildroot}%{_sysconfdir}/dbus-1/system.d/%{name}-system.conf |
424 |
|
|
|
425 |
colin |
283680 |
# (cg) We require systemd now, so no point in using CK |
426 |
|
|
rm -f %{buildroot}%{_libdir}/pulse-%{apiver}/modules/module-console-kit.so |
427 |
|
|
|
428 |
colin |
214 |
# (cg) Disable x11-cork-request... it should be ahndled in the apps as we cannot |
429 |
|
|
# maintain state via this mechanism. Should be a patch, but I'm lazy. |
430 |
|
|
sed -i 's,\(/usr/bin/pactl load-module module-x11-cork-request\),#\1,' %{buildroot}%{_bindir}/start-pulseaudio-x11 |
431 |
|
|
|
432 |
|
|
%find_lang %{name} |
433 |
|
|
|
434 |
|
|
%files -f %{name}.lang |
435 |
|
|
%doc README |
436 |
colin |
288289 |
%dir %{_sysconfdir}/pulse |
437 |
colin |
214 |
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf |
438 |
|
|
%config(noreplace) %{_sysconfdir}/pulse/default.pa |
439 |
|
|
%config(noreplace) %{_sysconfdir}/pulse/system.pa |
440 |
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
441 |
|
|
%{_bindir}/%{name} |
442 |
|
|
%{_mandir}/man1/%{name}.1.* |
443 |
|
|
%{_mandir}/man5/pulse-client.conf.5.* |
444 |
|
|
%{_mandir}/man5/pulse-daemon.conf.5.* |
445 |
|
|
%{_mandir}/man5/default.pa.5.* |
446 |
colin |
235384 |
%{_mandir}/man5/pulse-cli-syntax.5.* |
447 |
wally |
262754 |
%{_datadir}/icons/hicolor/*/*/* |
448 |
colin |
214 |
%dir %{_datadir}/%{name}/ |
449 |
|
|
%{_datadir}/%{name}/alsa-mixer |
450 |
|
|
/lib/udev/rules.d/90-pulseaudio.rules |
451 |
colin |
168918 |
%dir %{_libdir}/pulse-%{apiver} |
452 |
|
|
%dir %{_libdir}/pulse-%{apiver}/modules |
453 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/libalsa-util.so |
454 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libcli.so |
455 |
|
|
%{_libdir}/pulse-%{apiver}/modules/liboss-util.so |
456 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libprotocol-cli.so |
457 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libprotocol-esound.so |
458 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libprotocol-http.so |
459 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libprotocol-native.so |
460 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libprotocol-simple.so |
461 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libraop.so |
462 |
|
|
%{_libdir}/pulse-%{apiver}/modules/librtp.so |
463 |
colin |
307279 |
%{_libdir}/pulse-%{apiver}/modules/libwebrtc-util.so |
464 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-card.so |
465 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-alsa-sink.so |
466 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-alsa-source.so |
467 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-always-sink.so |
468 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-augment-properties.so |
469 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-card-restore.so |
470 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-cli-protocol-tcp.so |
471 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-cli-protocol-unix.so |
472 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-cli.so |
473 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-combine.so |
474 |
colin |
131434 |
%{_libdir}/pulse-%{apiver}/modules/module-combine-sink.so |
475 |
colin |
223043 |
%{_libdir}/pulse-%{apiver}/modules/module-role-cork.so |
476 |
colin |
283680 |
%{_libdir}/pulse-%{apiver}/modules/module-systemd-login.so |
477 |
colin |
131434 |
%{_libdir}/pulse-%{apiver}/modules/module-dbus-protocol.so |
478 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-detect.so |
479 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-device-manager.so |
480 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-device-restore.so |
481 |
colin |
90166 |
%{_libdir}/pulse-%{apiver}/modules/module-echo-cancel.so |
482 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-esound-compat-spawnfd.so |
483 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-esound-compat-spawnpid.so |
484 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-esound-protocol-tcp.so |
485 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-esound-protocol-unix.so |
486 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-esound-sink.so |
487 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-hal-detect.so |
488 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-http-protocol-tcp.so |
489 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-http-protocol-unix.so |
490 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-intended-roles.so |
491 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-loopback.so |
492 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-match.so |
493 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-mmkbd-evdev.so |
494 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-native-protocol-fd.so |
495 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-native-protocol-tcp.so |
496 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-native-protocol-unix.so |
497 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-null-sink.so |
498 |
colin |
131434 |
%{_libdir}/pulse-%{apiver}/modules/module-null-source.so |
499 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-oss.so |
500 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-pipe-sink.so |
501 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-pipe-source.so |
502 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-raop-sink.so |
503 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-rygel-media-server.so |
504 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-position-event-sounds.so |
505 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-rescue-streams.so |
506 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-rtp-recv.so |
507 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-rtp-send.so |
508 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-simple-protocol-tcp.so |
509 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-simple-protocol-unix.so |
510 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-sine.so |
511 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-sine-source.so |
512 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-sink.so |
513 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-source.so |
514 |
colin |
495244 |
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-sink-new.so |
515 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-source-new.so |
516 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-udev-detect.so |
517 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-volume-restore.so |
518 |
colin |
131434 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-sink.so |
519 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-virtual-source.so |
520 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-stream-restore.so |
521 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-suspend-on-idle.so |
522 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-default-device-restore.so |
523 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-ladspa-sink.so |
524 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-remap-sink.so |
525 |
colin |
437145 |
%{_libdir}/pulse-%{apiver}/modules/module-remap-source.so |
526 |
colin |
131434 |
%{_libdir}/pulse-%{apiver}/modules/module-switch-on-connect.so |
527 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-filter-apply.so |
528 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-filter-heuristics.so |
529 |
colin |
223043 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-surround-sink.so |
530 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-switch-on-port-available.so |
531 |
colin |
437145 |
%{_libdir}/pulse-%{apiver}/modules/module-role-ducking.so |
532 |
colin |
214 |
|
533 |
|
|
|
534 |
|
|
%files -n %{libname} |
535 |
|
|
%{_libdir}/libpulse.so.%{major}* |
536 |
|
|
%{_libdir}/libpulse-simple.so.%{major}* |
537 |
colin |
223043 |
%dir %{_libdir}/%{name} |
538 |
colin |
214 |
# (cg) Although the following is not a shared library, putting this file here |
539 |
|
|
# will allow padsp to work on dual arch machines... (e.g. using padsp to start |
540 |
|
|
# a 32-bit app). |
541 |
colin |
223043 |
%{_libdir}/%{name}/libpulsedsp.so |
542 |
colin |
214 |
|
543 |
colin |
223043 |
%files -n %{corelibname} |
544 |
|
|
%{_libdir}/libpulsecore-%{apiver}.so |
545 |
colin |
214 |
|
546 |
colin |
223043 |
%files -n %{commonlibname} |
547 |
|
|
%dir %{_libdir}/%{name} |
548 |
|
|
%{_libdir}/%{name}/libpulsecommon-%{apiver}.so |
549 |
|
|
|
550 |
colin |
214 |
%files client-config |
551 |
colin |
288289 |
%dir %{_sysconfdir}/pulse |
552 |
colin |
214 |
%config(noreplace) %{_sysconfdir}/pulse/client.conf |
553 |
|
|
%dir %{_sysconfdir}/sound/profiles/pulse |
554 |
|
|
%{_sysconfdir}/sound/profiles/pulse/profile.conf |
555 |
|
|
|
556 |
|
|
|
557 |
|
|
%files -n %{glib2libname} |
558 |
|
|
%{_libdir}/libpulse-mainloop-glib.so.%{glib2major}* |
559 |
|
|
|
560 |
|
|
%files -n %{libname_devel} |
561 |
|
|
%doc doxygen/html |
562 |
|
|
%{_libdir}/libpulse.so |
563 |
|
|
%{_libdir}/libpulse-mainloop-glib.so |
564 |
|
|
%{_libdir}/libpulse-simple.so |
565 |
|
|
%dir %{_includedir}/pulse |
566 |
|
|
%{_includedir}/pulse/*.h |
567 |
|
|
%{_libdir}/pkgconfig/*.pc |
568 |
colin |
156876 |
%{_libdir}/cmake/PulseAudio |
569 |
colin |
90166 |
%{_datadir}/vala/vapi/libpulse.deps |
570 |
colin |
214 |
%{_datadir}/vala/vapi/libpulse.vapi |
571 |
colin |
90166 |
%{_datadir}/vala/vapi/libpulse-mainloop-glib.deps |
572 |
|
|
%{_datadir}/vala/vapi/libpulse-mainloop-glib.vapi |
573 |
colin |
214 |
|
574 |
|
|
|
575 |
|
|
%files esound-compat |
576 |
|
|
%config(noreplace) %{_sysconfdir}/esd.conf |
577 |
|
|
%{_bindir}/esdcompat |
578 |
|
|
%{_bindir}/esd |
579 |
|
|
%{_mandir}/man1/esdcompat.1.* |
580 |
|
|
|
581 |
|
|
%if !%bootstrap |
582 |
|
|
%files module-bluetooth |
583 |
colin |
495244 |
%{_libdir}/pulse-%{apiver}/modules/libbluez5-util.so |
584 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-discover.so |
585 |
colin |
330111 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-policy.so |
586 |
colin |
495244 |
%{_libdir}/pulse-%{apiver}/modules/module-bluez5-device.so |
587 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-bluez5-discover.so |
588 |
colin |
214 |
%endif |
589 |
|
|
|
590 |
|
|
|
591 |
|
|
%files module-lirc |
592 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-lirc.so |
593 |
|
|
|
594 |
|
|
%files module-x11 |
595 |
|
|
%{_sysconfdir}/X11/xinit.d/50%{name} |
596 |
|
|
%{_bindir}/pax11publish |
597 |
|
|
%{_bindir}/start-pulseaudio-x11 |
598 |
|
|
%{_bindir}/start-pulseaudio-kde |
599 |
|
|
%{_mandir}/man1/pax11publish.1.* |
600 |
colin |
131434 |
%{_mandir}/man1/start-pulseaudio-x11.1.* |
601 |
|
|
%{_mandir}/man1/start-pulseaudio-kde.1.* |
602 |
colin |
214 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-bell.so |
603 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-x11-cork-request.so |
604 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-x11-publish.so |
605 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-x11-xsmp.so |
606 |
|
|
%{_sysconfdir}/xdg/autostart/pulseaudio.desktop |
607 |
|
|
%{_sysconfdir}/xdg/autostart/pulseaudio-kde.desktop |
608 |
|
|
|
609 |
|
|
%files module-zeroconf |
610 |
|
|
%{_libdir}/pulse-%{apiver}/modules/libavahi-wrap.so |
611 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-zeroconf-discover.so |
612 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-zeroconf-publish.so |
613 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-raop-discover.so |
614 |
|
|
|
615 |
|
|
%files module-jack |
616 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-jack-sink.so |
617 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-jack-source.so |
618 |
colin |
51777 |
%{_libdir}/pulse-%{apiver}/modules/module-jackdbus-detect.so |
619 |
colin |
214 |
|
620 |
|
|
%files module-gconf |
621 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-gconf.so |
622 |
neoclust |
338056 |
%dir %{_libexecdir}/pulse/ |
623 |
neoclust |
338055 |
%{_libexecdir}/pulse/gconf-helper |
624 |
colin |
214 |
|
625 |
colin |
131434 |
%files module-equalizer |
626 |
|
|
%{_bindir}/qpaeq |
627 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-equalizer-sink.so |
628 |
colin |
214 |
|
629 |
rtp |
304289 |
%ifarch %{ix86} x86_64 ia64 |
630 |
colin |
223043 |
%files module-xen |
631 |
|
|
%{_libdir}/pulse-%{apiver}/modules/module-xenpv-sink.so |
632 |
rtp |
304289 |
%endif |
633 |
colin |
223043 |
|
634 |
colin |
214 |
%files utils |
635 |
colin |
437145 |
%{_sysconfdir}/bash_completion.d/pulseaudio-bash-completion.sh |
636 |
colin |
214 |
%{_bindir}/pacat |
637 |
|
|
%{_bindir}/pacmd |
638 |
|
|
%{_bindir}/pactl |
639 |
|
|
%{_bindir}/padsp |
640 |
|
|
%{_bindir}/pamon |
641 |
|
|
%{_bindir}/paplay |
642 |
|
|
%{_bindir}/parec |
643 |
|
|
%{_bindir}/parecord |
644 |
|
|
%{_bindir}/pasuspender |
645 |
|
|
%{_mandir}/man1/pacat.1.* |
646 |
|
|
%{_mandir}/man1/pacmd.1.* |
647 |
|
|
%{_mandir}/man1/pactl.1.* |
648 |
|
|
%{_mandir}/man1/padsp.1.* |
649 |
|
|
%{_mandir}/man1/paplay.1.* |
650 |
|
|
%{_mandir}/man1/pasuspender.1.* |
651 |
|
|
|
652 |
|
|
|