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