1 |
%define name pulseaudio |
2 |
%define version 5.0 |
3 |
%define fullgit f81e3e1d7852c05b4b737ac7dac4db95798f0117 |
4 |
%define git 20131010 |
5 |
%define rel 3 |
6 |
%if %{git} |
7 |
%define release %mkrel 0.%{git}.%rel |
8 |
%else |
9 |
%define release %mkrel %rel |
10 |
%endif |
11 |
|
12 |
%define bootstrap 0 |
13 |
%{?_without_bootstrap: %global bootstrap 0} |
14 |
%{?_with_bootstrap: %global bootstrap 1} |
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 |
%define _requires_exceptions devel(libpulsecommon |
23 |
|
24 |
# Majors |
25 |
%define major 0 |
26 |
%define zeroconfmajor 0 |
27 |
%define glib2major 0 |
28 |
%define apiver 5.0 |
29 |
|
30 |
# Library names |
31 |
%define libname %mklibname %{name} %{major} |
32 |
%define libname_devel %mklibname -d %{name} |
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: %{name} |
43 |
Version: %{version} |
44 |
Release: %{release} |
45 |
%if %{git} |
46 |
Source0: %{name}-%{version}-%{fullgit}.tar.xz |
47 |
%else |
48 |
Source0: http://freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz |
49 |
%endif |
50 |
Source1: %{name}.sysconfig |
51 |
Source2: %{name}.xinit |
52 |
# (cg) We have to ship an esd.conf file with auto_spawn=0 to stop |
53 |
# libesound from.... you guessed it... auto spawning. |
54 |
Source3: esd.conf |
55 |
Source4: %{name}.svg |
56 |
|
57 |
|
58 |
# (cg) Using git to manage patches |
59 |
# To recreate the structure |
60 |
# git clone git://git.0pointer.de/pulseaudio |
61 |
# git checkout v1.0 |
62 |
# git checkout -b mdv-1.x-cherry-picks |
63 |
# git am 00*.patch |
64 |
# git checkout -b mga-1.x-patches |
65 |
# git am 05*.patch |
66 |
|
67 |
# To apply new custom patches |
68 |
# git checkout mga-1.x-patches |
69 |
# (do stuff) |
70 |
|
71 |
# To apply new cherry-picks |
72 |
# git checkout mdv-1.x-cherry-picks |
73 |
# git cherry-pick <blah> |
74 |
# git checkout mga-1.x-patches |
75 |
# git rebase mdv-1.x-cherry-picks |
76 |
|
77 |
# Stable Branch Patches |
78 |
# git format-patch --start-number 100 v1.0..stable-1.x |
79 |
Patch100: 0100-sndfile-util-fix-format-for-24bit-depth-wav-files.patch |
80 |
Patch101: 0101-build-sys-Don-t-define-_FORTIFY_SOURCE-when-building.patch |
81 |
Patch102: 0102-build-sys-Print-CPPFLAGS-in-configure.patch |
82 |
Patch103: 0103-bluetooth-Track-discovery-modules-by-index.patch |
83 |
|
84 |
# Mandriva Patches |
85 |
# git format-patch --start-number 500 table-1.x..mga-1.x-patches |
86 |
Patch500: 0500-Customise-startup-so-we-can-easily-disable-PA.patch |
87 |
Patch501: 0501-Some-customisations-to-esdcompat-in-order-to-adhere-.patch |
88 |
Patch502: 0502-Apply-startup-customisation-to-new-KDE-module.patch |
89 |
|
90 |
# Airtunes links to OpenSSL which is BSD-like and should be reflected here |
91 |
License: LGPL and BSD-like |
92 |
Group: Sound/Mixers |
93 |
Url: http://pulseaudio.org/ |
94 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
95 |
BuildRequires: glib2-devel |
96 |
BuildRequires: libcap-devel |
97 |
BuildRequires: libsndfile-devel |
98 |
BuildRequires: libsamplerate-devel |
99 |
BuildRequires: libalsa-devel |
100 |
BuildRequires: libavahi-client-devel |
101 |
BuildRequires: libGConf2-devel |
102 |
BuildRequires: libwrap-devel |
103 |
BuildRequires: pkgconfig(x11) |
104 |
BuildRequires: pkgconfig(x11-xcb) |
105 |
BuildRequires: pkgconfig(xcb) |
106 |
BuildRequires: pkgconfig(xcb-util) |
107 |
BuildRequires: pkgconfig(ice) |
108 |
BuildRequires: pkgconfig(sm) |
109 |
BuildRequires: pkgconfig(xtst) |
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 |
Requires: %{name}-utils = %{version}-%{release} |
311 |
|
312 |
%description module-x11 |
313 |
X11 bell and security modules for the PulseAudio sound server. |
314 |
|
315 |
%package module-zeroconf |
316 |
Summary: Zeroconf support for the PulseAudio sound server |
317 |
Group: Sound/Mixers |
318 |
Requires: %{name} = %{version}-%{release} |
319 |
|
320 |
%description module-zeroconf |
321 |
Zeroconf publishing module for the PulseAudio sound server. |
322 |
|
323 |
%package module-jack |
324 |
Summary: JACK support for the PulseAudio sound server |
325 |
Group: Sound/Mixers |
326 |
Requires: %{name} = %{version}-%{release} |
327 |
|
328 |
%description module-jack |
329 |
JACK sink and source modules for the PulseAudio sound server. |
330 |
|
331 |
%package module-gconf |
332 |
Summary: GConf support for the PulseAudio sound server |
333 |
Group: Sound/Mixers |
334 |
Requires: %{name} = %{version}-%{release} |
335 |
|
336 |
%description module-gconf |
337 |
GConf configuration backend for the PulseAudio sound server. |
338 |
|
339 |
%package module-equalizer |
340 |
Summary: Equalizer support for the PulseAudio sound server |
341 |
Group: Sound/Mixers |
342 |
Requires: %{name} = %{version}-%{release} |
343 |
|
344 |
%description module-equalizer |
345 |
Equalizer support and GUI for the PulseAudio sound server. |
346 |
|
347 |
%ifarch %{ix86} x86_64 ia64 |
348 |
%package module-xen |
349 |
Summary: Xen guest support for the PulseAudio sound server |
350 |
Group: Sound/Mixers |
351 |
Requires: %{name} = %{version}-%{release} |
352 |
|
353 |
%description module-xen |
354 |
Xen guest support for the PulseAudio sound server. |
355 |
%endif |
356 |
|
357 |
%package utils |
358 |
Summary: PulseAudio sound server utilities |
359 |
Group: Sound/Utilities |
360 |
|
361 |
%description utils |
362 |
This package contains command line utilities for the PulseAudio sound server. |
363 |
|
364 |
|
365 |
|
366 |
|
367 |
%prep |
368 |
%if %{git} |
369 |
%setup -q -n %{name}-%{version}-%{fullgit} |
370 |
%else |
371 |
%setup -q -n %{name}-%{version} |
372 |
%endif |
373 |
|
374 |
%apply_patches |
375 |
|
376 |
# (cg) If autoconf is retriggered (which can happen automatically) we need this file. |
377 |
cat >git-version-gen <<EOF |
378 |
#!/bin/bash |
379 |
echo -n %{version}.0-%{release} |
380 |
EOF |
381 |
chmod a+x git-version-gen |
382 |
|
383 |
#%if %{git} |
384 |
echo "clean:" > Makefile |
385 |
./bootstrap.sh -V |
386 |
#%endif |
387 |
|
388 |
%build |
389 |
%configure2_5x \ |
390 |
%ifarch %arm |
391 |
--disable-neon-opt \ |
392 |
%endif |
393 |
%if !%bootstrap |
394 |
--enable-bluez5 \ |
395 |
%endif |
396 |
--disable-bluez4 |
397 |
|
398 |
|
399 |
%make |
400 |
make doxygen |
401 |
|
402 |
%install |
403 |
rm -rf %{buildroot} |
404 |
%makeinstall_std |
405 |
|
406 |
install -D -m 0644 %{_sourcedir}/%{name}.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
407 |
install -D -m 0755 %{_sourcedir}/%{name}.xinit %{buildroot}%{_sysconfdir}/X11/xinit.d/50%{name} |
408 |
install -D -m 0755 %{_sourcedir}/esd.conf %{buildroot}%{_sysconfdir}/ |
409 |
|
410 |
install -D -m 0644 %{_sourcedir}/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
411 |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/devices |
412 |
ln -s ../apps/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/devices/audio-backend-pulseaudio.svg |
413 |
for size in 16 22 32 48 64 128; do |
414 |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/{apps,devices} |
415 |
convert -geometry ${size}x${size} %{_sourcedir}/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png |
416 |
ln -s ../apps/%{name}.png %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/devices/audio-backend-pulseaudio.png |
417 |
done |
418 |
|
419 |
# Remove static and metalink libraries |
420 |
find %{buildroot} \( -name *.a -o -name *.la \) -exec rm {} \; |
421 |
|
422 |
# Fix esd |
423 |
ln -s esdcompat %{buildroot}%{_bindir}/esd |
424 |
|
425 |
# (cg) For sound profile support |
426 |
mkdir -p %{buildroot}%{_sysconfdir}/sound/profiles/pulse |
427 |
echo "SOUNDPROFILE=pulse" >%{buildroot}%{_sysconfdir}/sound/profiles/pulse/profile.conf |
428 |
|
429 |
# (cg) HAL support is no longer the default, and we don't officially support system wide, so |
430 |
# System Wide + HAL is pretty unlikely. |
431 |
rm -f %{buildroot}%{_sysconfdir}/dbus-1/system.d/%{name}-system.conf |
432 |
|
433 |
# (cg) We require systemd now, so no point in using CK |
434 |
rm -f %{buildroot}%{_libdir}/pulse-%{apiver}/modules/module-console-kit.so |
435 |
|
436 |
# (cg) Disable x11-cork-request... it should be ahndled in the apps as we cannot |
437 |
# maintain state via this mechanism. Should be a patch, but I'm lazy. |
438 |
sed -i 's,\(/usr/bin/pactl load-module module-x11-cork-request\),#\1,' %{buildroot}%{_bindir}/start-pulseaudio-x11 |
439 |
|
440 |
%find_lang %{name} |
441 |
|
442 |
%clean |
443 |
rm -rf %{buildroot} |
444 |
|
445 |
|
446 |
%files -f %{name}.lang |
447 |
%defattr(-,root,root) |
448 |
%doc README |
449 |
%dir %{_sysconfdir}/pulse |
450 |
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf |
451 |
%config(noreplace) %{_sysconfdir}/pulse/default.pa |
452 |
%config(noreplace) %{_sysconfdir}/pulse/system.pa |
453 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
454 |
%{_bindir}/%{name} |
455 |
%{_mandir}/man1/%{name}.1.* |
456 |
%{_mandir}/man5/pulse-client.conf.5.* |
457 |
%{_mandir}/man5/pulse-daemon.conf.5.* |
458 |
%{_mandir}/man5/default.pa.5.* |
459 |
%{_mandir}/man5/pulse-cli-syntax.5.* |
460 |
%{_datadir}/icons/hicolor/*/*/* |
461 |
%dir %{_datadir}/%{name}/ |
462 |
%{_datadir}/%{name}/alsa-mixer |
463 |
/lib/udev/rules.d/90-pulseaudio.rules |
464 |
%dir %{_libdir}/pulse-%{apiver} |
465 |
%dir %{_libdir}/pulse-%{apiver}/modules |
466 |
%{_libdir}/pulse-%{apiver}/modules/libalsa-util.so |
467 |
%{_libdir}/pulse-%{apiver}/modules/libcli.so |
468 |
%{_libdir}/pulse-%{apiver}/modules/liboss-util.so |
469 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-cli.so |
470 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-esound.so |
471 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-http.so |
472 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-native.so |
473 |
%{_libdir}/pulse-%{apiver}/modules/libprotocol-simple.so |
474 |
%{_libdir}/pulse-%{apiver}/modules/libraop.so |
475 |
%{_libdir}/pulse-%{apiver}/modules/librtp.so |
476 |
%{_libdir}/pulse-%{apiver}/modules/libwebrtc-util.so |
477 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-card.so |
478 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-sink.so |
479 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-source.so |
480 |
%{_libdir}/pulse-%{apiver}/modules/module-always-sink.so |
481 |
%{_libdir}/pulse-%{apiver}/modules/module-augment-properties.so |
482 |
%{_libdir}/pulse-%{apiver}/modules/module-card-restore.so |
483 |
%{_libdir}/pulse-%{apiver}/modules/module-cli-protocol-tcp.so |
484 |
%{_libdir}/pulse-%{apiver}/modules/module-cli-protocol-unix.so |
485 |
%{_libdir}/pulse-%{apiver}/modules/module-cli.so |
486 |
%{_libdir}/pulse-%{apiver}/modules/module-combine.so |
487 |
%{_libdir}/pulse-%{apiver}/modules/module-combine-sink.so |
488 |
%{_libdir}/pulse-%{apiver}/modules/module-role-cork.so |
489 |
%{_libdir}/pulse-%{apiver}/modules/module-systemd-login.so |
490 |
%{_libdir}/pulse-%{apiver}/modules/module-dbus-protocol.so |
491 |
%{_libdir}/pulse-%{apiver}/modules/module-detect.so |
492 |
%{_libdir}/pulse-%{apiver}/modules/module-device-manager.so |
493 |
%{_libdir}/pulse-%{apiver}/modules/module-device-restore.so |
494 |
%{_libdir}/pulse-%{apiver}/modules/module-echo-cancel.so |
495 |
%{_libdir}/pulse-%{apiver}/modules/module-esound-compat-spawnfd.so |
496 |
%{_libdir}/pulse-%{apiver}/modules/module-esound-compat-spawnpid.so |
497 |
%{_libdir}/pulse-%{apiver}/modules/module-esound-protocol-tcp.so |
498 |
%{_libdir}/pulse-%{apiver}/modules/module-esound-protocol-unix.so |
499 |
%{_libdir}/pulse-%{apiver}/modules/module-esound-sink.so |
500 |
%{_libdir}/pulse-%{apiver}/modules/module-hal-detect.so |
501 |
%{_libdir}/pulse-%{apiver}/modules/module-http-protocol-tcp.so |
502 |
%{_libdir}/pulse-%{apiver}/modules/module-http-protocol-unix.so |
503 |
%{_libdir}/pulse-%{apiver}/modules/module-intended-roles.so |
504 |
%{_libdir}/pulse-%{apiver}/modules/module-loopback.so |
505 |
%{_libdir}/pulse-%{apiver}/modules/module-match.so |
506 |
%{_libdir}/pulse-%{apiver}/modules/module-mmkbd-evdev.so |
507 |
%{_libdir}/pulse-%{apiver}/modules/module-native-protocol-fd.so |
508 |
%{_libdir}/pulse-%{apiver}/modules/module-native-protocol-tcp.so |
509 |
%{_libdir}/pulse-%{apiver}/modules/module-native-protocol-unix.so |
510 |
%{_libdir}/pulse-%{apiver}/modules/module-null-sink.so |
511 |
%{_libdir}/pulse-%{apiver}/modules/module-null-source.so |
512 |
%{_libdir}/pulse-%{apiver}/modules/module-oss.so |
513 |
%{_libdir}/pulse-%{apiver}/modules/module-pipe-sink.so |
514 |
%{_libdir}/pulse-%{apiver}/modules/module-pipe-source.so |
515 |
%{_libdir}/pulse-%{apiver}/modules/module-raop-sink.so |
516 |
%{_libdir}/pulse-%{apiver}/modules/module-rygel-media-server.so |
517 |
%{_libdir}/pulse-%{apiver}/modules/module-position-event-sounds.so |
518 |
%{_libdir}/pulse-%{apiver}/modules/module-rescue-streams.so |
519 |
%{_libdir}/pulse-%{apiver}/modules/module-rtp-recv.so |
520 |
%{_libdir}/pulse-%{apiver}/modules/module-rtp-send.so |
521 |
%{_libdir}/pulse-%{apiver}/modules/module-simple-protocol-tcp.so |
522 |
%{_libdir}/pulse-%{apiver}/modules/module-simple-protocol-unix.so |
523 |
%{_libdir}/pulse-%{apiver}/modules/module-sine.so |
524 |
%{_libdir}/pulse-%{apiver}/modules/module-sine-source.so |
525 |
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-sink.so |
526 |
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-source.so |
527 |
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-sink-new.so |
528 |
%{_libdir}/pulse-%{apiver}/modules/module-tunnel-source-new.so |
529 |
%{_libdir}/pulse-%{apiver}/modules/module-udev-detect.so |
530 |
%{_libdir}/pulse-%{apiver}/modules/module-volume-restore.so |
531 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-sink.so |
532 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-source.so |
533 |
%{_libdir}/pulse-%{apiver}/modules/module-stream-restore.so |
534 |
%{_libdir}/pulse-%{apiver}/modules/module-suspend-on-idle.so |
535 |
%{_libdir}/pulse-%{apiver}/modules/module-default-device-restore.so |
536 |
%{_libdir}/pulse-%{apiver}/modules/module-ladspa-sink.so |
537 |
%{_libdir}/pulse-%{apiver}/modules/module-remap-sink.so |
538 |
%{_libdir}/pulse-%{apiver}/modules/module-remap-source.so |
539 |
%{_libdir}/pulse-%{apiver}/modules/module-switch-on-connect.so |
540 |
%{_libdir}/pulse-%{apiver}/modules/module-filter-apply.so |
541 |
%{_libdir}/pulse-%{apiver}/modules/module-filter-heuristics.so |
542 |
%{_libdir}/pulse-%{apiver}/modules/module-virtual-surround-sink.so |
543 |
%{_libdir}/pulse-%{apiver}/modules/module-switch-on-port-available.so |
544 |
%{_libdir}/pulse-%{apiver}/modules/module-role-ducking.so |
545 |
|
546 |
|
547 |
%files -n %{libname} |
548 |
%defattr(-,root,root) |
549 |
%{_libdir}/libpulse.so.%{major}* |
550 |
%{_libdir}/libpulse-simple.so.%{major}* |
551 |
%dir %{_libdir}/%{name} |
552 |
# (cg) Although the following is not a shared library, putting this file here |
553 |
# will allow padsp to work on dual arch machines... (e.g. using padsp to start |
554 |
# a 32-bit app). |
555 |
%{_libdir}/%{name}/libpulsedsp.so |
556 |
|
557 |
%files -n %{corelibname} |
558 |
%{_libdir}/libpulsecore-%{apiver}.so |
559 |
|
560 |
%files -n %{commonlibname} |
561 |
%dir %{_libdir}/%{name} |
562 |
%{_libdir}/%{name}/libpulsecommon-%{apiver}.so |
563 |
|
564 |
%files client-config |
565 |
%defattr(-,root,root) |
566 |
%dir %{_sysconfdir}/pulse |
567 |
%config(noreplace) %{_sysconfdir}/pulse/client.conf |
568 |
%dir %{_sysconfdir}/sound/profiles/pulse |
569 |
%{_sysconfdir}/sound/profiles/pulse/profile.conf |
570 |
|
571 |
|
572 |
%files -n %{glib2libname} |
573 |
%defattr(-,root,root) |
574 |
%{_libdir}/libpulse-mainloop-glib.so.%{glib2major}* |
575 |
|
576 |
%files -n %{libname_devel} |
577 |
%doc doxygen/html |
578 |
%defattr(-,root,root) |
579 |
%{_libdir}/libpulse.so |
580 |
%{_libdir}/libpulse-mainloop-glib.so |
581 |
%{_libdir}/libpulse-simple.so |
582 |
%dir %{_includedir}/pulse |
583 |
%{_includedir}/pulse/*.h |
584 |
%{_libdir}/pkgconfig/*.pc |
585 |
%{_libdir}/cmake/PulseAudio |
586 |
%{_datadir}/vala/vapi/libpulse.deps |
587 |
%{_datadir}/vala/vapi/libpulse.vapi |
588 |
%{_datadir}/vala/vapi/libpulse-mainloop-glib.deps |
589 |
%{_datadir}/vala/vapi/libpulse-mainloop-glib.vapi |
590 |
|
591 |
|
592 |
%files esound-compat |
593 |
%defattr(-,root,root) |
594 |
%config(noreplace) %{_sysconfdir}/esd.conf |
595 |
%{_bindir}/esdcompat |
596 |
%{_bindir}/esd |
597 |
%{_mandir}/man1/esdcompat.1.* |
598 |
|
599 |
%if !%bootstrap |
600 |
%files module-bluetooth |
601 |
%defattr(-,root,root) |
602 |
%{_libdir}/pulse-%{apiver}/modules/libbluez5-util.so |
603 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-discover.so |
604 |
%{_libdir}/pulse-%{apiver}/modules/module-bluetooth-policy.so |
605 |
%{_libdir}/pulse-%{apiver}/modules/module-bluez5-device.so |
606 |
%{_libdir}/pulse-%{apiver}/modules/module-bluez5-discover.so |
607 |
%endif |
608 |
|
609 |
|
610 |
%files module-lirc |
611 |
%defattr(-,root,root) |
612 |
%{_libdir}/pulse-%{apiver}/modules/module-lirc.so |
613 |
|
614 |
%files module-x11 |
615 |
%defattr(-,root,root) |
616 |
%{_sysconfdir}/X11/xinit.d/50%{name} |
617 |
%{_bindir}/pax11publish |
618 |
%{_bindir}/start-pulseaudio-x11 |
619 |
%{_bindir}/start-pulseaudio-kde |
620 |
%{_mandir}/man1/pax11publish.1.* |
621 |
%{_mandir}/man1/start-pulseaudio-x11.1.* |
622 |
%{_mandir}/man1/start-pulseaudio-kde.1.* |
623 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-bell.so |
624 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-cork-request.so |
625 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-publish.so |
626 |
%{_libdir}/pulse-%{apiver}/modules/module-x11-xsmp.so |
627 |
%{_sysconfdir}/xdg/autostart/pulseaudio.desktop |
628 |
%{_sysconfdir}/xdg/autostart/pulseaudio-kde.desktop |
629 |
|
630 |
%files module-zeroconf |
631 |
%defattr(-,root,root) |
632 |
%{_libdir}/pulse-%{apiver}/modules/libavahi-wrap.so |
633 |
%{_libdir}/pulse-%{apiver}/modules/module-zeroconf-discover.so |
634 |
%{_libdir}/pulse-%{apiver}/modules/module-zeroconf-publish.so |
635 |
%{_libdir}/pulse-%{apiver}/modules/module-raop-discover.so |
636 |
|
637 |
%files module-jack |
638 |
%defattr(-,root,root) |
639 |
%{_libdir}/pulse-%{apiver}/modules/module-jack-sink.so |
640 |
%{_libdir}/pulse-%{apiver}/modules/module-jack-source.so |
641 |
%{_libdir}/pulse-%{apiver}/modules/module-jackdbus-detect.so |
642 |
|
643 |
%files module-gconf |
644 |
%defattr(-,root,root) |
645 |
%{_libdir}/pulse-%{apiver}/modules/module-gconf.so |
646 |
%dir %{_libexecdir}/pulse/ |
647 |
%{_libexecdir}/pulse/gconf-helper |
648 |
|
649 |
%files module-equalizer |
650 |
%defattr(-,root,root) |
651 |
%{_bindir}/qpaeq |
652 |
%{_libdir}/pulse-%{apiver}/modules/module-equalizer-sink.so |
653 |
|
654 |
%ifarch %{ix86} x86_64 ia64 |
655 |
%files module-xen |
656 |
%defattr(-,root,root) |
657 |
%{_libdir}/pulse-%{apiver}/modules/module-xenpv-sink.so |
658 |
%endif |
659 |
|
660 |
%files utils |
661 |
%defattr(-,root,root) |
662 |
%{_sysconfdir}/bash_completion.d/pulseaudio-bash-completion.sh |
663 |
%{_bindir}/pacat |
664 |
%{_bindir}/pacmd |
665 |
%{_bindir}/pactl |
666 |
%{_bindir}/padsp |
667 |
%{_bindir}/pamon |
668 |
%{_bindir}/paplay |
669 |
%{_bindir}/parec |
670 |
%{_bindir}/parecord |
671 |
%{_bindir}/pasuspender |
672 |
%{_mandir}/man1/pacat.1.* |
673 |
%{_mandir}/man1/pacmd.1.* |
674 |
%{_mandir}/man1/pactl.1.* |
675 |
%{_mandir}/man1/padsp.1.* |
676 |
%{_mandir}/man1/paplay.1.* |
677 |
%{_mandir}/man1/pasuspender.1.* |
678 |
|
679 |
|