1 |
%define subrel 1 |
2 |
%define name pulseaudio |
3 |
%define version 3.0 |
4 |
%define fullgit 0 |
5 |
%define git 0 |
6 |
%define rel 7 |
7 |
%if %{git} |
8 |
%define release %mkrel 0.%{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 |
# (cg) Lennart has introduced a circular dependancy in the libraries |
18 |
# libpulse requires libpulsecommon but libpulsecommon requires libpulse. |
19 |
# This breaks no-undefined. |
20 |
# Further issues in some test apps (maybe more) require that disabling |
21 |
# as-needed is also required. |
22 |
%define _disable_ld_no_undefined 1 |
23 |
%define _requires_exceptions devel(libpulsecommon |
24 |
|
25 |
# Majors |
26 |
%define major 0 |
27 |
%define zeroconfmajor 0 |
28 |
%define glib2major 0 |
29 |
%define apiver 3.0 |
30 |
|
31 |
# Library names |
32 |
%define libname %mklibname %{name} %{major} |
33 |
%define libname_devel %mklibname -d %{name} |
34 |
|
35 |
%define glib2libname %mklibname pulseglib2 %{glib2major} |
36 |
|
37 |
# API libs (not real shared libs - mostly private but needed by other libs and server) |
38 |
%define corelibname %mklibname pulsecore %{apiver} |
39 |
%define commonlibname %mklibname pulsecommon %{apiver} |
40 |
|
41 |
|
42 |
Summary: Sound server for Linux |
43 |
Name: %{name} |
44 |
Version: %{version} |
45 |
Release: %{release} |
46 |
%if %{git} |
47 |
Source0: %{name}-%{version}-%{fullgit}.tar.xz |
48 |
%else |
49 |
Source0: http://freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz |
50 |
%endif |
51 |
Source1: %{name}.sysconfig |
52 |
Source2: %{name}.xinit |
53 |
# (cg) We have to ship an esd.conf file with auto_spawn=0 to stop |
54 |
# libesound from.... you guessed it... auto spawning. |
55 |
Source3: esd.conf |
56 |
Source4: %{name}.svg |
57 |
|
58 |
|
59 |
# (cg) Using git to manage patches |
60 |
# To recreate the structure |
61 |
# git clone git://git.0pointer.de/pulseaudio |
62 |
# git checkout v1.0 |
63 |
# git checkout -b mdv-1.x-cherry-picks |
64 |
# git am 00*.patch |
65 |
# git checkout -b mga-1.x-patches |
66 |
# git am 05*.patch |
67 |
|
68 |
# To apply new custom patches |
69 |
# git checkout mga-1.x-patches |
70 |
# (do stuff) |
71 |
|
72 |
# To apply new cherry-picks |
73 |
# git checkout mdv-1.x-cherry-picks |
74 |
# git cherry-pick <blah> |
75 |
# git checkout mga-1.x-patches |
76 |
# git rebase mdv-1.x-cherry-picks |
77 |
|
78 |
# Stable Branch Patches |
79 |
# git format-patch --start-number 100 v1.0..stable-1.x |
80 |
Patch100: 0100-alsa-mixer-Fix-the-analog-output-speaker-always-path.patch |
81 |
Patch101: 0101-rtp-recv-fix-crash-on-empty-UDP-packets-CVE-2014-397.patch |
82 |
|
83 |
# Mandriva Patches |
84 |
# git format-patch --start-number 500 table-1.x..mga-1.x-patches |
85 |
Patch500: 0500-Customise-startup-so-we-can-easily-disable-PA.patch |
86 |
Patch501: 0501-Some-customisations-to-esdcompat-in-order-to-adhere-.patch |
87 |
Patch502: 0502-Change-the-default-resample-method-to-speex-fixed-0-.patch |
88 |
#Patch503: 0503-start-PA-earlier-in-GNOME-Mdv-bug-47594.patch |
89 |
Patch504: 0504-Apply-startup-customisation-to-new-KDE-module.patch |
90 |
Patch505: pulseaudio-3.0-json-c.diff |
91 |
|
92 |
# Airtunes links to OpenSSL which is BSD-like and should be reflected here |
93 |
License: LGPL and BSD-like |
94 |
Group: Sound/Mixers |
95 |
Url: http://pulseaudio.org/ |
96 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
97 |
BuildRequires: glib2-devel |
98 |
BuildRequires: libcap-devel |
99 |
BuildRequires: libsndfile-devel |
100 |
BuildRequires: libsamplerate-devel |
101 |
BuildRequires: libalsa-devel |
102 |
BuildRequires: libavahi-client-devel |
103 |
BuildRequires: libGConf2-devel |
104 |
BuildRequires: libwrap-devel |
105 |
BuildRequires: libx11-devel |
106 |
BuildRequires: libice-devel |
107 |
BuildRequires: libsm-devel |
108 |
BuildRequires: libxtst-devel |
109 |
BuildRequires: xcb-util-devel |
110 |
BuildRequires: udev-devel |
111 |
#gw libtool dep: |
112 |
BuildRequires: dbus-glib-devel |
113 |
BuildRequires: doxygen |
114 |
BuildRequires: automake1.8 |
115 |
BuildRequires: libltdl-devel |
116 |
BuildRequires: libatomic_ops-devel |
117 |
BuildRequires: gettext-devel |
118 |
BuildRequires: libjack-devel |
119 |
BuildRequires: lirc-devel |
120 |
%if !%bootstrap |
121 |
BuildRequires: bluez-devel |
122 |
%endif |
123 |
BuildRequires: tdb-devel |
124 |
BuildRequires: speex-devel |
125 |
# (cg) Needed for airtunes |
126 |
BuildRequires: openssl-devel |
127 |
BuildRequires: polkit-1-devel |
128 |
BuildRequires: libasyncns-devel |
129 |
BuildRequires: intltool |
130 |
BuildRequires: imagemagick |
131 |
BuildRequires: libjson-devel |
132 |
BuildRequires: liborc-devel |
133 |
BuildRequires: libfftw-devel |
134 |
%ifarch %{ix86} x86_64 ia64 |
135 |
BuildRequires: xen-devel |
136 |
%endif |
137 |
BuildRequires: pkgconfig(webrtc-audio-processing) |
138 |
BuildRequires: pkgconfig(sbc) |
139 |
|
140 |
Provides: polypaudio |
141 |
Obsoletes: polypaudio |
142 |
# (cg) This is for the backport of 0.9.7 to 2008 |
143 |
# pulseaudio fails when using older versions of libtool |
144 |
Requires: libltdl >= 1.5.24 |
145 |
# (cg) Just incase people backport, require specific udev |
146 |
Requires: udev >= 143 |
147 |
Requires: rtkit |
148 |
Requires(post): ccp |
149 |
# (cg) When upgrading from pa < 0.9.7-1 things break due to spec restructure |
150 |
Conflicts: %{libname} < 0.9.7-2 |
151 |
|
152 |
%description |
153 |
pulseaudio is a sound server for Linux and other Unix like operating |
154 |
systems. It is intended to be an improved drop-in replacement for the |
155 |
Enlightened Sound Daemon (EsounD). In addition to the features EsounD |
156 |
provides pulseaudio has: |
157 |
* Extensible plugin architecture (by loading dynamic loadable |
158 |
modules with dlopen()) |
159 |
* Support for more than one sink/source |
160 |
* Better low latency behaviour |
161 |
* Embedabble into other software (the core is available as C |
162 |
library) |
163 |
* Completely asynchronous C API |
164 |
* Simple command line interface for reconfiguring the daemon while |
165 |
running |
166 |
* Flexible, implicit sample type conversion and resampling |
167 |
* "Zero-Copy" architecture |
168 |
* Module autoloading |
169 |
* Very accurate latency measurement for playback and recording. |
170 |
* May be used to combine multiple sound cards to one (with sample |
171 |
rate adjustment) |
172 |
* Client side latency interpolation |
173 |
|
174 |
%post |
175 |
ccp -i -d --set NoOrphans --oldfile %{_sysconfdir}/pulse/daemon.conf --newfile %{_sysconfdir}/pulse/daemon.conf.rpmnew |
176 |
# (cg) For upgrade between 1.x -> 2.x |
177 |
if grep -q module-cork-music-on-phone %{_sysconfdir}/pulse/default.pa; then |
178 |
sed -i 's/module-cork-music-on-phone/module-role-cork/' %{_sysconfdir}/pulse/default.pa |
179 |
fi |
180 |
|
181 |
|
182 |
%package -n %{libname} |
183 |
Summary: Libraries for PulseAudio clients |
184 |
Group: System/Libraries |
185 |
Requires: %{name}-client-config |
186 |
Suggests: %{mklibname alsa-plugins}-pulseaudio |
187 |
%ifarch x86_64 |
188 |
# (cg) Suggest the 32 bit library on 64 bits to ensure compatibility |
189 |
# with (typically closed source) 32 bit apps. |
190 |
Suggests: lib%{name}%{major} |
191 |
%endif |
192 |
# (cg) Deprecated in PA 1.0 - Make upgrade smoother :) |
193 |
Obsoletes: %mklibname pulsezeroconf 0 |
194 |
|
195 |
%description -n %{libname} |
196 |
This package contains the runtime libraries for any application that wishes |
197 |
to interface with a PulseAudio sound server. |
198 |
|
199 |
%package -n %{corelibname} |
200 |
Summary: Core Library for PulseAudio |
201 |
Group: System/Libraries |
202 |
Obsoletes: %mklibname pulsezeroconf 0 |
203 |
|
204 |
%description -n %{corelibname} |
205 |
This package contains a library needed by the PulseAudio sound server and modules. |
206 |
|
207 |
%package -n %{commonlibname} |
208 |
Summary: Common Library for PulseAudio |
209 |
Group: System/Libraries |
210 |
|
211 |
%description -n %{commonlibname} |
212 |
This package contains a library needed by the PulseAudio sound server, modules and |
213 |
clients. |
214 |
|
215 |
|
216 |
%define alt_name soundprofile |
217 |
%define alt_priority 20 |
218 |
|
219 |
%package client-config |
220 |
Summary: Client configuration for PulseAudio clients |
221 |
Group: System/Libraries |
222 |
# (eatdirt) Otherwise may trigger bug 2966 |
223 |
Requires: alsa-plugins-pulse-config |
224 |
Requires(post): ccp |
225 |
Requires(post): update-alternatives |
226 |
Requires(postun): update-alternatives |
227 |
Conflicts: %{name} < 0.9.16-0.20090816.1 |
228 |
# (cg) Adding the obsoletes here as this package is almost always installed |
229 |
# and doing it in task-pulseaudio would cause it to be installed when not needed. |
230 |
# Flash plugin support pulse natively and libflashsupport now causes more |
231 |
# problems than it fixes |
232 |
Obsoletes: libflashsupport |
233 |
|
234 |
%description client-config |
235 |
This package contains the client configuration files for any application that wishes |
236 |
to interface with a PulseAudio sound server. |
237 |
|
238 |
|
239 |
%post client-config |
240 |
%{_sbindir}/update-alternatives \ |
241 |
--install %{_sysconfdir}/sound/profiles/current %{alt_name} %{_sysconfdir}/sound/profiles/pulse %{alt_priority} |
242 |
ccp -i -d --set NoOrphans --oldfile %{_sysconfdir}/pulse/client.conf --newfile %{_sysconfdir}/pulse/client.conf.rpmnew |
243 |
|
244 |
%postun client-config |
245 |
if [ ! -f %{_sysconfdir}/sound/profiles/pulse/profile.conf ]; then |
246 |
/usr/sbin/update-alternatives --remove %{alt_name} %{_sysconfdir}/sound/profiles/pulse |
247 |
fi |
248 |
|
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 |
Obsoletes: %mklibname -d %{name} %{major} |
267 |
|
268 |
%description -n %{libname_devel} |
269 |
Headers and libraries for developing applications that can communicate with |
270 |
a PulseAudio sound server. |
271 |
|
272 |
|
273 |
%package esound-compat |
274 |
Summary: PulseAudio EsounD daemon compatibility script |
275 |
Group: Sound/Mixers |
276 |
Requires: %{name} = %{version}-%{release} |
277 |
Provides: esound |
278 |
Obsoletes: esound < 0.2.38-5mdv |
279 |
Conflicts: esound-daemon |
280 |
Obsoletes: esound-daemon |
281 |
|
282 |
%description esound-compat |
283 |
A compatibility script that allows applications to call /usr/bin/esd |
284 |
and start PulseAudio with EsounD protocol modules. |
285 |
|
286 |
|
287 |
%package module-lirc |
288 |
Summary: LIRC support for the PulseAudio sound server |
289 |
Group: Sound/Mixers |
290 |
Requires: %{name} = %{version}-%{release} |
291 |
|
292 |
%description module-lirc |
293 |
LIRC volume control module for the PulseAudio sound server. |
294 |
|
295 |
%if !%bootstrap |
296 |
%package module-bluetooth |
297 |
Summary: Bluetooth support for the PulseAudio sound server |
298 |
Group: Sound/Mixers |
299 |
Requires: %{name} = %{version}-%{release} |
300 |
|
301 |
%description module-bluetooth |
302 |
Bluetooth modules for the PulseAudio sound server to provide support |
303 |
for headsets and proximity detection. |
304 |
%endif |
305 |
|
306 |
%package module-x11 |
307 |
Summary: X11 support for the PulseAudio sound server |
308 |
Group: Sound/Mixers |
309 |
Requires: %{name} = %{version}-%{release} |
310 |
|
311 |
%description module-x11 |
312 |
X11 bell and security modules for the PulseAudio sound server. |
313 |
|
314 |
%package module-zeroconf |
315 |
Summary: Zeroconf support for the PulseAudio sound server |
316 |
Group: Sound/Mixers |
317 |
Requires: %{name} = %{version}-%{release} |
318 |
|
319 |
%description module-zeroconf |
320 |
Zeroconf publishing module for the PulseAudio sound server. |
321 |
|
322 |
%package module-jack |
323 |
Summary: JACK support for the PulseAudio sound server |
324 |
Group: Sound/Mixers |
325 |
Requires: %{name} = %{version}-%{release} |
326 |
|
327 |
%description module-jack |
328 |
JACK sink and source modules for the PulseAudio sound server. |
329 |
|
330 |
%package module-gconf |
331 |
Summary: GConf support for the PulseAudio sound server |
332 |
Group: Sound/Mixers |
333 |
Requires: %{name} = %{version}-%{release} |
334 |
|
335 |
%description module-gconf |
336 |
GConf configuration backend for the PulseAudio sound server. |
337 |
|
338 |
%package module-equalizer |
339 |
Summary: Equalizer support for the PulseAudio sound server |
340 |
Group: Sound/Mixers |
341 |
Requires: %{name} = %{version}-%{release} |
342 |
|
343 |
%description module-equalizer |
344 |
Equalizer support and GUI for the PulseAudio sound server. |
345 |
|
346 |
%ifarch %{ix86} x86_64 ia64 |
347 |
%package module-xen |
348 |
Summary: Xen guest support for the PulseAudio sound server |
349 |
Group: Sound/Mixers |
350 |
Requires: %{name} = %{version}-%{release} |
351 |
|
352 |
%description module-xen |
353 |
Xen guest support for the PulseAudio sound server. |
354 |
%endif |
355 |
|
356 |
%package utils |
357 |
Summary: PulseAudio sound server utilities |
358 |
Group: Sound/Utilities |
359 |
|
360 |
%description utils |
361 |
This package contains command line utilities for the PulseAudio sound server. |
362 |
|
363 |
|
364 |
|
365 |
|
366 |
%prep |
367 |
%if %{git} |
368 |
%setup -q -n %{name}-%{version}-%{fullgit} |
369 |
%else |
370 |
%setup -q -n %{name}-%{version} |
371 |
%endif |
372 |
|
373 |
%apply_patches |
374 |
|
375 |
# (cg) If autoconf is retriggered (which can happen automatically) we need this file. |
376 |
cat >git-version-gen <<EOF |
377 |
#!/bin/bash |
378 |
echo -n %{version}.0-%{release} |
379 |
EOF |
380 |
chmod a+x git-version-gen |
381 |
|
382 |
#%if %{git} |
383 |
echo "clean:" > Makefile |
384 |
./bootstrap.sh -V |
385 |
#%endif |
386 |
|
387 |
%build |
388 |
%configure2_5x \ |
389 |
--disable-hal \ |
390 |
%ifarch %arm |
391 |
--disable-neon-opt \ |
392 |
%endif |
393 |
|
394 |
%make |
395 |
make doxygen |
396 |
|
397 |
%install |
398 |
rm -rf %{buildroot} |
399 |
%makeinstall_std |
400 |
|
401 |
install -D -m 0644 %{_sourcedir}/%{name}.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
402 |
install -D -m 0755 %{_sourcedir}/%{name}.xinit %{buildroot}%{_sysconfdir}/X11/xinit.d/50%{name} |
403 |
install -D -m 0755 %{_sourcedir}/esd.conf %{buildroot}%{_sysconfdir}/ |
404 |
|
405 |
install -D -m 0644 %{_sourcedir}/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
406 |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/devices |
407 |
ln -s ../apps/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/devices/audio-backend-pulseaudio.svg |
408 |
for size in 16 22 32 48 64 128; do |
409 |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/{apps,devices} |
410 |
convert -geometry ${size}x${size} %{_sourcedir}/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png |
411 |
ln -s ../apps/%{name}.png %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/devices/audio-backend-pulseaudio.png |
412 |
done |
413 |
|
414 |
# Remove static and metalink libraries |
415 |
find %{buildroot} \( -name *.a -o -name *.la \) -exec rm {} \; |
416 |
|
417 |
# Fix esd |
418 |
ln -s esdcompat %{buildroot}%{_bindir}/esd |
419 |
|
420 |
# (cg) For sound profile support |
421 |
mkdir -p %{buildroot}%{_sysconfdir}/sound/profiles/pulse |
422 |
echo "SOUNDPROFILE=pulse" >%{buildroot}%{_sysconfdir}/sound/profiles/pulse/profile.conf |
423 |
|
424 |
# (cg) HAL support is no longer the default, and we don't officially support system wide, so |
425 |
# System Wide + HAL is pretty unlikely. |
426 |
rm -f %{buildroot}%{_sysconfdir}/dbus-1/system.d/%{name}-system.conf |
427 |
|
428 |
# (cg) We require systemd now, so no point in using CK |
429 |
rm -f %{buildroot}%{_libdir}/pulse-%{apiver}/modules/module-console-kit.so |
430 |
|
431 |
# (cg) Disable x11-cork-request... it should be ahndled in the apps as we cannot |
432 |
# maintain state via this mechanism. Should be a patch, but I'm lazy. |
433 |
sed -i 's,\(/usr/bin/pactl load-module module-x11-cork-request\),#\1,' %{buildroot}%{_bindir}/start-pulseaudio-x11 |
434 |
|
435 |
%find_lang %{name} |
436 |
|
437 |
%clean |
438 |
rm -rf %{buildroot} |
439 |
|
440 |
|
441 |
%files -f %{name}.lang |
442 |
%defattr(-,root,root) |
443 |
%doc README |
444 |
%dir %{_sysconfdir}/pulse |
445 |
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf |
446 |
%config(noreplace) %{_sysconfdir}/pulse/default.pa |
447 |
%config(noreplace) %{_sysconfdir}/pulse/system.pa |
448 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
449 |
%{_bindir}/%{name} |
450 |
%{_mandir}/man1/%{name}.1.* |
451 |
%{_mandir}/man5/pulse-client.conf.5.* |
452 |
%{_mandir}/man5/pulse-daemon.conf.5.* |
453 |
%{_mandir}/man5/default.pa.5.* |
454 |
%{_mandir}/man5/pulse-cli-syntax.5.* |
455 |
%{_datadir}/icons/hicolor/*/*/* |
456 |
%dir %{_datadir}/%{name}/ |
457 |
%{_datadir}/%{name}/alsa-mixer |
458 |
/lib/udev/rules.d/90-pulseaudio.rules |
459 |
%dir %{_libdir}/pulse-%{apiver} |
460 |
%dir %{_libdir}/pulse-%{apiver}/modules |
461 |
%{_libdir}/pulse-%{apiver}/modules/libalsa-util.so |
462 |
%{_libdir}/pulse-%{apiver}/modules/libcli.so |
463 |
%{_libdir}/pulse-%{apiver}/modules/liboss-util.so |
464 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-cli.so |
465 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-esound.so |
466 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-http.so |
467 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-native.so |
468 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-simple.so |
469 |
%{_libdir}/pulse-%{apiver}/modules/libraop.so |
470 |
%{_libdir}/pulse-%{apiver}/modules/librtp.so |
471 |
%{_libdir}/pulse-%{apiver}/modules/libwebrtc-util.so |
472 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-card.so |
473 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-sink.so |
474 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-source.so |
475 |
%{_libdir}/pulse-%{apiver}/modules/module-always-sink.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-oss.so |
508 |
%{_libdir}/pulse-%{apiver}/modules/module-pipe-sink.so |
509 |
%{_libdir}/pulse-%{apiver}/modules/module-pipe-source.so |
510 |
%{_libdir}/pulse-%{apiver}/modules/module-raop-sink.so |
511 |
%{_libdir}/pulse-%{apiver}/modules/module-rygel-media-server.so |
512 |
%{_libdir}/pulse-%{apiver}/modules/module-position-event-sounds.so |
513 |
%{_libdir}/pulse-%{apiver}/modules/module-rescue-streams.so |
514 |
%{_libdir}/pulse-%{apiver}/modules/module-rtp-recv.so |
515 |
%{_libdir}/pulse-%{apiver}/modules/module-rtp-send.so |
516 |
%{_libdir}/pulse-%{apiver}/modules/module-simple-protocol-tcp.so |
517 |
%{_libdir}/pulse-%{apiver}/modules/module-simple-protocol-unix.so |
518 |
%{_libdir}/pulse-%{apiver}/modules/module-sine.so |
519 |
%{_libdir}/pulse-%{apiver}/modules/module-sine-source.so |
520 |
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-sink.so |
521 |
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-source.so |
522 |
%{_libdir}/pulse-%{apiver}/modules/module-udev-detect.so |
523 |
%{_libdir}/pulse-%{apiver}/modules/module-volume-restore.so |
524 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-sink.so |
525 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-source.so |
526 |
%{_libdir}/pulse-%{apiver}/modules/module-stream-restore.so |
527 |
%{_libdir}/pulse-%{apiver}/modules/module-suspend-on-idle.so |
528 |
%{_libdir}/pulse-%{apiver}/modules/module-default-device-restore.so |
529 |
%{_libdir}/pulse-%{apiver}/modules/module-ladspa-sink.so |
530 |
%{_libdir}/pulse-%{apiver}/modules/module-remap-sink.so |
531 |
%{_libdir}/pulse-%{apiver}/modules/module-switch-on-connect.so |
532 |
%{_libdir}/pulse-%{apiver}/modules/module-filter-apply.so |
533 |
%{_libdir}/pulse-%{apiver}/modules/module-filter-heuristics.so |
534 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-surround-sink.so |
535 |
%{_libdir}/pulse-%{apiver}/modules/module-switch-on-port-available.so |
536 |
|
537 |
|
538 |
%files -n %{libname} |
539 |
%defattr(-,root,root) |
540 |
%{_libdir}/libpulse.so.%{major}* |
541 |
%{_libdir}/libpulse-simple.so.%{major}* |
542 |
%dir %{_libdir}/%{name} |
543 |
# (cg) Although the following is not a shared library, putting this file here |
544 |
# will allow padsp to work on dual arch machines... (e.g. using padsp to start |
545 |
# a 32-bit app). |
546 |
%{_libdir}/%{name}/libpulsedsp.so |
547 |
|
548 |
%files -n %{corelibname} |
549 |
%{_libdir}/libpulsecore-%{apiver}.so |
550 |
|
551 |
%files -n %{commonlibname} |
552 |
%dir %{_libdir}/%{name} |
553 |
%{_libdir}/%{name}/libpulsecommon-%{apiver}.so |
554 |
|
555 |
%files client-config |
556 |
%defattr(-,root,root) |
557 |
%dir %{_sysconfdir}/pulse |
558 |
%config(noreplace) %{_sysconfdir}/pulse/client.conf |
559 |
%dir %{_sysconfdir}/sound/profiles/pulse |
560 |
%{_sysconfdir}/sound/profiles/pulse/profile.conf |
561 |
|
562 |
|
563 |
%files -n %{glib2libname} |
564 |
%defattr(-,root,root) |
565 |
%{_libdir}/libpulse-mainloop-glib.so.%{glib2major}* |
566 |
|
567 |
%files -n %{libname_devel} |
568 |
%doc doxygen/html |
569 |
%defattr(-,root,root) |
570 |
%{_libdir}/libpulse.so |
571 |
%{_libdir}/libpulse-mainloop-glib.so |
572 |
%{_libdir}/libpulse-simple.so |
573 |
%dir %{_includedir}/pulse |
574 |
%{_includedir}/pulse/*.h |
575 |
%{_libdir}/pkgconfig/*.pc |
576 |
%{_libdir}/cmake/PulseAudio |
577 |
%{_datadir}/vala/vapi/libpulse.deps |
578 |
%{_datadir}/vala/vapi/libpulse.vapi |
579 |
%{_datadir}/vala/vapi/libpulse-mainloop-glib.deps |
580 |
%{_datadir}/vala/vapi/libpulse-mainloop-glib.vapi |
581 |
|
582 |
|
583 |
%files esound-compat |
584 |
%defattr(-,root,root) |
585 |
%config(noreplace) %{_sysconfdir}/esd.conf |
586 |
%{_bindir}/esdcompat |
587 |
%{_bindir}/esd |
588 |
%{_mandir}/man1/esdcompat.1.* |
589 |
|
590 |
%if !%bootstrap |
591 |
%files module-bluetooth |
592 |
%defattr(-,root,root) |
593 |
%{_libdir}/pulse-%{apiver}/modules/libbluetooth-util.so |
594 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-device.so |
595 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-discover.so |
596 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-proximity.so |
597 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-policy.so |
598 |
%{_libexecdir}/pulse/proximity-helper |
599 |
%endif |
600 |
|
601 |
|
602 |
%files module-lirc |
603 |
%defattr(-,root,root) |
604 |
%{_libdir}/pulse-%{apiver}/modules/module-lirc.so |
605 |
|
606 |
%files module-x11 |
607 |
%defattr(-,root,root) |
608 |
%{_sysconfdir}/X11/xinit.d/50%{name} |
609 |
%{_bindir}/pax11publish |
610 |
%{_bindir}/start-pulseaudio-x11 |
611 |
%{_bindir}/start-pulseaudio-kde |
612 |
%{_mandir}/man1/pax11publish.1.* |
613 |
%{_mandir}/man1/start-pulseaudio-x11.1.* |
614 |
%{_mandir}/man1/start-pulseaudio-kde.1.* |
615 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-bell.so |
616 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-cork-request.so |
617 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-publish.so |
618 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-xsmp.so |
619 |
%{_sysconfdir}/xdg/autostart/pulseaudio.desktop |
620 |
%{_sysconfdir}/xdg/autostart/pulseaudio-kde.desktop |
621 |
|
622 |
%files module-zeroconf |
623 |
%defattr(-,root,root) |
624 |
%{_libdir}/pulse-%{apiver}/modules/libavahi-wrap.so |
625 |
%{_libdir}/pulse-%{apiver}/modules/module-zeroconf-discover.so |
626 |
%{_libdir}/pulse-%{apiver}/modules/module-zeroconf-publish.so |
627 |
%{_libdir}/pulse-%{apiver}/modules/module-raop-discover.so |
628 |
|
629 |
%files module-jack |
630 |
%defattr(-,root,root) |
631 |
%{_libdir}/pulse-%{apiver}/modules/module-jack-sink.so |
632 |
%{_libdir}/pulse-%{apiver}/modules/module-jack-source.so |
633 |
%{_libdir}/pulse-%{apiver}/modules/module-jackdbus-detect.so |
634 |
|
635 |
%files module-gconf |
636 |
%defattr(-,root,root) |
637 |
%{_libdir}/pulse-%{apiver}/modules/module-gconf.so |
638 |
%dir %{_libexecdir}/pulse/ |
639 |
%{_libexecdir}/pulse/gconf-helper |
640 |
|
641 |
%files module-equalizer |
642 |
%defattr(-,root,root) |
643 |
%{_bindir}/qpaeq |
644 |
%{_libdir}/pulse-%{apiver}/modules/module-equalizer-sink.so |
645 |
|
646 |
%ifarch %{ix86} x86_64 ia64 |
647 |
%files module-xen |
648 |
%defattr(-,root,root) |
649 |
%{_libdir}/pulse-%{apiver}/modules/module-xenpv-sink.so |
650 |
%endif |
651 |
|
652 |
%files utils |
653 |
%defattr(-,root,root) |
654 |
%{_bindir}/pacat |
655 |
%{_bindir}/pacmd |
656 |
%{_bindir}/pactl |
657 |
%{_bindir}/padsp |
658 |
%{_bindir}/pamon |
659 |
%{_bindir}/paplay |
660 |
%{_bindir}/parec |
661 |
%{_bindir}/parecord |
662 |
%{_bindir}/pasuspender |
663 |
%{_mandir}/man1/pacat.1.* |
664 |
%{_mandir}/man1/pacmd.1.* |
665 |
%{_mandir}/man1/pactl.1.* |
666 |
%{_mandir}/man1/padsp.1.* |
667 |
%{_mandir}/man1/paplay.1.* |
668 |
%{_mandir}/man1/pasuspender.1.* |
669 |
|
670 |
|