pulseaudio/pulseaudio.spec

727 lines
27 KiB
RPMSpec

%define pulse_groupid 69
%define pulse_userid 69
%define pulse_access_groupid 70
%define pulse_access_userid 70
%define majver %(echo %{version} | cut -d. -f 1-2)
Name: pulseaudio
Version: 9.0
Release: 2mamba
Summary: Improved Linux sound server
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pulseaudio.org/
Source0: http://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
Source1: pulseaudio.png
Source2: default.pa-for-gdm
Source3: pulseaudio-asound.conf
Patch0: pulseaudio-0.9.22-desktop.patch
Patch25: pulseaudio-0.9.14-mixer-select.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: elfutils-devel
BuildRequires: glibc-devel
BuildRequires: libGConf-devel
BuildRequires: libICE-devel
BuildRequires: libORBit2-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXtst-devel
BuildRequires: libalsa-devel
BuildRequires: libasyncns-devel
BuildRequires: libavahi-devel
BuildRequires: libcap-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libelf-devel
BuildRequires: libffi-devel
BuildRequires: libfftw-devel
BuildRequires: libflac-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libjack-devel
BuildRequires: libjson-c-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libogg-devel
BuildRequires: libopenssl-devel
BuildRequires: liborc-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsbc-devel
BuildRequires: libselinux-devel
BuildRequires: libsndfile-devel
BuildRequires: libspeex-devel
BuildRequires: libssp-devel
BuildRequires: libsystemd-devel
BuildRequires: libtdb-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
BuildRequires: libvorbis-devel
BuildRequires: libwrap-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
BuildRequires: lirc-devel
## AUTOBUILDREQ-END
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: glib-gettextize
BuildRequires: intltool
BuildRequires: libatomic_ops-devel
BuildRequires: libbluez-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libgdbm-devel
BuildRequires: libguile-devel
BuildRequires: liboil-devel
BuildRequires: libtool
BuildRequires: libXt-devel
BuildRequires: m4
BuildRequires: pkgconfig
BuildRequires: PolicyKit-devel
BuildRequires: xmltoman
BuildRequires: libsbc-devel
BuildConflicts: hal-devel
Requires: lib%{name}-core = %{version}-%{release}
Requires: rtkit
Requires: udev
Requires(post): /usr/sbin/alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# ---{ pulseaudio 0.9.22 }---
# Have X11: yes
# Enable OSS Output: yes
# Enable OSS Wrapper: yes
# Enable Alsa: yes
# Enable Solaris: no
# Enable GLib 2.0: yes
# Enable Gtk+ 2.0: yes
# Enable GConf: yes
# Enable Avahi: yes
# Enable Jack: yes
# Enable Async DNS: yes
# Enable LIRC: yes
# Enable HAL: no
# Enable udev: yes
# Enable HAL->udev compat: yes
# Enable BlueZ: yes
# Enable TCP Wrappers: yes
# Enable libsamplerate: yes
# Enable IPv6: yes
# Enable OpenSSL (for Airtunes): yes
# Enable tdb: yes
# TODO
# Enable gdbm: no
# Enable simple database: no
# System User: pulse
# System Group: pulse
# Access Group: pulse-access
# Enable per-user EsounD socket: yes
# Force preopen: no
# Preopened modules: all
%description
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
%package -n lib%{name}-core
Summary: Shared library part of the %{name} sound server
Group: System/Libraries
%description -n lib%{name}-core
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This contains the shared library needed by %{name} based applications.
%package -n lib%{name}
Summary: Shared library part of the polpyaudio sound server
Group: System/Libraries
Provides: lib%{name}-zeroconf
Obsoletes: lib%{name}-zeroconf
%description -n lib%{name}
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This contains the shared library needed by %{name} based applications.
%package -n lib%{name}-devel
Summary: Development headers of the polpyaudio sound server
Group: Development/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name}-zeroconf = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name}-glib = %{?epoch:%epoch:}%{version}-%{release}
Requires: libglib-devel
Requires: vala
Provides: lib%{name}-zeroconf-devel
Obsoletes: lib%{name}-zeroconf-devel
%description -n lib%{name}-devel
%{name} is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This contains the C headers and libraries needed to build %{name}
based applications.
%package -n lib%{name}-glib
Summary: GLIB 2.x bindings for PulseAudio clients
Group: System/Libraries
%description -n lib%{name}-glib
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This package contains bindings to integrate the PulseAudio client library with a GLIB 2.x based application.
%package -n lib%{name}-glib-devel
Summary: GLIB 2.x bindings for PulseAudio clients
Group: Development/Libraries
Requires: lib%{name}-glib = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-glib-devel
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This contains static libraries needed to build %{name} based applications.
%package -n lib%{name}-zeroconf
Summary: Zeroconf support for PulseAudio clients
Group: System/Libraries
%description -n lib%{name}-zeroconf
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This package contains the runtime libraries and tools that allow PulseAudio clients to automatically detect PulseAudio servers using Zeroconf.
%package -n lib%{name}-zeroconf-devel
Summary: Zeroconf support for PulseAudio clients
Group: Development/Libraries
Requires: lib%{name}-zeroconf = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-zeroconf-devel
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This package static libraries needed to build %{name} based applications.
%package esound-compat
Summary: PulseAudio EsounD daemon compatibility script
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description esound-compat
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
A compatibility script that allows applications to start PulseAudio with EsounD protocol modules.
%package module-bluetooth
Summary: Bluetooth proximity support for the PulseAudio sound server
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
# TODO Requires: bluez http://www.kernel.org/pub/linux/bluetooth
%description module-bluetooth
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
Contains a module that can be used to automatically turn down the volume if a bluetooth mobile phone leaves the proximity or turn it up again if it enters the proximity again
%package module-gconf
Summary: GConf support for the PulseAudio sound server
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description module-gconf
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
GConf configuration backend for the PulseAudio sound server.
%package module-jack
Summary: JACK support for the PulseAudio sound server
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description module-jack
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
JACK sink and source modules for the PulseAudio sound server.
%package module-lirc
Summary: LIRC support for the PulseAudio sound server
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description module-lirc
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
LIRC volume control module for the PulseAudio sound server.
%package module-zeroconf
Summary: Zeroconf support for the PulseAudio sound server
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-utils = %{?epoch:%epoch:}%{version}-%{release}
%description module-zeroconf
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
Zeroconf publishing module for the PulseAudio sound server.
%package module-x11
Summary: X11 support for the PulseAudio sound server
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-utils = %{?epoch:%epoch:}%{version}-%{release}
%description module-x11
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
X11 bell and security modules for the PulseAudio sound server.
%package utils
Summary: PulseAudio sound server utilities
Group: Applications/Multimedia
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description utils
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This package contains command line utilities for the PulseAudio sound server.
%package static
Summary: %{name}-zeroconf static library
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-utils = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name}-core = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name}-glib-devel = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name}-zeroconf-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This contains the static library needed by %{name} based applications.
%prep
%setup -q -T -b0
#%patch0 -p1
%build
CFLAGS="%{optflags} -ggdb" \
%configure \
--with-system-user=pulse \
--with-system-group=pulse \
--with-access-group=pulse-access \
--disable-hal \
--disable-static \
--disable-rpath \
--disable-xen \
%ifarch arm
--disable-neon-opt
%endif
%make LIBTOOL=%{_bindir}/libtool
%make -C doxygen
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
chmod 755 %{buildroot}%{_bindir}/pulseaudio
# preserve time stamps
touch -r src/daemon/daemon.conf.in %{buildroot}%{_sysconfdir}/pulse/daemon.conf
touch -r src/daemon/default.pa.in %{buildroot}%{_sysconfdir}/pulse/default.pa
touch -r man/pulseaudio.1.xml.in %{buildroot}%{_mandir}/man1/pulseaudio.1
touch -r man/default.pa.5.xml.in %{buildroot}%{_mandir}/man5/default.pa.5
touch -r man/pulse-client.conf.5.xml.in %{buildroot}%{_mandir}/man5/pulse-client.conf.5
touch -r man/pulse-daemon.conf.5.xml.in %{buildroot}%{_mandir}/man5/pulse-daemon.conf.5
mkdir -p %{buildroot}%{_localstatedir}/lib/pulse
mkdir -p %{buildroot}%{_localstatedir}/run/pulse
# TODO Requires: http://download.gnome.org/sources/gdm
#mkdir -p %{buildroot}%{_localstatedir}/lib/gdm/.pulse
#install -m 644 %{S:2} %{buildroot}%{_localstatedir}/lib/gdm/.pulse/default.pa
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps
install -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/asound.conf.pulseaudio
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%pre
%{_sbindir}/groupadd pulse -g %{pulse_groupid} 2>/dev/null || :
%{_sbindir}/useradd -u %{pulse_userid} -c 'PulseAudio System Daemon' -s /sbin/nologin -d %{_localstatedir}/run/pulse -g pulse pulse 2>/dev/null || :
%{_sbindir}/groupadd pulse-access -g %{pulse_access_groupid} 2>/dev/null || :
exit 0
%post
/sbin/ldconfig
if [ $1 -ge 1 ]; then
/usr/sbin/alternatives --install \
/etc/asound.conf asound.conf /etc/asound.conf.pulseaudio 30
/usr/sbin/alternatives --auto asound.conf
fi
:
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove asound.conf /etc/asound.conf.pulseaudio
fi
:
%post -n lib%{name}-glib -p /sbin/ldconfig
%postun -n lib%{name}-glib -p /sbin/ldconfig
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%post -n lib%{name}-core -p /sbin/ldconfig
%postun -n lib%{name}-core -p /sbin/ldconfig
%post -n lib%{name}-zeroconf -p /sbin/ldconfig
%postun -n lib%{name}-zeroconf -p /sbin/ldconfig
%files
%defattr(-,root,root)
#%{_sysconfdir}/bash_completion.d/pulseaudio
#%{_sysconfdir}/bash_completion.d/pa*
%{_sysconfdir}/asound.conf.pulseaudio
%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
%attr(4755,root,root) %{_bindir}/pulseaudio
%dir %{_libexecdir}/pulse
#%{_libexecdir}/pulse/proximity-helper
%attr(0700, pulse, pulse) %dir %{_localstatedir}/lib/pulse
%attr(0775, pulse, pulse) %dir %{_localstatedir}/run/pulse
/lib/udev/rules.d/90-pulseaudio.rules
%dir %{_libdir}/pulse-%{majver}
%dir %{_libdir}/pulse-%{majver}/modules
%{_libdir}/pulse-%{majver}/modules/libalsa-util.so
%{_libdir}/pulse-%{majver}/modules/libbluez4-util.so
%{_libdir}/pulse-%{majver}/modules/libbluez5-util.so
%{_libdir}/pulse-%{majver}/modules/libcli.so
%{_libdir}/pulse-%{majver}/modules/liboss-util.so
%{_libdir}/pulse-%{majver}/modules/libprotocol-*.so
%{_libdir}/pulse-%{majver}/modules/librtp.so
%{_libdir}/pulse-%{majver}/modules/module-alsa-*.so
%{_libdir}/pulse-%{majver}/modules/module-bluez4-*.so
%{_libdir}/pulse-%{majver}/modules/module-bluez5-*.so
%{_libdir}/pulse-%{majver}/modules/module-always-sink.so
%{_libdir}/pulse-%{majver}/modules/module-augment-properties.so
%{_libdir}/pulse-%{majver}/modules/module-bluetooth-*.so
%{_libdir}/pulse-%{majver}/modules/module-card-restore.so
%{_libdir}/pulse-%{majver}/modules/module-cli-protocol-*.so
%{_libdir}/pulse-%{majver}/modules/module-cli.so
%{_libdir}/pulse-%{majver}/modules/module-combine.so
%{_libdir}/pulse-%{majver}/modules/module-console-kit.so
#%{_libdir}/pulse-%{majver}/modules/module-cork-music-on-phone.so
%{_libdir}/pulse-%{majver}/modules/module-default-device-restore.so
%{_libdir}/pulse-%{majver}/modules/module-detect.so
%{_libdir}/pulse-%{majver}/modules/module-device-manager.so
%{_libdir}/pulse-%{majver}/modules/module-device-restore.so
%{_libdir}/pulse-%{majver}/modules/module-echo-cancel.so
%{_libdir}/pulse-%{majver}/modules/module-esound-compat-spawnfd.so
%{_libdir}/pulse-%{majver}/modules/module-esound-compat-spawnpid.so
%{_libdir}/pulse-%{majver}/modules/module-esound-protocol-tcp.so
%{_libdir}/pulse-%{majver}/modules/module-esound-protocol-unix.so
%{_libdir}/pulse-%{majver}/modules/module-esound-sink.so
%{_libdir}/pulse-%{majver}/modules/module-hal-detect.so
%{_libdir}/pulse-%{majver}/modules/module-http-protocol-tcp.so
%{_libdir}/pulse-%{majver}/modules/module-http-protocol-unix.so
%{_libdir}/pulse-%{majver}/modules/module-intended-roles.so
%{_libdir}/pulse-%{majver}/modules/module-jackdbus-detect.so
%{_libdir}/pulse-%{majver}/modules/module-ladspa-sink.so
%{_libdir}/pulse-%{majver}/modules/module-loopback.so
%{_libdir}/pulse-%{majver}/modules/module-match.so
%{_libdir}/pulse-%{majver}/modules/module-mmkbd-evdev.so
%{_libdir}/pulse-%{majver}/modules/module-native-protocol-fd.so
%{_libdir}/pulse-%{majver}/modules/module-native-protocol-tcp.so
%{_libdir}/pulse-%{majver}/modules/module-native-protocol-unix.so
%{_libdir}/pulse-%{majver}/modules/module-null-sink.so
%{_libdir}/pulse-%{majver}/modules/module-oss.so
%{_libdir}/pulse-%{majver}/modules/module-pipe-sink.so
%{_libdir}/pulse-%{majver}/modules/module-pipe-source.so
%{_libdir}/pulse-%{majver}/modules/module-position-event-sounds.so
%{_libdir}/pulse-%{majver}/modules/module-remap-*.so
%{_libdir}/pulse-%{majver}/modules/module-rescue-streams.so
%{_libdir}/pulse-%{majver}/modules/module-role-ducking.so
%{_libdir}/pulse-%{majver}/modules/module-rtp-recv.so
%{_libdir}/pulse-%{majver}/modules/module-rtp-send.so
%{_libdir}/pulse-%{majver}/modules/module-rygel-media-server.so
%{_libdir}/pulse-%{majver}/modules/module-simple-protocol-tcp.so
%{_libdir}/pulse-%{majver}/modules/module-simple-protocol-unix.so
%{_libdir}/pulse-%{majver}/modules/module-sine.so
%{_libdir}/pulse-%{majver}/modules/module-sine-source.so
%{_libdir}/pulse-%{majver}/modules/module-stream-restore.so
%{_libdir}/pulse-%{majver}/modules/module-suspend-on-idle.so
%{_libdir}/pulse-%{majver}/modules/module-systemd-login.so
%{_libdir}/pulse-%{majver}/modules/module-tunnel-sink*.so
%{_libdir}/pulse-%{majver}/modules/module-tunnel-source*.so
%{_libdir}/pulse-%{majver}/modules/module-udev-detect.so
%{_libdir}/pulse-%{majver}/modules/module-volume-restore.so
%{_libdir}/pulse-%{majver}/modules/module-combine-sink.so
%{_libdir}/pulse-%{majver}/modules/module-dbus-protocol.so
%{_libdir}/pulse-%{majver}/modules/module-equalizer-sink.so
%{_libdir}/pulse-%{majver}/modules/module-filter-apply.so
%{_libdir}/pulse-%{majver}/modules/module-filter-heuristics.so
%{_libdir}/pulse-%{majver}/modules/module-null-source.so
%{_libdir}/pulse-%{majver}/modules/module-role-cork.so
%{_libdir}/pulse-%{majver}/modules/module-switch-on-connect.so
%{_libdir}/pulse-%{majver}/modules/module-switch-on-port-available.so
%{_libdir}/pulse-%{majver}/modules/module-virtual-sink.so
%{_libdir}/pulse-%{majver}/modules/module-virtual-source.so
%{_libdir}/pulse-%{majver}/modules/module-virtual-surround-sink.so
%{_prefix}/lib/systemd/user/pulseaudio.service
%{_prefix}/lib/systemd/user/pulseaudio.socket
%{_datadir}/vala/vapi/libpulse-simple.deps
%{_datadir}/vala/vapi/libpulse-simple.vapi
#%{_datadir}/zsh/site-functions/_pulseaudio
%dir %{_datadir}/pulseaudio
%dir %{_datadir}/pulseaudio/alsa-mixer
%dir %{_datadir}/pulseaudio/alsa-mixer/paths
%{_datadir}/pulseaudio/alsa-mixer/paths/*.conf
%{_datadir}/pulseaudio/alsa-mixer/paths/*.conf.common
%dir %{_datadir}/pulseaudio/alsa-mixer/profile-sets
%{_datadir}/pulseaudio/alsa-mixer/profile-sets/*.conf
%{_datadir}/zsh/site-functions/_pulseaudio
%{_mandir}/man1/pulseaudio.1.gz
#%{_mandir}/man1/start-pulseaudio-kde.1.gz
%{_mandir}/man1/start-pulseaudio-x11.1*
%{_mandir}/man5/pulse-cli-syntax.5*
%{_mandir}/man5/default.pa.5*
%{_mandir}/man5/pulse-client.conf.5*
%{_mandir}/man5/pulse-daemon.conf.5*
%doc LICENSE README
%files -n lib%{name}-core
%defattr(-,root,root)
%dir %{_libdir}/pulseaudio
%{_libdir}/pulseaudio/libpulsecore-%{majver}.so
%files -n lib%{name} -f %{name}.lang
%defattr(-,root,root)
%dir %{_sysconfdir}/pulse
%config(noreplace) %{_sysconfdir}/pulse/client.conf
%{_libdir}/libpulse.so.*
%{_libdir}/libpulse-simple.so.*
%{_libdir}/pulseaudio/libpulsecommon-%{majver}.a
%{_libdir}/pulseaudio/libpulsecommon-%{majver}.la
%{_libdir}/pulseaudio/libpulsecommon-%{majver}.so
%{_libdir}/pulseaudio/libpulsedsp.a
%{_libdir}/pulseaudio/libpulsedsp.la
%{_libdir}/pulseaudio/libpulsedsp.so
%doc GPL LGPL LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/pulse
%{_includedir}/pulse/*.h
%{_libdir}/libpulse.so
%{_libdir}/libpulse-simple.so
%{_libdir}/pkgconfig/libpulse.pc
%{_libdir}/pkgconfig/libpulse-simple.pc
%{_datadir}/vala/vapi/libpulse.vapi
%{_libdir}/cmake/PulseAudio/PulseAudioConfig.cmake
%{_libdir}/cmake/PulseAudio/PulseAudioConfigVersion.cmake
%{_datadir}/vala/vapi/libpulse-mainloop-glib.deps
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/*
%{_datadir}/vala/vapi/libpulse-mainloop-glib.vapi
%{_datadir}/vala/vapi/libpulse.deps
%doc README
%files esound-compat
%defattr(-,root,root)
%{_bindir}/esdcompat
%{_mandir}/man1/esdcompat.1*
%files -n lib%{name}-glib
%defattr(-,root,root)
%{_libdir}/libpulse-mainloop-glib.so.*
%files -n lib%{name}-glib-devel
%defattr(-,root,root)
%{_libdir}/libpulse-mainloop-glib.so
%{_libdir}/pkgconfig/libpulse-mainloop-glib.pc
#%files module-bluetooth
#%defattr(-,root,root)
#%{_libdir}/pulse-%{majver}/modules/libbluetooth-*.so
#%{_libdir}/pulse-%{majver}/modules/module-bluetooth-*.so
#%{_libexecdir}/pulse/proximity-helper
%files module-gconf
%defattr(-,root,root)
%{_libdir}/pulse-%{majver}/modules/module-gconf.so
%{_libexecdir}/pulse/gconf-helper
%files module-jack
%defattr(-,root,root)
%{_libdir}/pulse-%{majver}/modules/module-jack-sink.so
%{_libdir}/pulse-%{majver}/modules/module-jack-source.so
%files module-lirc
%defattr(-,root,root)
%{_libdir}/pulse-%{majver}/modules/module-lirc.so
%files module-zeroconf
%defattr(-,root,root)
%{_libdir}/pulse-%{majver}/modules/libavahi-wrap.so
%{_libdir}/pulse-%{majver}/modules/libraop.so
%{_libdir}/pulse-%{majver}/modules/module-raop-discover.so
%{_libdir}/pulse-%{majver}/modules/module-raop-sink.so
%{_libdir}/pulse-%{majver}/modules/module-zeroconf-discover.so
%{_libdir}/pulse-%{majver}/modules/module-zeroconf-publish.so
%files module-x11
%defattr(-,root,root)
%config %{_sysconfdir}/xdg/autostart/pulseaudio.desktop
#%config %{_sysconfdir}/xdg/autostart/pulseaudio-kde.desktop
#%{_bindir}/start-pulseaudio-kde
%{_bindir}/start-pulseaudio-x11
%{_libdir}/pulse-%{majver}/modules/module-x11-bell.so
%{_libdir}/pulse-%{majver}/modules/module-x11-publish.so
%{_libdir}/pulse-%{majver}/modules/module-x11-xsmp.so
%{_libdir}/pulse-%{majver}/modules/module-x11-cork-request.so
%{_datadir}/pixmaps/%{name}.png
#%files -n lib%{name}-zeroconf
#%defattr(-,root,root)
#%{_bindir}/pabrowse
#%{_libdir}/libpulse-browse.so.*
#%{_mandir}/man1/pabrowse.1.gz
#%files -n lib%{name}-zeroconf-devel
#%defattr(-,root,root)
#%{_libdir}/libpulse-browse.so
#%{_libdir}/pkgconfig/libpulse-browse.pc
%files utils
%defattr(-,root,root)
%{_bindir}/pacat
%{_bindir}/pacmd
%{_bindir}/pactl
%{_bindir}/padsp
%{_bindir}/pamon
%{_bindir}/paplay
%{_bindir}/parec
%{_bindir}/parecord
%{_bindir}/pasuspender
%{_bindir}/pax11publish
%{_bindir}/qpaeq
%{_mandir}/man1/pacat.1*
%{_mandir}/man1/pacmd.1*
%{_mandir}/man1/pactl.1*
%{_mandir}/man1/padsp.1*
%{_mandir}/man1/pamon.1*
%{_mandir}/man1/paplay.1*
%{_mandir}/man1/parec.1*
%{_mandir}/man1/parecord.1*
%{_mandir}/man1/pasuspender.1*
%{_mandir}/man1/pax11publish.1*
%files static
%defattr(-,root,root)
%{_libdir}/libpulse.*a
#%{_libdir}/libpulsecommon-%{version}.*a
#%{_libdir}/libpulse-browse.*a
%{_libdir}/libpulse-mainloop-glib.*a
%{_libdir}/libpulse-simple.*a
#%{_libdir}/libpulsedsp.a
%{_libdir}/pulseaudio/libpulsecore-%{majver}.*a
%{_libdir}/pulse-%{majver}/modules/*.a
%changelog
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0-2mamba
- assign reserved ids to pulse and pulse-access user and groups
* Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 9.0-1mamba
- automatic version update by autodist
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 8.0-1mamba
- automatic version update by autodist
* Fri Oct 30 2015 Automatic Build System <autodist@mambasoft.it> 7.1-1mamba
- automatic version update by autodist
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 7.0-1mamba
- automatic version update by autodist
* Tue Mar 03 2015 Automatic Build System <autodist@mambasoft.it> 6.0-1mamba
- automatic version update by autodist
* Thu Oct 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-3mamba
- remove alsa-jack loopback configuration from asound.conf.pulseaudio
* Sat Aug 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-2mamba
- add as alternative asound.conf sink and make the default
* Mon Mar 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-1mamba
- update to 5.0
* Tue Jun 04 2013 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba
- automatic version update by autodist
* Tue May 28 2013 Automatic Build System <autodist@mambasoft.it> 3.99.2-1mamba
- automatic update by autodist
* Wed Apr 17 2013 Automatic Build System <autodist@mambasoft.it> 3.99.1-1mamba
- automatic version update by autodist
* Tue Dec 18 2012 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
- automatic version update by autodist
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 2.99.3-1mamba
- automatic version update by autodist
* Wed Nov 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1-2mamba
- rebuilt without hal
* Fri Sep 14 2012 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic version update by autodist
* Mon Jul 02 2012 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
- automatic version update by autodist
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 0.9.23-1mamba
- update to 0.9.23
* Sun Dec 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.22-3mamba
- automatic port from devel-java
* Sun Dec 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.22-2mamba
- automatic port from devel-java
* Wed Dec 08 2010 gil <puntogil@libero.it> 0.9.22-1mamba
- update to 0.9.22
* Sun Feb 08 2009 gil <puntogil@libero.it> 0.9.14-1mamba
- update to 0.9.14
* Sat Dec 20 2008 gil <puntogil@libero.it> 0.9.13-2mamba
- edit specfile
- added packages static
- edit %pre
- removed package libpulseaudio-core-devel
* Sun Oct 12 2008 gil <puntogil@libero.it> 0.9.13-1mamba
- update to 0.9.13
* Thu Sep 25 2008 gil <puntogil@libero.it> 0.9.12-1mamba
- update to 0.9.12
* Thu Jul 31 2008 gil <puntogil@libero.it> 0.9.11-1mamba
- package created by autospec