# HG changeset patch # User Michael Schloh von Bennewitz # Date 1235230462 -3600 # Node ID 961c83bf7b993c36b6bd375c9ac61d24084049d8 # Parent 974f3946908a58f02c75f2173f90f29211e5e949 Import custom package specs to build for undistributed platforms. This allows installation of pulseaudio and its dependencies on some operating systems not providing it in default package repositories. diff -r 974f3946908a -r 961c83bf7b99 libltdl/libltdl.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libltdl/libltdl.patch Sat Feb 21 16:34:22 2009 +0100 @@ -0,0 +1,16 @@ +Index: configure.in +--- configure.in.orig 2009-02-20 00:59:13.000000000 +0100 ++++ configure.in 2009-02-20 00:59:34.000000000 +0100 +@@ -3,11 +3,11 @@ + dnl as independent library + dnl + AC_INIT(configure.in) +-AM_INIT_AUTOMAKE(libltdl,0.0.0) + AC_LIBTOOL_DLOPEN + AC_LIBLTDL_INSTALLABLE($libdir) + AC_CONFIG_SUBDIRS(libltdl) + AC_CONFIG_AUX_DIR(.) ++AM_INIT_AUTOMAKE(libltdl,0.0.0) + AM_PROG_LIBTOOL + AC_OUTPUT([Makefile]) + diff -r 974f3946908a -r 961c83bf7b99 libltdl/libltdl.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libltdl/libltdl.spec Sat Feb 21 16:34:22 2009 +0100 @@ -0,0 +1,90 @@ +%define name libltdl +%define version 0.1.3 +%define release 1 + +Summary: GNU portable run time dynamic link library +Name: %{name} +Version: %{version} +Release: %{release} +Source0: %{name}-%{version}.tar.bz2 +Patch0: libltdl.patch +Packager: rufus t firefly +URL: http://www.gnu.org/software/libtool/ +License: GPL +Group: System/Libraries +BuildRoot: %{_tmppath}/%{name}-buildroot +BuildRequires: libtool, automake, autoconf, perl +Prefix: %{_prefix} + +%description +libltdl is an easy-to-use packaging of the GNU portable run time +dynamic link library. + +%package devel +Summary: GNU portable run time dynamic link library development files +Group: Development/Other + +%description devel +libltdl is an easy-to-use packaging of the GNU portable run time +dynamic link library. You will only need this package if you intend +to develop applications with this library + +%prep +rm -rf $RPM_BUILD_ROOT + +%setup -n ltdl +%patch -p0 + +%build +# fix version number +perl -pi -e "s|0.0.0|%{version}||g;" configure.in + +# actual build +./autogen.sh +%configure --enable-ltdl-install +make all + +%install +mkdir -p $RPM_BUILD_ROOT%{_libdir} +%makeinstall PREFIX=$RPM_BUILD_ROOT/usr + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README +%{_libdir}/libltdl.so +%{_libdir}/libltdl.so.* + +%files devel +%defattr(-,root,root) +%{_libdir}/libltdl.a +%{_libdir}/libltdl.la +%{_includedir}/ltdl.h + +%changelog +* Tue Nov 07 2000 rufus t firefly + - v0.1.3-1mdk + - finalized from CVS + +* Mon Sep 11 2000 Lenny Cartier 0.1.2.20000524-3mdk + - clean spec + +* Fri Jul 28 2000 Thierry Vignaud 0.1.2.20000524-2mdk + - BM + - fuck rpmlint + +* Tue Jun 27 2000 Lenny Cartier 0.1.2.20000524-1mdk + - fix build by adding --enable-ltdl-install + - new in contribs + +* Wed May 24 2000 rufus t firefly + - v0.1.2.20000524 (initial packaging) + diff -r 974f3946908a -r 961c83bf7b99 pulseaudio/pulseaudio.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pulseaudio/pulseaudio.patch Sat Feb 21 16:34:22 2009 +0100 @@ -0,0 +1,27 @@ +Index: src/modules/module-hal-detect.c +--- src/modules/module-hal-detect.c.orig 2009-01-13 00:10:34.000000000 +0100 ++++ src/modules/module-hal-detect.c 2009-02-21 11:44:42.227221959 +0100 +@@ -183,7 +183,7 @@ + goto fail; + + device = libhal_device_get_property_int(u->context, udi, "alsa.device", &error); +- if (dbus_error_is_set(&error) || device != 0) ++ if (dbus_error_is_set(&error)) + goto fail; + + card = libhal_device_get_property_int(u->context, udi, "alsa.card", &error); +@@ -197,12 +197,12 @@ + *sink_name = pa_sprintf_malloc("alsa_output.%s", strip_udi(udi)); + + module_name = "module-alsa-sink"; +- args = pa_sprintf_malloc("device_id=%u sink_name=%s tsched=%i", card, *sink_name, (int) u->use_tsched); ++ args = pa_sprintf_malloc("device_id=%u,%u sink_name=%s tsched=%i", card, device, *sink_name, (int) u->use_tsched); + } else { + *source_name = pa_sprintf_malloc("alsa_input.%s", strip_udi(udi)); + + module_name = "module-alsa-source"; +- args = pa_sprintf_malloc("device_id=%u source_name=%s tsched=%i", card, *source_name, (int) u->use_tsched); ++ args = pa_sprintf_malloc("device_id=%u,%u source_name=%s tsched=%i", card, device, *source_name, (int) u->use_tsched); + } + + pa_log_debug("Loading %s with arguments '%s'", module_name, args); diff -r 974f3946908a -r 961c83bf7b99 pulseaudio/pulseaudio.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pulseaudio/pulseaudio.spec Sat Feb 21 16:34:22 2009 +0100 @@ -0,0 +1,695 @@ +# +# spec file for package pulseaudio (Version 0.9.14) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# + +Name: pulseaudio +%define drvver 0.9 +Summary: A Networked Sound Server +Version: 0.9.14 +Release: 1 +License: GPL v2 or later; LGPL v2.1 or later +Group: System/Sound Daemons +Source: %{name}-%{version}.tar.gz +Patch: %{name}.patch +Url: http://www.pulseaudio.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libtool libtool-32bit intltool PolicyKit-devel alsa-devel avahi-devel bluez-libs doxygen gconf2-devel glib2-devel hal-devel jack-devel libatomic-ops-devel liboil-devel libsamplerate-devel libsndfile-devel lirc-devel tcpd-devel update-desktop-files xorg-x11-devel gdbm-devel speex-devel +#BuildRequires: PolicyKit-devel alsa-devel doxygen gconf2-devel gdbm-devel glib2-devel hal-devel intltool jack-devel libatomic-ops-devel libavahi-devel liboil-devel libsamplerate-devel libsndfile-devel libtool lirc-devel speex-devel tcpd-devel update-desktop-files xorg-x11-devel bluez-libs +Requires: libpulsecore9 = %{version} +Requires: %{name}-lang = %{version} +Recommends: alsa-plugins-pulse +PreReq: pwdutils + +%description +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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package esound-compat +License: GPL v2 or later; LGPL v2.1 or later +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. + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package module-lirc +License: GPL v2 or later; LGPL v2.1 or later +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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package module-x11 +License: GPL v2 or later; LGPL v2.1 or later +Summary: X11 module for PulseAudio +Group: System/Sound Daemons +Requires: %{name} = %{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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package module-zeroconf +License: GPL v2 or later; LGPL v2.1 or later +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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package module-jack +License: GPL v2 or later; LGPL v2.1 or later +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. + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package module-bluetooth +License: GPL v2 or later; LGPL v2.1 or later +Summary: Bluetooth proximity support for the PulseAudio sound server +Group: System/Sound Daemons +Requires: %{name} = %{version} + +%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). + +This package includes support for Bluetooth-based sound devices. + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package module-gconf +License: GPL v2 or later; LGPL v2.1 or later +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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package -n libpulse0 +Summary: Client interface to PulseAudio +License: GPL v2 or later; LGPL v2.1 or later +Group: System/Libraries +Provides: pulseaudio-libs = %{version}-%{release} +Obsoletes: pulseaudio-libs < %{version} + +%description -n libpulse0 +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. + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package -n libpulsecore9 +Summary: System libraries for PulseAudio +License: GPL v2 or later; LGPL v2.1 or later +Group: System/Sound Daemons +Provides: pulseaudio-core-libs = %{version}-%{release} +Obsoletes: pulseaudio-core-libs < %{version} + +%description -n libpulsecore9 +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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package -n libpulse-mainloop-glib0 +Summary: GLIB 2.0 Main Loop wrapper for PulseAudio +License: GPL v2 or later; LGPL v2.1 or later +Group: System/Sound Daemons +Provides: pulseaudio-libs-glib2 = %{version}-%{release} +Obsoletes: pulseaudio-libs-glib2 < %{version} + +%description -n libpulse-mainloop-glib0 +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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package -n libpulse-browse0 +Summary: PulseAudio network browsing API +License: GPL v2 or later; LGPL v2.1 or later +Group: System/Sound Daemons +Provides: pulseaudio-libs-zeroconf = %{version}-%{release} +Obsoletes: pulseaudio-libs-zeroconf < %{version} + +%description -n libpulse-browse0 +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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package -n libpulse-devel +Summary: Development package for the pulseaudio library +License: GPL v2 or later; LGPL v2.1 or later +Group: Development/Libraries/C and C++ +Requires: libpulse0 = %{version} +Requires: libpulse-mainloop-glib0 = %{version} +Requires: libpulse-browse0 = %{version} +Requires: pkgconfig glib2-devel +Provides: pulseaudio-devel = %{version}-%{release} +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. + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%package utils +Summary: PulseAudio utilities +License: GPL v2 or later; LGPL v2.1 or later +Group: System/Sound Daemons +Requires: libpulse0 = %{version} +Requires: libpulsecore9 = %{version} +Requires: libpulse-browse0 = %{version} +Requires: libpulse-mainloop-glib0 = %{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). + +Authors: +-------- + Lennart Poettering + Pierre Ossman + +%lang_package +%prep +%setup -q -T -b0 +%patch -p0 +sed -ie 's;\(alsa >=\) 1.0.17;\1 1.0.16;g' configure + +%build +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +%configure --disable-ltdl-install --disable-static --disable-rpath --with-system-user=pulse --with-system-group=pulse --with-realtime-group=pulse-rt --with-access-group=pulse-access +make %{?jobs:-j%jobs} +make doxygen + +%install +%makeinstall +#cp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pulse/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/pulse-%{drvver}/modules/*.la +%suse_update_desktop_file pulseaudio +%find_lang %{name} +# configure --disable-static had no effect; delete manually. +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a +chmod 755 $RPM_BUILD_ROOT%{_bindir}/pulseaudio +ln -s esdcompat $RPM_BUILD_ROOT%{_bindir}/esd +rm $RPM_BUILD_ROOT/%{_libdir}/libpulsecore.so + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre +groupadd -r pulse &>/dev/null || : +useradd -r -c 'PulseAudio daemon' \ + -s /sbin/nologin -d /var/lib/pulseaudio -g pulse -G audio pulse &>/dev/null || : +groupadd -r pulse-rt &>/dev/null || : +groupadd -r pulse-access &>/dev/null || : + +%post -n libpulse0 -p /sbin/ldconfig + +%postun -n libpulse0 -p /sbin/ldconfig + +%post -n libpulse-mainloop-glib0 -p /sbin/ldconfig + +%postun -n libpulse-mainloop-glib0 -p /sbin/ldconfig + +%post -n libpulse-browse0 -p /sbin/ldconfig + +%postun -n libpulse-browse0 -p /sbin/ldconfig + +%post -n libpulsecore9 -p /sbin/ldconfig + +%postun -n libpulsecore9 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README LICENSE GPL LGPL +%dir %{_sysconfdir}/pulse/ +%config(noreplace) %{_sysconfdir}/pulse/daemon.conf +%config(noreplace) %{_sysconfdir}/pulse/default.pa +%config(noreplace) %{_sysconfdir}/pulse/system.pa +%config%{_sysconfdir}/xdg/autostart/pulseaudio.desktop +#%attr(4755,root,root) %{_bindir}/pulseaudio +%{_bindir}/pulseaudio +%{_bindir}/start-pulseaudio-x11 +%dir %{_libdir}/pulse-%{drvver}/ +%dir %{_libdir}/pulse-%{drvver}/modules/ +%{_libdir}/pulse-%{drvver}/modules/libalsa-util.so +%{_libdir}/pulse-%{drvver}/modules/libauth-cookie.so +%{_libdir}/pulse-%{drvver}/modules/libauthkey.so +%{_libdir}/pulse-%{drvver}/modules/libcli.so +%{_libdir}/pulse-%{drvver}/modules/libdbus-util.so +%{_libdir}/pulse-%{drvver}/modules/libiochannel.so +%{_libdir}/pulse-%{drvver}/modules/libioline.so +%{_libdir}/pulse-%{drvver}/modules/libipacl.so +%{_libdir}/pulse-%{drvver}/modules/liboss-util.so +%{_libdir}/pulse-%{drvver}/modules/libpacket.so +%{_libdir}/pulse-%{drvver}/modules/libparseaddr.so +%{_libdir}/pulse-%{drvver}/modules/libpdispatch.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/libpstream-util.so +%{_libdir}/pulse-%{drvver}/modules/libpstream.so +%{_libdir}/pulse-%{drvver}/modules/librtp.so +%{_libdir}/pulse-%{drvver}/modules/libsocket-client.so +%{_libdir}/pulse-%{drvver}/modules/libsocket-server.so +%{_libdir}/pulse-%{drvver}/modules/libsocket-util.so +%{_libdir}/pulse-%{drvver}/modules/libstrlist.so +%{_libdir}/pulse-%{drvver}/modules/libtagstruct.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-cli-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-unix.so +%{_libdir}/pulse-%{drvver}/modules/module-cli.so +%{_libdir}/pulse-%{drvver}/modules/module-combine.so +%{_libdir}/pulse-%{drvver}/modules/module-console-kit.so +%{_libdir}/pulse-%{drvver}/modules/module-detect.so +%{_libdir}/pulse-%{drvver}/modules/module-device-restore.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-hal-detect.so +%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-unix.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-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-rescue-streams.so +%{_libdir}/pulse-%{drvver}/modules/module-rtp-recv.so +%{_libdir}/pulse-%{drvver}/modules/module-rtp-send.so +%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-unix.so +%{_libdir}/pulse-%{drvver}/modules/module-stream-restore.so +%{_libdir}/pulse-%{drvver}/modules/module-sine.so +%{_libdir}/pulse-%{drvver}/modules/module-tunnel-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-tunnel-source.so +%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so +%{_libdir}/pulse-%{drvver}/modules/module-suspend-on-idle.so +%{_libdir}/pulse-%{drvver}/modules/module-default-device-restore.so +%{_libdir}/pulse-%{drvver}/modules/module-ladspa-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-remap-sink.so +%{_datadir}/PolicyKit/policy/org.pulseaudio.policy +%{_mandir}/man1/pulseaudio.1.gz +%{_mandir}/man5/default.pa.5.gz +%{_mandir}/man5/pulse-client.conf.5.gz +%{_mandir}/man5/pulse-daemon.conf.5.gz + +%files esound-compat +%defattr(-,root,root) +%{_bindir}/esdcompat +%{_bindir}/esd +%{_mandir}/man1/esdcompat.1.gz + +%files module-lirc +%defattr(-,root,root) +%{_libdir}/pulse-%{drvver}/modules/module-lirc.so + +%files module-x11 +%defattr(-,root,root) +%{_libdir}/pulse-%{drvver}/modules/libx11prop.so +%{_libdir}/pulse-%{drvver}/modules/libx11wrap.so +%{_libdir}/pulse-%{drvver}/modules/module-x11-bell.so +%{_libdir}/pulse-%{drvver}/modules/module-x11-publish.so +%{_libdir}/pulse-%{drvver}/modules/module-x11-xsmp.so + +%files module-zeroconf +%defattr(-,root,root) +%{_libdir}/pulse-%{drvver}/modules/libavahi-wrap.so +%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-publish.so +%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-discover.so + +%files module-jack +%defattr(-,root,root) +%{_libdir}/pulse-%{drvver}/modules/module-jack-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-jack-source.so + +%files module-bluetooth +%defattr(-,root,root) +%{_libdir}/pulse-%{drvver}/modules/libbluetooth-ipc.so +%{_libdir}/pulse-%{drvver}/modules/libbluetooth-sbc.so +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-device.so +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-proximity.so +%attr(0755,root,root) %{_libexecdir}/pulse/proximity-helper + +%files module-gconf +%defattr(-,root,root) +%dir %{_libdir}/pulse +%{_libdir}/pulse-%{drvver}/modules/module-gconf.so +%{_libexecdir}/pulse/gconf-helper + +%files -n libpulse0 +%defattr(-,root,root) +%doc README LICENSE GPL LGPL +%dir %{_sysconfdir}/pulse/ +%config(noreplace) %{_sysconfdir}/pulse/client.conf +%{_libdir}/libpulse.so.* +%{_libdir}/libpulse-simple.so.* + +%files -n libpulsecore9 +%defattr(-,root,root) +%{_libdir}/libpulsecore.so.* +%{_libdir}/libpulsedsp.so + +%files -n libpulse-mainloop-glib0 +%defattr(-,root,root) +%{_libdir}/libpulse-mainloop-glib.so.* + +%files -n libpulse-browse0 +%defattr(-,root,root) +%{_bindir}/pabrowse +%{_libdir}/libpulse-browse.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}/libpulse-browse.so +%{_libdir}/pkgconfig/libpulse*.pc + +%files utils +%defattr(-,root,root) +%{_bindir}/pacat +%{_bindir}/pacmd +%{_bindir}/pactl +%{_bindir}/paplay +%{_bindir}/parec +%{_bindir}/pax11publish +%{_bindir}/padsp +%{_bindir}/pasuspender +%{_mandir}/man1/pabrowse.1.gz +%{_mandir}/man1/pacat.1.gz +%{_mandir}/man1/pacmd.1.gz +%{_mandir}/man1/pactl.1.gz +%{_mandir}/man1/paplay.1.gz +%{_mandir}/man1/pasuspender.1.gz +%{_mandir}/man1/padsp.1.gz +%{_mandir}/man1/pax11publish.1.gz + +%files lang -f %{name}.lang + +%changelog +* Wed Feb 19 2009 michael@schloh.com +- Upgrade to version 0.9.14, hope for better stability +- Use tar.gz instead of unavailable tar.bz2 file +* Sat May 31 2008 rodrigo@suse.de +- Don't require alsa-plugins-pulse, just Recommend it (bnc#394177) +* Mon May 26 2008 rodrigo@suse.de +- Depend on alsa-plugins-pulse to have ALSA-based applications + work out of the box with PulseAudio (bnc#394177) +* Sat May 24 2008 jpr@suse.de +- Generate 32bit libraries (bnc #338269) +* Mon May 19 2008 rodrigo@suse.de +- Removed pulseaudio-use-correct-socket-for-esd-375701.patch, + which conflicts with esound patch (bnc#391864) +* Mon May 12 2008 rodrigo@suse.de +- Added pulseaudio-defaults-daemon-conf.patch to set default + values for better performance (bnc#381686) +* Tue May 06 2008 rodrigo@suse.de +- Added pulseaudio-use-correct-socket-for-esd-375701.patch to + use correct esound socket (bnc375701) +* Thu Apr 10 2008 maw@suse.de +- Update to version 0.9.10: + + Better compatibility in padsp with certain programs which like + to pass NULL strings to libc functions + + Properly create ~/.pulse before using it + + Multiarch fixes + + Update module-tunnel for protocol version 12 + + Update Speex resampler + + Native ARM atomic operations support + + Update of the PolicyKit interface + + Compatibility with libtool 2.2 + + LADSPA interfacing fixes + + Make per-user esd socket compile time configurable + + Many other bug fixes and updates +- Drop pulseaudio-0.9.8-fix-sample-upload.patch +- Add pulseaudio-declarations.patch. +* Fri Apr 04 2008 rodrigo@suse.de +- Added Obsoletes and Provides to esound-compat package to fix + dependencies on esound +* Wed Mar 12 2008 rodrigo@suse.de +- Review and merge changes from public build service into FACTORY. +* Sun Mar 09 2008 cyberorg@cyberorg.info +- Update to 0.9.9 +- The only change from 0.9.8 is a fix for CVE-2008-0008 +- Need to add pulse user to audio group too +* Fri Jan 25 2008 rodrigo@suse.de +- Removed empty patch file +- Disabled setuid binaries +* Thu Jan 24 2008 rodrigo@suse.de +- Don't use our own default configuration, use upstream one. This + should give us support for all devices detected by HAL. +* Wed Jan 23 2008 rodrigo@suse.de +- Reviewed changes from cyberorg@cyberorg.info submitted to + home:rodrigomoya:pulseaudio BS service. +* Thu Jan 10 2008 cyberorg@cyberorg.info +- Update to 0.9.8 + * Man pages + * Make real-time priority and nice level configurable + * Support acquiring priviliges for high-priority and real-time scheduling + via PolicyKit + * Support S32 samples natively + * Rework ALSA surround sound configuration completely + * Automatic upmixing/downmixing + * Add a couple of new directives to libpulse: add flag to allow fixing the + sample specs to the ones that are native to the sink/source a stream is + connected to; Change the sample rate, buffering attributes during runtime; + allow notification on device suspend/resume and moving of streams between + devices + * Check process name when dealing with PID files + * Allow configuratin of RLIMIT_RTPRIO, RLIMIT_NICE + * Add bluetooth proximity module. Just pair your phone and have PA turn down + the volume when you leave with your phone and turn it up again if you come back. +- Enable bluetooth +- Enable Jack +- Add policykit +- Add many man pages +- Enable tcpd +* Wed Jan 09 2008 rodrigo@suse.de +- Renamed libs packages to follow shared lib policy +- Added better descriptions for subpackages +- Use tar.bz2 instead of tar.gz +- Fixed unversioned self-provides and obsoletes +- Use update-desktop-files for .desktop file +- PreRequire pwdutils for groupadd/del +- Moved libpulsedsp.so to libpusecore4 to avoid rpmlint errors +* Tue Jan 08 2008 rodrigo@suse.de +- Don't remove users/groups on %%postun +* Tue Jan 08 2008 rodrigo@suse.de +- Removed 'rm -rf $RPM_BUILD_ROOT' from %%install +* Mon Dec 24 2007 rodrigo@suse.de +- Use /var/lib/pulseaudio as home dir for pulseaudio user. +* Wed Dec 12 2007 rodrigo@suse.de +- Removed special permissions for pulseaudio binary to make it + buildable until the permissions thing is solved. +* Tue Dec 11 2007 rodrigo@suse.de +- Merged with package from home:rodrigomoya:pulseaudio BS project. +* Thu Nov 22 2007 cyberorg@cyberorg.info +- Remove Provides and Obsoletes from esound compat package +* Wed Nov 21 2007 cyberorg@cyberorg.info +- Restructured spec file to build more subpackages, like in Fedora 8. +* Wed Oct 31 2007 tiwai@suse.de +- updated to version 0.9.7: + * New threaded lock-free (mostly at least) core + * New module for automatic discovery of zeroconf audio devices + * Reworked JACK module for better real-time compatibility + * PA now suspends access to all audio devices if idle + * module-combine is now beefedup to automatically pick up local hw devices + * make use of gcc intrinsics for atomic ops, byteswap, tls, where possible + * use speex resampler by default + * use mmap access by default for ALSA devices + * fold OSS mmap driver into normal OSS driver + * add LADSPA plugin + * add plugin for splitting or remapping channel maps + * Use Linux eventfd() if available, instead of hacks around FIFOs + * make use of PTHREAD_PRIO_INHERIT for some mutexes, wher it makes sense + * cleanup dead SHM frags from /dev/shm, where applicable + * automatically store/restore default audio device + * add new tool pasuspender tool + * X11 session management support + * allow global configuration for fragment settings/sizes + * PA (if HAL is enabled) now ignores modem sound devices by default + * Lots of bug fixes and other improvements +* Thu Oct 11 2007 sbrabec@suse.cz +- Use binding specific avahi package. +* Tue Jun 19 2007 tiwai@suse.de +- fixed default.pa (typo of rtp.monitor). +* Tue Jun 12 2007 tiwai@suse.de +- disable flist-test that doesn't pass with ppc (libatomic-ops + problem) +* Fri Jun 08 2007 tiwai@suse.de +- updated to version 0.9.6: + * bugfixes, including previous patches + * use lock-free algorith with libatomic-ops +- add avahi-devel, xorg-x11-devel, glib2-devel and hal-devel to + buildrequires +- prefer Master volume to PCM volume +* Tue May 29 2007 tiwai@suse.de +- fix possible remote DoS (#260326) +- fix wrong endian conversion of float data +- add a workaround for firefox with LD_PRELOAD wrapper +- add the missing support of ioctls for JavaSound +- increase ESD max samplesize +* Tue Apr 24 2007 tiwai@suse.de +- disable static library, don't use ltdl install +- fix requires of devel package +- fix post and postun +- build documents via doxygen +- fix suspend/resume with alsa backend +- fix the frame size handling in alsa backend +- fix possible NULL dereference +* Mon Oct 16 2006 schwab@suse.de +- Make sure config.rpath is present. +* Wed Sep 06 2006 tiwai@suse.de +- updated to version 0.9.5: + * add module-hal-detect module + * shared memory transfer method for local clients + * update module-volume-restore to automatically restore the output device + * add a new module module-rescue-streams + * add support for moving streams "hot" between sinks/sources + * reduce memory consumption and CPU load + * add new module module-gconf for reading additional configuration + * fix module-tunnel to work with the latest protocol + * miscellaneous fixes +* Thu Aug 17 2006 tiwai@suse.de +- move libpulsedsp.so to the main package from devel sub package + (#199735). +* Mon Jul 31 2006 tiwai@suse.de +- updated to version 0.9.4: + * support for system-wide pulseaudio daemon. + * add authentication by IP address range ACL (auth-ip-acl=) + * support to set resource limits on platforms + * remove loopback= argument for module-*-protocol-tcp + * remove obsolete GLIB event loop adapter + * add an API to check whether a source/sink is hardware or virtual + * remove warning about SIGPIPE in client apps + * improve latency calculation of NULL sink + * port Zeroconf code from the HOWL API to the native Avahi API + * fix broken time event handling in GLIB + * Some valgrind/massif fixes + * Fix pkg-config files for AMD64 +* Wed Jul 12 2006 tiwai@suse.de +- renamed from polypaudio to pulseaudio (the project name was + changed) +- update to version 0.9.2: + * increase maximum number of concurrent connections + * fix latency interpolation + * add support for reverse endian sound cards + * add support for recording in padsp + * reenable CPU load limiter + * other bugfixes +