2007-01-16 00:33:38 +01:00
#
2011-01-25 10:19:19 +01:00
# spec file for package pulseaudio
2007-01-16 00:33:38 +01:00
#
2013-01-21 09:12:47 +01:00
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-16 00:33:38 +01:00
#
2008-08-13 15:06:38 +02:00
# 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.
2007-01-16 00:33:38 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-01-12 21:32:50 +01:00
2007-01-16 00:33:38 +01:00
Name : pulseaudio
2014-02-24 17:39:02 +01:00
Version : 4.99.4
2011-12-27 14:32:45 +01:00
Release : 0
2014-01-24 11:23:29 +01:00
%define drvver 4.99
2012-05-24 19:47:20 +02:00
%define soname 0
2012-11-04 03:58:58 +01:00
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
2013-06-28 09:26:41 +02:00
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
2013-10-23 16:54:26 +02:00
# 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)
2011-10-01 19:29:02 +02:00
Summary : A Networked Sound Server
2012-10-23 10:14:00 +02:00
License : GPL-2.0+ and LGPL-2.1+
2007-01-16 00:33:38 +01:00
Group : System/Sound Daemons
2011-12-27 14:32:45 +01:00
Url : http://pulseaudio.org
2014-02-24 17:39:02 +01:00
Source : http://www.freedesktop.org/software/pulseaudio/releases/%{name} -%{version} .tar.xz
2009-09-05 02:49:24 +02:00
Source1 : default.pa-for-gdm
2008-09-22 18:12:49 +02:00
Source2 : setup-pulseaudio
2011-07-22 18:27:43 +02:00
Source3 : sysconfig.sound-pulseaudio
2013-06-28 09:26:41 +02:00
Source4 : pulseaudio-server.fw
2013-10-10 19:31:32 +02:00
Source5 : pulseaudio.service
2009-12-26 13:42:06 +01:00
Source99 : baselibs.conf
2010-02-11 19:31:33 +01:00
Patch0 : disabled-start.diff
2011-07-29 17:28:07 +02:00
Patch1 : suppress-socket-error-msg.diff
2011-12-27 14:32:45 +01:00
Patch2 : pulseaudio-wrong-memset.patch
2014-02-24 17:39:02 +01:00
# PATCH-FIX-UPSTREAM pulseaudio-revert-protocol-native.patch zaitor@opensuse.org -- Revert a commit from 4.99.4 release, patch taken from upstream git.
Patch3 : pulseaudio-revert-protocol-native.patch
2013-06-04 21:15:13 +02:00
BuildRequires : alsa-devel >= 1.0.24
2013-10-23 16:54:26 +02:00
# require only minimal bluez, if we are on bluez 5 we will determine in %build phase
BuildRequires : bluez-devel >= 4.99
2009-05-28 01:38:59 +02:00
BuildRequires : doxygen
2011-10-01 19:29:02 +02:00
BuildRequires : fdupes
2012-05-24 19:47:20 +02:00
BuildRequires : gcc-c++
2009-05-28 01:38:59 +02:00
BuildRequires : intltool
BuildRequires : jack-devel
2013-06-04 21:15:13 +02:00
BuildRequires : libatomic_ops-devel >= 1.2
2009-05-28 01:38:59 +02:00
BuildRequires : libavahi-devel
BuildRequires : libopenssl-devel
BuildRequires : libsamplerate-devel
2013-06-04 21:15:13 +02:00
BuildRequires : libsndfile-devel >= 1.0.18
2009-09-05 02:49:24 +02:00
#our libtdb-devel does not have a .pc file
2013-06-04 21:15:13 +02:00
BuildRequires : fftw3-devel >= 3.0
2012-05-24 19:47:20 +02:00
BuildRequires : libcap-devel
2011-08-26 05:50:33 +02:00
BuildRequires : libtdb-devel
2011-10-01 19:29:02 +02:00
BuildRequires : libtool
2009-09-05 02:49:24 +02:00
BuildRequires : libudev-devel >= 143
2012-05-24 19:47:20 +02:00
BuildRequires : libwebrtc_audio_processing-devel
2011-10-01 19:29:02 +02:00
BuildRequires : lirc-devel
2013-06-04 21:15:13 +02:00
BuildRequires : orc >= 0.4.9
2009-05-28 01:38:59 +02:00
BuildRequires : speex-devel
2013-10-10 19:31:32 +02:00
BuildRequires : systemd
BuildRequires : systemd-devel
2009-05-28 01:38:59 +02:00
BuildRequires : tcpd-devel
2011-02-15 22:40:16 +01:00
BuildRequires : translation-update-upstream
2009-05-28 01:38:59 +02:00
BuildRequires : update-desktop-files
BuildRequires : xorg-x11-devel
2013-06-04 21:15:13 +02:00
BuildRequires : pkgconfig(dbus-1) >= 1.4.12
2011-10-01 19:29:02 +02:00
BuildRequires : pkgconfig(gconf-2.0)
BuildRequires : pkgconfig(glib-2.0)
2013-06-04 21:15:13 +02:00
BuildRequires : pkgconfig(gtk+-3.0)
2011-08-26 05:50:33 +02:00
BuildRequires : pkgconfig(json) >= 0.9
2013-06-04 21:15:13 +02:00
BuildRequires : pkgconfig(sbc) >= 1.0
2011-07-22 18:27:43 +02:00
PreReq : %fillup_prereq
2008-01-12 03:20:12 +01:00
PreReq : pwdutils
2009-09-05 02:49:24 +02:00
Requires : rtkit
2011-10-01 19:29:02 +02:00
Requires : udev >= 146
2013-06-14 11:02:43 +02:00
## needs the same liborc version which was used to build against
%requires_eq liborc-0_4-0
2011-10-01 19:29:02 +02:00
Recommends: %{name} -lang
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
2009-09-21 21:27:58 +02:00
Conflicts : kernel < 2.6.31
2007-01-16 00:33:38 +01:00
%description
2011-02-15 22:50:14 +01:00
pulseaudio is a networked sound server for Linux, other Unix like
2007-01-16 00:33:38 +01:00
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
2007-12-11 17:43:52 +01:00
%package esound-compat
2008-01-12 03:20:12 +01:00
Summary : ESOUND compatibility for PulseAudio
2007-12-11 17:43:52 +01:00
Group : System/Sound Daemons
2008-01-12 03:20:12 +01:00
Requires : %{name} = %{version}
2009-02-12 22:37:11 +01:00
Provides : esound-daemon = 0.2.41
2011-10-01 19:29:02 +02:00
Obsoletes : esound-daemon < 0.2.41
2007-12-11 17:43:52 +01:00
%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).
2008-01-12 03:20:12 +01:00
This package provides the compatibility layer for drop-in replacement
of ESOUND.
2007-12-11 17:43:52 +01:00
%package module-lirc
2008-01-12 03:20:12 +01:00
Summary : LIRC module for PulseAudio
2007-12-11 17:43:52 +01:00
Group : System/Sound Daemons
2008-01-12 03:20:12 +01:00
Requires : %{name} = %{version}
2007-12-11 17:43:52 +01:00
%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).
2011-10-01 19:29:02 +02:00
This package provides support for IR and RF remotes.
2007-12-11 17:43:52 +01:00
%package module-x11
2008-01-12 03:20:12 +01:00
Summary : X11 module for PulseAudio
2007-12-11 17:43:52 +01:00
Group : System/Sound Daemons
2008-01-12 03:20:12 +01:00
Requires : %{name} = %{version}
2010-04-16 01:45:21 +02:00
Requires : %{name} -utils = %{version}
2007-12-11 17:43:52 +01:00
%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).
2011-10-01 19:29:02 +02:00
This package provides the components needed to automatically start
the PulseAudio sound server on X11 startup.
2007-12-11 17:43:52 +01:00
%package module-zeroconf
2008-01-12 03:20:12 +01:00
Summary : Zeroconf module for PulseAudio
2007-12-11 17:43:52 +01:00
Group : System/Sound Daemons
2008-01-12 03:20:12 +01:00
Requires : %{name} = %{version}
2007-12-11 17:43:52 +01:00
%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).
2011-10-01 19:29:02 +02:00
This package provides zeroconf network support for the PulseAudio sound server
2013-10-10 19:31:32 +02:00
%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
2008-01-23 23:31:09 +01:00
%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
2009-09-05 02:49:24 +02:00
Summary : Bluetooth support for the PulseAudio sound server
2008-01-23 23:31:09 +01:00
Group : System/Sound Daemons
Requires : %{name} = %{version}
2014-02-26 13:55:49 +01:00
Requires : bluez >= %{_bluezVersion}
2008-01-23 23:31:09 +01:00
%description module-bluetooth
2011-10-01 19:29:02 +02:00
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).
2009-09-05 02:49:24 +02:00
Contains Bluetooth audio (A2DP/HSP/HFP) support for the PulseAudio sound server.
2008-01-23 23:31:09 +01:00
2007-12-11 17:43:52 +01:00
%package module-gconf
2008-01-12 03:20:12 +01:00
Summary : GCONF module for PulseAudio
2007-12-11 17:43:52 +01:00
Group : System/Sound Daemons
2008-01-12 03:20:12 +01:00
Requires : %{name} = %{version}
2007-12-11 17:43:52 +01:00
%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).
2011-10-01 19:29:02 +02:00
This package provides gconf storage of PulseAudio sound server settings.
2012-05-24 19:47:20 +02:00
%package -n libpulse%{soname}
2008-01-12 03:20:12 +01:00
Summary : Client interface to PulseAudio
2007-01-16 00:33:38 +01:00
Group : System/Libraries
2011-10-01 19:29:02 +02:00
Provides : pulseaudio-libs = %{version}
2008-01-12 03:20:12 +01:00
Obsoletes : pulseaudio-libs < %{version}
2012-05-24 19:47:20 +02:00
%description -n libpulse%{soname}
2008-01-12 03:20:12 +01:00
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).
2007-01-16 00:33:38 +01:00
This package contains the system libraries for clients of pulseaudio
sound server.
2012-05-24 19:47:20 +02:00
%package -n libpulse-mainloop-glib%{soname}
Summary : GLIB 2.0 Main Loop wrapper for PulseAudio
2007-12-11 17:43:52 +01:00
Group : System/Sound Daemons
2011-10-01 19:29:02 +02:00
Provides : pulseaudio-libs-glib2 = %{version}
2008-01-12 03:20:12 +01:00
Obsoletes : pulseaudio-libs-glib2 < %{version}
2007-12-11 17:43:52 +01:00
2012-05-24 19:47:20 +02:00
%description -n libpulse-mainloop-glib%{soname}
2007-12-11 17:43:52 +01:00
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).
2011-10-01 19:29:02 +02:00
This package contains the GLIB Main Loop bindings for the PulseAudio
sound server.
2008-01-12 03:20:12 +01:00
%package -n libpulse-devel
2007-01-16 00:33:38 +01:00
Summary : Development package for the pulseaudio library
Group : Development/Libraries/C and C++
2012-05-24 19:47:20 +02:00
Requires : libpulse%{soname} = %{version}
Requires : libpulse-mainloop-glib%{soname} = %{version}
2011-10-01 19:29:02 +02:00
Requires : pkgconfig
Requires : pkgconfig(glib-2.0)
Provides : pulseaudio-devel = %{version}
2008-01-12 03:20:12 +01:00
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).
2007-01-16 00:33:38 +01:00
This package contains the files needed to compile programs that use the
pulseaudio library.
2007-12-11 17:43:52 +01:00
%package utils
2008-01-12 03:20:12 +01:00
Summary : PulseAudio utilities
2007-12-11 17:43:52 +01:00
Group : System/Sound Daemons
2009-07-31 18:52:08 +02:00
Requires : %{name} = %{version}
2012-05-24 19:47:20 +02:00
Requires : libpulse%{soname} = %{version}
Requires : libpulse-mainloop-glib%{soname} = %{version}
2007-12-11 17:43:52 +01:00
%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).
2011-10-01 19:29:02 +02:00
This package provides utilies for making use of the PulseAudio sound
server.
2009-09-05 02:49:24 +02:00
%package gdm-hooks
Summary : PulseAudio GDM integration
2011-02-15 22:50:14 +01:00
Group : Productivity/Multimedia/Other
2009-09-05 02:49:24 +02:00
Requires : %{name} = %{version}
Requires : gdm >= 2.22
#for the gdm user
2010-05-15 13:40:46 +02:00
Requires(pre) : gdm
#avoid cycle
#!BuildIgnore: gdm
2009-09-05 02:49:24 +02:00
%description gdm-hooks
2011-10-01 19:29:02 +02:00
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).
2009-09-05 02:49:24 +02:00
This package contains GDM integration hooks for the PulseAudio sound server.
2009-02-09 12:38:22 +01:00
%lang_package
2007-01-16 00:33:38 +01:00
%prep
2014-01-24 11:23:29 +01:00
%setup -q -T -b0
2010-02-11 19:31:33 +01:00
%patch0
2011-01-22 02:35:29 +01:00
%patch1 -p1
2012-05-24 19:47:20 +02:00
%patch2
2014-02-24 17:39:02 +01:00
%patch3 -p1
2007-04-24 13:57:20 +02:00
%build
2009-05-28 01:38:59 +02:00
%configure \
--disable-static \
--disable-rpath \
2012-11-15 15:42:30 +01:00
--enable-systemd \
2013-04-25 16:56:34 +02:00
%ifarch armv5tel armv6hl
--disable-neon-opt \
%endif
2009-05-28 01:38:59 +02:00
--with-system-user=pulse \
--with-system-group=pulse \
2009-09-05 02:49:24 +02:00
--with-access-group=pulse-access \
2013-03-08 14:34:42 +01:00
--disable-hal-compat \
2013-10-23 16:54:26 +02:00
%if 0%{?_bluez5used}
2013-10-07 00:32:49 +02:00
--disable-bluez4 \
2013-10-23 16:54:26 +02:00
%else
--disable-bluez5 \
%endif
2013-09-27 16:33:41 +02:00
--with-udev-rules-dir=%{_udevrulesdir}
2012-03-09 16:59:50 +01:00
make %{?_smp_mflags} V=1
2007-04-24 13:57:20 +02:00
make doxygen
2007-01-16 00:33:38 +01:00
%install
2011-10-01 19:29:02 +02:00
%make_install
2012-05-24 19:47:20 +02:00
rm -rf \
" %{buildroot} %{_libdir} " /*.la \
" %{buildroot} %{_libdir} / p u l s e - %{drvver} / m o d u l e s " /*.la \
" %{buildroot} %{_libdir} / p u l s e a u d i o " /*.la
2007-12-11 17:43:52 +01:00
# configure --disable-static had no effect; delete manually.
2012-05-24 19:47:20 +02:00
rm -rf " %{buildroot} %{_libdir} " /*.a
2013-10-10 19:31:32 +02:00
install -D -m 0644 %{SOURCE5} %{buildroot} /usr/lib/systemd/system/%{name} .service
mkdir -p %{buildroot} %{_sbindir}
ln -s %{_sbindir} /service %{buildroot} %{_sbindir} /rc%{name}
2011-10-01 19:29:02 +02:00
# openSUSE 11.3 cannot find the .desktop files
2009-02-09 12:38:22 +01:00
%suse_update_desktop_file pulseaudio
2011-10-01 19:29:02 +02:00
%suse_update_desktop_file pulseaudio-kde
2009-02-09 12:38:22 +01:00
%find_lang %{name}
2011-10-01 19:29:02 +02:00
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
2013-06-28 09:26:41 +02:00
# install firewall rule on SUSE
%if %{defined suse_version}
mkdir -p %{buildroot} /%{_fwdefdir}
install -m 0644 %{S:4} %{buildroot} /%{_fwdefdir} /pulseaudio-server
%endif
2013-08-21 14:04:17 +02:00
%fdupes doxygen/html
2007-01-16 00:33:38 +01:00
2007-12-11 17:43:52 +01:00
%clean
2012-05-24 19:47:20 +02:00
%{?buildroot:%__rm -rf '%{buildroot}' }
2007-01-16 00:33:38 +01:00
2007-12-11 17:43:52 +01:00
%pre
2013-06-04 21:15:13 +02:00
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 " P u l s e A u d i o d a e m o n " pulse
getent group pulse-access >/dev/null || groupadd -r pulse-access
exit 0
2007-01-16 00:33:38 +01:00
2012-05-24 19:47:20 +02:00
%post -n libpulse%{soname} -p /sbin/ldconfig
2011-10-21 10:30:45 +02:00
2012-05-24 19:47:20 +02:00
%postun -n libpulse%{soname} -p /sbin/ldconfig
2007-12-11 17:43:52 +01:00
2012-05-24 19:47:20 +02:00
%post -n libpulse-mainloop-glib%{soname} -p /sbin/ldconfig
2011-10-21 10:30:45 +02:00
2012-05-24 19:47:20 +02:00
%postun -n libpulse-mainloop-glib%{soname} -p /sbin/ldconfig
2007-12-11 17:43:52 +01:00
2011-07-22 18:27:43 +02:00
%post
/sbin/ldconfig
%{fillup_only -an sound}
# Update the /etc/profile.d/pulseaudio.* files
setup-pulseaudio --auto > /dev/null
2007-12-11 17:43:52 +01:00
2009-05-28 01:38:59 +02:00
%postun -p /sbin/ldconfig
2007-01-16 00:33:38 +01:00
2013-10-10 19:31:32 +02:00
%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_preun pulseaudio.service
exit 0
2007-01-16 00:33:38 +01:00
%files
2007-12-11 17:43:52 +01:00
%defattr (-,root,root)
%doc README LICENSE GPL LGPL
2007-12-25 17:26:07 +01:00
%{_bindir} /pulseaudio
2008-09-22 18:12:49 +02:00
%{_bindir} /setup-pulseaudio
2012-03-09 16:59:50 +01:00
%{_bindir} /qpaeq
2011-10-01 19:29:02 +02:00
%dir %{_datadir} /pulseaudio
%{_datadir} /pulseaudio/alsa-mixer
2011-07-22 18:27:43 +02:00
%{_localstatedir} /adm/fillup-templates/sysconfig.sound-pulseaudio
2009-05-28 01:38:59 +02:00
%{_libdir} /libpulsecore-%{drvver} .so
2012-05-24 19:47:20 +02:00
%dir %{_libdir} /pulseaudio
%{_libdir} /pulseaudio/libpulsedsp.so
2011-10-01 19:29:02 +02:00
%dir %{_libdir} /pulse-%{drvver} /
%dir %{_libdir} /pulse-%{drvver} /modules/
2007-12-11 17:43:52 +01:00
%{_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
2012-07-22 13:44:59 +02:00
%{_libdir} /pulse-%{drvver} /modules/libwebrtc-util.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-alsa-card.so
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-alsa-sink.so
%{_libdir} /pulse-%{drvver} /modules/module-alsa-source.so
2008-07-18 22:42:24 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-always-sink.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-augment-properties.so
%{_libdir} /pulse-%{drvver} /modules/module-card-restore.so
%{_libdir} /pulse-%{drvver} /modules/module-cli.so
2007-12-11 17:43:52 +01:00
%{_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
2011-08-26 05:50:33 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-combine-sink.so
2008-07-18 22:42:24 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-console-kit.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-dbus-protocol.so
%{_libdir} /pulse-%{drvver} /modules/module-default-device-restore.so
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-detect.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-device-manager.so
2008-07-18 22:42:24 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-device-restore.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-echo-cancel.so
2007-12-11 17:43:52 +01:00
%{_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
2008-01-23 23:31:09 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-esound-sink.so
2012-03-09 16:59:50 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-equalizer-sink.so
2011-08-26 05:50:33 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-filter-apply.so
%{_libdir} /pulse-%{drvver} /modules/module-filter-heuristics.so
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-http-protocol-tcp.so
%{_libdir} /pulse-%{drvver} /modules/module-http-protocol-unix.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-intended-roles.so
%{_libdir} /pulse-%{drvver} /modules/module-ladspa-sink.so
%{_libdir} /pulse-%{drvver} /modules/module-loopback.so
2007-12-11 17:43:52 +01:00
%{_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
2011-08-26 05:50:33 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-null-source.so
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-oss.so
%{_libdir} /pulse-%{drvver} /modules/module-pipe-sink.so
%{_libdir} /pulse-%{drvver} /modules/module-pipe-source.so
2008-07-18 22:42:24 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-position-event-sounds.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-remap-sink.so
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-rescue-streams.so
2012-05-24 19:47:20 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-role-cork.so
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-rtp-recv.so
%{_libdir} /pulse-%{drvver} /modules/module-rtp-send.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-rygel-media-server.so
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-simple-protocol-tcp.so
%{_libdir} /pulse-%{drvver} /modules/module-simple-protocol-unix.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-sine.so
%{_libdir} /pulse-%{drvver} /modules/module-sine-source.so
2008-09-13 13:46:46 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-stream-restore.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-suspend-on-idle.so
2011-08-26 05:50:33 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-switch-on-connect.so
2012-05-24 19:47:20 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-switch-on-port-available.so
%if 0%{?suse_version} >= 1210
%{_libdir} /pulse-%{drvver} /modules/module-systemd-login.so
%endif
2008-01-23 23:31:09 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-tunnel-sink.so
2013-09-27 16:33:41 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-tunnel-sink-new.so
2008-01-23 23:31:09 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-tunnel-source.so
2013-09-27 16:33:41 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-tunnel-source-new.so
2009-09-05 02:49:24 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-udev-detect.so
2011-08-26 05:50:33 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-virtual-sink.so
%{_libdir} /pulse-%{drvver} /modules/module-virtual-source.so
2012-05-24 19:47:20 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-virtual-surround-sink.so
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-volume-restore.so
2013-06-04 21:15:13 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-remap-source.so
%{_libdir} /pulse-%{drvver} /modules/module-role-ducking.so
2012-11-04 03:58:58 +01:00
%{_udevrulesdir} /90-pulseaudio.rules
2012-05-24 19:47:20 +02:00
%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*
2011-10-01 19:29:02 +02:00
%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
2013-06-04 21:15:13 +02:00
%config (noreplace) %{_sysconfdir} /bash_completion.d/pulseaudio-bash-completion.sh
2013-06-28 09:26:41 +02:00
%if %{defined suse_version}
%config (noreplace) %{_fwdefdir} /pulseaudio-server
%endif
2011-10-01 19:29:02 +02:00
# created by setup-pulseaudio script
%ghost %{_sysconfdir} /profile.d/pulseaudio.sh
%ghost %{_sysconfdir} /profile.d/pulseaudio.csh
2007-12-11 17:43:52 +01:00
%files esound-compat
%defattr (-,root,root)
%{_bindir} /esdcompat
%{_bindir} /esd
2012-05-24 19:47:20 +02:00
%doc %{_mandir} /man1/esdcompat.1*
2007-12-11 17:43:52 +01:00
2011-10-01 19:29:02 +02:00
%files gdm-hooks
2007-12-11 17:43:52 +01:00
%defattr (-,root,root)
2011-10-01 19:29:02 +02:00
%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
2007-12-11 17:43:52 +01:00
2012-05-24 19:47:20 +02:00
%files -n libpulse%{soname}
2007-12-11 17:43:52 +01:00
%defattr (-,root,root)
2011-10-01 19:29:02 +02:00
%doc README LICENSE GPL LGPL
%dir %{_sysconfdir} /pulse/
%config (noreplace) %{_sysconfdir} /pulse/client.conf
2012-05-24 19:47:20 +02:00
%{_libdir} /libpulse.so.%{soname}
%{_libdir} /libpulse.so.%{soname} .*
2011-10-01 19:29:02 +02:00
%{_libdir} /libpulse-simple.so.*
2012-05-24 19:47:20 +02:00
%dir %{_libdir} /pulseaudio
%{_libdir} /pulseaudio/libpulsecommon-%{drvver} .so
2007-12-11 17:43:52 +01:00
2011-10-01 19:29:02 +02:00
%files -n libpulse-devel
2007-12-11 17:43:52 +01:00
%defattr (-,root,root)
2011-10-01 19:29:02 +02:00
%doc doxygen/html
%{_includedir} /pulse/
%{_libdir} /libpulse.so
%{_libdir} /libpulse-mainloop-glib.so
%{_libdir} /libpulse-simple.so
%{_libdir} /pkgconfig/libpulse*.pc
2011-10-21 10:30:45 +02:00
%dir %{_libdir} /cmake
%dir %{_libdir} /cmake/PulseAudio
%{_libdir} /cmake/PulseAudio/PulseAudio*.cmake
2011-10-01 19:29:02 +02:00
%{_datadir} /vala
2008-01-23 23:31:09 +01:00
2012-05-24 19:47:20 +02:00
%files -n libpulse-mainloop-glib%{soname}
2008-01-23 23:31:09 +01:00
%defattr (-,root,root)
2012-05-24 19:47:20 +02:00
%{_libdir} /libpulse-mainloop-glib.so.%{soname}
%{_libdir} /libpulse-mainloop-glib.so.%{soname} .*
2008-01-23 23:31:09 +01:00
%files module-bluetooth
%defattr (-,root,root)
2013-01-04 13:11:05 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-bluetooth-policy.so
2009-02-09 12:38:22 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-bluetooth-discover.so
2013-10-23 16:54:26 +02:00
%if 0%{?_bluez5used}
%{_libdir} /pulse-%{drvver} /modules/libbluez5-util.so
2013-10-07 00:32:49 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-bluez5-device.so
%{_libdir} /pulse-%{drvver} /modules/module-bluez5-discover.so
2013-10-23 16:54:26 +02:00
%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
2007-12-11 17:43:52 +01:00
%files module-gconf
%defattr (-,root,root)
2009-07-23 16:08:45 +02:00
%dir %{_libexecdir} /pulse
2007-12-11 17:43:52 +01:00
%{_libdir} /pulse-%{drvver} /modules/module-gconf.so
%{_libexecdir} /pulse/gconf-helper
2007-01-16 00:33:38 +01:00
2011-10-01 19:29:02 +02:00
%files module-lirc
2007-12-11 17:43:52 +01:00
%defattr (-,root,root)
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-lirc.so
2007-12-11 17:43:52 +01:00
2011-10-01 19:29:02 +02:00
%files module-jack
2007-12-11 17:43:52 +01:00
%defattr (-,root,root)
2011-10-01 19:29:02 +02:00
%{_libdir} /pulse-%{drvver} /modules/module-jack-sink.so
%{_libdir} /pulse-%{drvver} /modules/module-jack-source.so
%{_libdir} /pulse-%{drvver} /modules/module-jackdbus-detect.so
2007-12-11 17:43:52 +01:00
2011-10-01 19:29:02 +02:00
%files module-x11
2007-12-11 17:43:52 +01:00
%defattr (-,root,root)
2011-10-01 19:29:02 +02:00
%{_sysconfdir} /xdg/autostart/pulseaudio.desktop
%{_sysconfdir} /xdg/autostart/pulseaudio-kde.desktop
%{_bindir} /start-pulseaudio-x11
%{_bindir} /start-pulseaudio-kde
%{_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
2012-05-24 19:47:20 +02:00
%doc %{_mandir} /man1/start-pulseaudio-kde.1*
%doc %{_mandir} /man1/start-pulseaudio-x11.1*
2011-10-01 19:29:02 +02:00
%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
2007-12-11 17:43:52 +01:00
%files utils
%defattr (-,root,root)
%{_bindir} /pacat
%{_bindir} /pacmd
%{_bindir} /pactl
%{_bindir} /paplay
%{_bindir} /parec
2009-09-05 02:49:24 +02:00
%{_bindir} /pamon
%{_bindir} /parecord
2007-12-11 17:43:52 +01:00
%{_bindir} /pax11publish
%{_bindir} /padsp
%{_bindir} /pasuspender
2012-05-24 19:47:20 +02:00
%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*
2007-12-11 17:43:52 +01:00
2009-02-09 12:38:22 +01:00
%files lang -f %{name}.lang
2013-10-10 19:31:32 +02:00
%files system-wide
%{_sbindir} /rc%{name}
%dir /usr/lib/systemd
%dir /usr/lib/systemd/system
/usr/lib/systemd/system/%{name} .service
2007-04-24 13:57:20 +02:00
%changelog