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