forked from pool/pulseaudio
Takashi Iwai
3b771e2999
- Update to 6.0 RC1 (5.99.1) + Remove patch pulseaudio-bnc881524-rtp.patch + Update patch disabled-start.diff + Bash&zsh completion split to separate subpackage + json-c >= 0.11 is now required (note: break build on oS 13.1) - Fix %postun for system-wide mode Note this contain patches removed by Takashi, so it may reintroduce boo#905418 at al. Also consider if it is worth forwarding to factory now as (AFAIK) there are no pulseaudio tests in openQA so far and I'll start some tests only later today. OBS-URL: https://build.opensuse.org/request/show/262679 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=148
673 lines
24 KiB
RPMSpec
673 lines
24 KiB
RPMSpec
#
|
|
# spec file for package pulseaudio
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: pulseaudio
|
|
Version: 5.99.1
|
|
Release: 0
|
|
%define drvver 5.99
|
|
%define soname 0
|
|
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
|
|
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
|
|
# store bluez version from bluez-devel and check for bluez4/5
|
|
# _bluezVersion is than also used in requires for bluetooth subpackage
|
|
# once oS 12.3 is EOL, this can be removed as there will probably be nothing providing bluez4
|
|
%define _bluezVersion %(LC_ALL="C" rpm --qf '%%{VERSION}' -q bluez-devel | grep -v 'not installed')
|
|
%define _bluez5used 0%(echo "%{_bluezVersion}" | grep -q '^5' && echo 1)
|
|
Summary: A Networked Sound Server
|
|
License: GPL-2.0+ and LGPL-2.1+
|
|
Group: System/Sound Daemons
|
|
Url: http://pulseaudio.org
|
|
Source: http://www.freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz
|
|
Source1: default.pa-for-gdm
|
|
Source2: setup-pulseaudio
|
|
Source3: sysconfig.sound-pulseaudio
|
|
Source4: pulseaudio-server.fw
|
|
Source5: pulseaudio.service
|
|
Source99: baselibs.conf
|
|
Patch0: disabled-start.diff
|
|
Patch1: suppress-socket-error-msg.diff
|
|
Patch2: pulseaudio-wrong-memset.patch
|
|
BuildRequires: alsa-devel >= 1.0.19
|
|
# require only minimal bluez, if we are on bluez 5 we will determine in %build phase
|
|
BuildRequires: bluez-devel >= 4.99
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: intltool
|
|
BuildRequires: jack-devel
|
|
BuildRequires: libatomic_ops-devel >= 1.2
|
|
BuildRequires: libavahi-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libsamplerate-devel
|
|
BuildRequires: libsndfile-devel >= 1.0.18
|
|
#our libtdb-devel does not have a .pc file
|
|
BuildRequires: fftw3-devel >= 3.0
|
|
BuildRequires: libcap-devel
|
|
BuildRequires: libtdb-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libudev-devel >= 143
|
|
BuildRequires: libwebrtc_audio_processing-devel
|
|
BuildRequires: lirc-devel
|
|
BuildRequires: orc >= 0.4.9
|
|
BuildRequires: speex-devel
|
|
BuildRequires: systemd
|
|
BuildRequires: systemd-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(dbus-1) >= 1.4.12
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(ice)
|
|
BuildRequires: pkgconfig(json) >= 0.11
|
|
BuildRequires: pkgconfig(sbc) >= 1.0
|
|
BuildRequires: pkgconfig(sm)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
BuildRequires: pkgconfig(xcb)
|
|
BuildRequires: pkgconfig(xtst)
|
|
PreReq: %fillup_prereq
|
|
PreReq: pwdutils
|
|
Requires: rtkit
|
|
Requires: udev >= 146
|
|
## needs the same liborc version which was used to build against
|
|
%requires_eq liborc-0_4-0
|
|
Recommends: %{name}-lang
|
|
Recommends: %{name}-bash-completion
|
|
Recommends: alsa-plugins-pulse
|
|
Obsoletes: libpulsecore9 < 0.9.15
|
|
Provides: libpulsecore9 = 0.9.15
|
|
Obsoletes: libpulsecore7 < 0.9.13
|
|
Provides: libpulsecore7 = 0.9.13
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Conflicts: kernel < 2.6.31
|
|
|
|
%description
|
|
pulseaudio is a networked sound server for Linux, other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
%package esound-compat
|
|
Summary: ESOUND compatibility for PulseAudio
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
Provides: esound-daemon = 0.2.41
|
|
Obsoletes: esound-daemon < 0.2.41
|
|
|
|
%description esound-compat
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package provides the compatibility layer for drop-in replacement
|
|
of ESOUND.
|
|
|
|
%package module-lirc
|
|
Summary: LIRC module for PulseAudio
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
|
|
%description module-lirc
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package provides support for IR and RF remotes.
|
|
|
|
%package module-x11
|
|
Summary: X11 module for PulseAudio
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
Requires: %{name}-utils = %{version}
|
|
|
|
%description module-x11
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package provides the components needed to automatically start
|
|
the PulseAudio sound server on X11 startup.
|
|
|
|
%package module-zeroconf
|
|
Summary: Zeroconf module for PulseAudio
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
|
|
%description module-zeroconf
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package provides zeroconf network support for the PulseAudio sound server
|
|
|
|
%package system-wide
|
|
Summary: Support for running PulseAudio daemon system wide
|
|
Group: System/Sound Daemons
|
|
Requires: %{name}
|
|
Requires: systemd
|
|
%systemd_requires
|
|
|
|
%description system-wide
|
|
PulseAudio daemon can be run as a system-wide instance which than can be shared
|
|
by multiple local users. We recommend running the PulseAudio daemon per-user,
|
|
just like the traditional ESD sound daemon. In some situations however, such as
|
|
embedded systems where no real notion of a user exists, it makes sense to use
|
|
the system-wide mode.
|
|
|
|
Before you now go ahead and use it please read about what is wrong with system
|
|
mode:
|
|
|
|
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide
|
|
|
|
|
|
%package module-jack
|
|
Summary: JACK support for the PulseAudio sound server
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
|
|
%description module-jack
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package includes support for Jack-based applications.
|
|
|
|
%package module-bluetooth
|
|
Summary: Bluetooth support for the PulseAudio sound server
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
Requires: bluez >= %{_bluezVersion}
|
|
|
|
%description module-bluetooth
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
Contains Bluetooth audio (A2DP/HSP/HFP) support for the PulseAudio sound server.
|
|
|
|
%package module-gconf
|
|
Summary: GCONF module for PulseAudio
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
|
|
%description module-gconf
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package provides gconf storage of PulseAudio sound server settings.
|
|
|
|
%package -n libpulse%{soname}
|
|
Summary: Client interface to PulseAudio
|
|
Group: System/Libraries
|
|
Provides: pulseaudio-libs = %{version}
|
|
Obsoletes: pulseaudio-libs < %{version}
|
|
|
|
%description -n libpulse%{soname}
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package contains the system libraries for clients of pulseaudio
|
|
sound server.
|
|
|
|
%package -n libpulse-mainloop-glib%{soname}
|
|
Summary: GLIB 2.0 Main Loop wrapper for PulseAudio
|
|
Group: System/Sound Daemons
|
|
Provides: pulseaudio-libs-glib2 = %{version}
|
|
Obsoletes: pulseaudio-libs-glib2 < %{version}
|
|
|
|
%description -n libpulse-mainloop-glib%{soname}
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package contains the GLIB Main Loop bindings for the PulseAudio
|
|
sound server.
|
|
|
|
%package -n libpulse-devel
|
|
Summary: Development package for the pulseaudio library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libpulse%{soname} = %{version}
|
|
Requires: libpulse-mainloop-glib%{soname} = %{version}
|
|
Requires: pkgconfig
|
|
Requires: pkgconfig(glib-2.0)
|
|
Provides: pulseaudio-devel = %{version}
|
|
Obsoletes: pulseaudio-devel < %{version}
|
|
|
|
%description -n libpulse-devel
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package contains the files needed to compile programs that use the
|
|
pulseaudio library.
|
|
|
|
%package utils
|
|
Summary: PulseAudio utilities
|
|
Group: System/Sound Daemons
|
|
Requires: %{name} = %{version}
|
|
Requires: libpulse%{soname} = %{version}
|
|
Requires: libpulse-mainloop-glib%{soname} = %{version}
|
|
|
|
%description utils
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package provides utilies for making use of the PulseAudio sound
|
|
server.
|
|
|
|
%package gdm-hooks
|
|
Summary: PulseAudio GDM integration
|
|
Group: Productivity/Multimedia/Other
|
|
Requires: %{name} = %{version}
|
|
Requires: gdm >= 2.22
|
|
#for the gdm user
|
|
Requires(pre): gdm
|
|
#avoid cycle
|
|
#!BuildIgnore: gdm
|
|
|
|
%description gdm-hooks
|
|
pulseaudio is a networked sound server for Linux and other Unix like
|
|
operating systems and Microsoft Windows. It is intended to be an
|
|
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
|
|
|
|
This package contains GDM integration hooks for the PulseAudio sound server.
|
|
|
|
%package bash-completion
|
|
Summary: PulseAudio Bash completion
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Requires: bash
|
|
|
|
%description bash-completion
|
|
Optional dependency offering bash completion for various PulseAudio utilities
|
|
|
|
%package zsh-completion
|
|
Summary: PulseAudio zsh completion
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Requires: zsh
|
|
|
|
%description zsh-completion
|
|
Optional dependency offering zsh completion for various PulseAudio utilities
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q -T -b0
|
|
%patch0
|
|
%patch1 -p1
|
|
%patch2
|
|
|
|
%build
|
|
echo 'HTML_TIMESTAMP=NO' >> doxygen/doxygen.conf.in
|
|
%configure \
|
|
--disable-static \
|
|
--disable-rpath \
|
|
--enable-systemd \
|
|
%ifarch armv5tel armv6hl
|
|
--disable-neon-opt \
|
|
%endif
|
|
--with-system-user=pulse \
|
|
--with-system-group=pulse \
|
|
--with-access-group=pulse-access \
|
|
--disable-hal-compat \
|
|
%if 0%{?_bluez5used}
|
|
--disable-bluez4 \
|
|
%else
|
|
--disable-bluez5 \
|
|
%endif
|
|
--with-udev-rules-dir=%{_udevrulesdir}
|
|
make %{?_smp_mflags} V=1
|
|
make doxygen
|
|
|
|
%install
|
|
%make_install
|
|
rm -rf \
|
|
"%{buildroot}%{_libdir}"/*.la \
|
|
"%{buildroot}%{_libdir}/pulse-%{drvver}/modules"/*.la \
|
|
"%{buildroot}%{_libdir}/pulseaudio"/*.la
|
|
|
|
# configure --disable-static had no effect; delete manually.
|
|
rm -rf "%{buildroot}%{_libdir}"/*.a
|
|
|
|
install -D -m 0644 %{SOURCE5} %{buildroot}/usr/lib/systemd/system/%{name}.service
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
|
|
|
# openSUSE 11.3 cannot find the .desktop files
|
|
%suse_update_desktop_file pulseaudio
|
|
%find_lang %{name}
|
|
install %{SOURCE2} %{buildroot}%{_bindir}
|
|
chmod 755 %{buildroot}%{_bindir}/setup-pulseaudio
|
|
install -d %{buildroot}%{_localstatedir}/adm/fillup-templates
|
|
install -m 0644 %{SOURCE3} %{buildroot}%{_localstatedir}/adm/fillup-templates
|
|
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
|
touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.sh
|
|
touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.csh
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/gdm/.pulse
|
|
cp $RPM_SOURCE_DIR/default.pa-for-gdm %{buildroot}%{_localstatedir}/lib/gdm/.pulse/default.pa
|
|
ln -s esdcompat %{buildroot}%{_bindir}/esd
|
|
# install firewall rule on SUSE
|
|
%if %{defined suse_version}
|
|
mkdir -p %{buildroot}/%{_fwdefdir}
|
|
install -m 0644 %{S:4} %{buildroot}/%{_fwdefdir}/pulseaudio-server
|
|
%endif
|
|
%fdupes doxygen/html
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf '%{buildroot}'}
|
|
|
|
%pre
|
|
getent group pulse >/dev/null || groupadd -r pulse
|
|
getent passwd pulse >/dev/null || useradd -r -g pulse -d /var/lib/pulseaudio -s /sbin/nologin -c "PulseAudio daemon" pulse
|
|
getent group pulse-access >/dev/null || groupadd -r pulse-access
|
|
getent group audio | grep pulse >/dev/null || usermod -a -G audio pulse
|
|
exit 0
|
|
|
|
%post -n libpulse%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libpulse%{soname} -p /sbin/ldconfig
|
|
|
|
%post -n libpulse-mainloop-glib%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libpulse-mainloop-glib%{soname} -p /sbin/ldconfig
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
%{fillup_only -an sound}
|
|
# Update the /etc/profile.d/pulseaudio.* files
|
|
setup-pulseaudio --auto > /dev/null
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%pre system-wide
|
|
%service_add_pre pulseaudio.service
|
|
exit 0
|
|
|
|
%post system-wide
|
|
%service_add_post pulseaudio.service
|
|
exit 0
|
|
|
|
%preun system-wide
|
|
%service_del_preun pulseaudio.service
|
|
exit 0
|
|
|
|
%postun system-wide
|
|
%service_del_postun pulseaudio.service
|
|
exit 0
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README LICENSE GPL LGPL
|
|
%{_bindir}/pulseaudio
|
|
%{_bindir}/setup-pulseaudio
|
|
%{_bindir}/qpaeq
|
|
%dir %{_datadir}/pulseaudio
|
|
%{_datadir}/pulseaudio/alsa-mixer
|
|
%{_localstatedir}/adm/fillup-templates/sysconfig.sound-pulseaudio
|
|
%{_libdir}/libpulsecore-%{drvver}.so
|
|
%dir %{_libdir}/pulseaudio
|
|
%{_libdir}/pulseaudio/libpulsedsp.so
|
|
%dir %{_libdir}/pulse-%{drvver}/
|
|
%dir %{_libdir}/pulse-%{drvver}/modules/
|
|
%{_libdir}/pulse-%{drvver}/modules/libalsa-util.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libcli.so
|
|
%{_libdir}/pulse-%{drvver}/modules/liboss-util.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libprotocol-cli.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libprotocol-esound.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libprotocol-http.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libprotocol-native.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libprotocol-simple.so
|
|
%{_libdir}/pulse-%{drvver}/modules/librtp.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libwebrtc-util.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-alsa-card.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-alsa-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-alsa-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-always-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-augment-properties.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-card-restore.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-cli.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-tcp.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-unix.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-combine.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-combine-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-console-kit.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-dbus-protocol.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-default-device-restore.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-detect.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-device-manager.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-device-restore.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-echo-cancel.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnfd.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnpid.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-tcp.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-unix.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-esound-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-equalizer-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-filter-apply.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-filter-heuristics.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-tcp.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-unix.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-intended-roles.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-ladspa-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-loopback.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-match.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-mmkbd-evdev.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-fd.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-tcp.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-unix.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-null-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-null-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-oss.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-pipe-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-pipe-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-position-event-sounds.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-remap-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-rescue-streams.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-role-cork.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-rtp-recv.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-rtp-send.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-rygel-media-server.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-tcp.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-unix.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-sine.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-sine-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-stream-restore.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-suspend-on-idle.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-switch-on-connect.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-switch-on-port-available.so
|
|
%if 0%{?suse_version} >= 1210
|
|
%{_libdir}/pulse-%{drvver}/modules/module-systemd-login.so
|
|
%endif
|
|
%{_libdir}/pulse-%{drvver}/modules/module-tunnel-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-tunnel-sink-new.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-tunnel-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-tunnel-source-new.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-udev-detect.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-virtual-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-virtual-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-virtual-surround-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-remap-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-role-ducking.so
|
|
%{_udevrulesdir}/90-pulseaudio.rules
|
|
%doc %{_mandir}/man1/pulseaudio.1*
|
|
%doc %{_mandir}/man5/default.pa.5*
|
|
%doc %{_mandir}/man5/pulse-client.conf.5*
|
|
%doc %{_mandir}/man5/pulse-daemon.conf.5*
|
|
%doc %{_mandir}/man5/pulse-cli-syntax.5*
|
|
%dir %{_sysconfdir}/pulse/
|
|
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf
|
|
%config(noreplace) %{_sysconfdir}/pulse/default.pa
|
|
%config(noreplace) %{_sysconfdir}/pulse/system.pa
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf
|
|
# init
|
|
%dir %{_libexecdir}/systemd
|
|
%dir %{_libexecdir}/systemd/user
|
|
%{_libexecdir}/systemd/user/%{name}.service
|
|
%{_libexecdir}/systemd/user/%{name}.socket
|
|
|
|
|
|
%if %{defined suse_version}
|
|
%config(noreplace) %{_fwdefdir}/pulseaudio-server
|
|
%endif
|
|
# created by setup-pulseaudio script
|
|
%ghost %{_sysconfdir}/profile.d/pulseaudio.sh
|
|
%ghost %{_sysconfdir}/profile.d/pulseaudio.csh
|
|
|
|
%files esound-compat
|
|
%defattr(-,root,root)
|
|
%{_bindir}/esdcompat
|
|
%{_bindir}/esd
|
|
%doc %{_mandir}/man1/esdcompat.1*
|
|
|
|
%files gdm-hooks
|
|
%defattr(-,root,root)
|
|
%attr(0750, gdm, gdm) %dir %{_localstatedir}/lib/gdm
|
|
%attr(0700, gdm, gdm) %dir %{_localstatedir}/lib/gdm/.pulse
|
|
%attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa
|
|
|
|
%files -n libpulse%{soname}
|
|
%defattr(-,root,root)
|
|
%doc README LICENSE GPL LGPL
|
|
%dir %{_sysconfdir}/pulse/
|
|
%config(noreplace) %{_sysconfdir}/pulse/client.conf
|
|
%{_libdir}/libpulse.so.%{soname}
|
|
%{_libdir}/libpulse.so.%{soname}.*
|
|
%{_libdir}/libpulse-simple.so.*
|
|
%dir %{_libdir}/pulseaudio
|
|
%{_libdir}/pulseaudio/libpulsecommon-%{drvver}.so
|
|
|
|
%files -n libpulse-devel
|
|
%defattr(-,root,root)
|
|
%doc doxygen/html
|
|
%{_includedir}/pulse/
|
|
%{_libdir}/libpulse.so
|
|
%{_libdir}/libpulse-mainloop-glib.so
|
|
%{_libdir}/libpulse-simple.so
|
|
%{_libdir}/pkgconfig/libpulse*.pc
|
|
%dir %{_libdir}/cmake
|
|
%dir %{_libdir}/cmake/PulseAudio
|
|
%{_libdir}/cmake/PulseAudio/PulseAudio*.cmake
|
|
%{_datadir}/vala
|
|
|
|
%files -n libpulse-mainloop-glib%{soname}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libpulse-mainloop-glib.so.%{soname}
|
|
%{_libdir}/libpulse-mainloop-glib.so.%{soname}.*
|
|
|
|
%files module-bluetooth
|
|
%defattr(-,root,root)
|
|
%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-policy.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so
|
|
%if 0%{?_bluez5used}
|
|
%{_libdir}/pulse-%{drvver}/modules/libbluez5-util.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-bluez5-device.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-bluez5-discover.so
|
|
%else
|
|
%{_libdir}/pulse-%{drvver}/modules/libbluez4-util.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-bluez4-device.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-bluez4-discover.so
|
|
%endif
|
|
|
|
%files module-gconf
|
|
%defattr(-,root,root)
|
|
%dir %{_libexecdir}/pulse
|
|
%{_libdir}/pulse-%{drvver}/modules/module-gconf.so
|
|
%{_libexecdir}/pulse/gconf-helper
|
|
|
|
%files module-lirc
|
|
%defattr(-,root,root)
|
|
%{_libdir}/pulse-%{drvver}/modules/module-lirc.so
|
|
|
|
%files module-jack
|
|
%defattr(-,root,root)
|
|
%{_libdir}/pulse-%{drvver}/modules/module-jack-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-jack-source.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-jackdbus-detect.so
|
|
|
|
%files module-x11
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/xdg/autostart/pulseaudio.desktop
|
|
%{_bindir}/start-pulseaudio-x11
|
|
%{_libdir}/pulse-%{drvver}/modules/module-x11-bell.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-x11-cork-request.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-x11-publish.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-x11-xsmp.so
|
|
%doc %{_mandir}/man1/start-pulseaudio-x11.1*
|
|
|
|
%files module-zeroconf
|
|
%defattr(-,root,root)
|
|
%{_libdir}/pulse-%{drvver}/modules/libavahi-wrap.so
|
|
%{_libdir}/pulse-%{drvver}/modules/libraop.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-raop-discover.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-raop-sink.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-discover.so
|
|
%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-publish.so
|
|
|
|
%files utils
|
|
%defattr(-,root,root)
|
|
%{_bindir}/pacat
|
|
%{_bindir}/pacmd
|
|
%{_bindir}/pactl
|
|
%{_bindir}/paplay
|
|
%{_bindir}/parec
|
|
%{_bindir}/pamon
|
|
%{_bindir}/parecord
|
|
%{_bindir}/pax11publish
|
|
%{_bindir}/padsp
|
|
%{_bindir}/pasuspender
|
|
%doc %{_mandir}/man1/pacat.1*
|
|
%doc %{_mandir}/man1/pacmd.1*
|
|
%doc %{_mandir}/man1/pactl.1*
|
|
%doc %{_mandir}/man1/paplay.1*
|
|
%doc %{_mandir}/man1/pasuspender.1*
|
|
%doc %{_mandir}/man1/padsp.1*
|
|
%doc %{_mandir}/man1/pax11publish.1*
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files system-wide
|
|
%defattr(-,root,root)
|
|
%{_sbindir}/rc%{name}
|
|
%dir %{_libexecdir}/systemd/system
|
|
%{_libexecdir}/systemd/system/%{name}.service
|
|
|
|
%files bash-completion
|
|
%defattr(-,root,root)
|
|
%dir %{_sysconfdir}/bash_completion.d
|
|
%config %{_sysconfdir}/bash_completion.d/pulseaudio
|
|
%config %{_sysconfdir}/bash_completion.d/pacat
|
|
%config %{_sysconfdir}/bash_completion.d/pacmd
|
|
%config %{_sysconfdir}/bash_completion.d/pactl
|
|
%config %{_sysconfdir}/bash_completion.d/padsp
|
|
%config %{_sysconfdir}/bash_completion.d/paplay
|
|
%config %{_sysconfdir}/bash_completion.d/parec
|
|
%config %{_sysconfdir}/bash_completion.d/parecord
|
|
%config %{_sysconfdir}/bash_completion.d/pasuspender
|
|
|
|
%files zsh-completion
|
|
%defattr(-,root,root)
|
|
%dir %{_datarootdir}/zsh
|
|
%dir %{_datarootdir}/zsh/site-functions/
|
|
%config %{_datarootdir}/zsh/site-functions/_pulseaudio
|
|
|
|
%changelog
|