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