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