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