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