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