Import custom package specs to build for undistributed platforms.

Sat, 21 Feb 2009 16:34:22 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 21 Feb 2009 16:34:22 +0100
changeset 6
961c83bf7b99
parent 5
974f3946908a
child 7
dd4529dd7b21

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.

libltdl/libltdl.patch file | annotate | diff | comparison | revisions
libltdl/libltdl.spec file | annotate | diff | comparison | revisions
pulseaudio/pulseaudio.patch file | annotate | diff | comparison | revisions
pulseaudio/pulseaudio.spec file | annotate | diff | comparison | revisions
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libltdl/libltdl.patch	Sat Feb 21 16:34:22 2009 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +Index: configure.in
     1.5 +--- configure.in.orig	2009-02-20 00:59:13.000000000 +0100
     1.6 ++++ configure.in	2009-02-20 00:59:34.000000000 +0100
     1.7 +@@ -3,11 +3,11 @@
     1.8 + dnl as independent library
     1.9 + dnl
    1.10 + AC_INIT(configure.in)
    1.11 +-AM_INIT_AUTOMAKE(libltdl,0.0.0)
    1.12 + AC_LIBTOOL_DLOPEN
    1.13 + AC_LIBLTDL_INSTALLABLE($libdir)
    1.14 + AC_CONFIG_SUBDIRS(libltdl)
    1.15 + AC_CONFIG_AUX_DIR(.)
    1.16 ++AM_INIT_AUTOMAKE(libltdl,0.0.0)
    1.17 + AM_PROG_LIBTOOL
    1.18 + AC_OUTPUT([Makefile])
    1.19 + 
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libltdl/libltdl.spec	Sat Feb 21 16:34:22 2009 +0100
     2.3 @@ -0,0 +1,90 @@
     2.4 +%define name    libltdl 
     2.5 +%define version 0.1.3
     2.6 +%define release 1
     2.7 +
     2.8 +Summary: GNU portable run time dynamic link library 
     2.9 +Name: %{name}
    2.10 +Version: %{version}
    2.11 +Release: %{release}
    2.12 +Source0: %{name}-%{version}.tar.bz2
    2.13 +Patch0:  libltdl.patch
    2.14 +Packager: rufus t firefly <rufus.t.firefly@linux-mandrake.com>
    2.15 +URL: http://www.gnu.org/software/libtool/
    2.16 +License: GPL
    2.17 +Group: System/Libraries
    2.18 +BuildRoot: %{_tmppath}/%{name}-buildroot
    2.19 +BuildRequires:  libtool, automake, autoconf, perl
    2.20 +Prefix: %{_prefix}
    2.21 +
    2.22 +%description
    2.23 +libltdl is an easy-to-use packaging of the GNU portable run time
    2.24 +dynamic link library.
    2.25 +
    2.26 +%package devel
    2.27 +Summary: GNU portable run time dynamic link library development files 
    2.28 +Group: Development/Other
    2.29 +
    2.30 +%description devel
    2.31 +libltdl is an easy-to-use packaging of the GNU portable run time
    2.32 +dynamic link library. You will only need this package if you intend
    2.33 +to develop applications with this library
    2.34 +
    2.35 +%prep
    2.36 +rm -rf $RPM_BUILD_ROOT
    2.37 +
    2.38 +%setup -n ltdl
    2.39 +%patch -p0
    2.40 +
    2.41 +%build
    2.42 +# fix version number
    2.43 +perl -pi -e "s|0.0.0|%{version}||g;" configure.in
    2.44 +
    2.45 +# actual build
    2.46 +./autogen.sh
    2.47 +%configure --enable-ltdl-install
    2.48 +make all
    2.49 +
    2.50 +%install
    2.51 +mkdir -p $RPM_BUILD_ROOT%{_libdir}
    2.52 +%makeinstall PREFIX=$RPM_BUILD_ROOT/usr 
    2.53 +
    2.54 +%clean
    2.55 +rm -rf $RPM_BUILD_ROOT
    2.56 +
    2.57 +%post
    2.58 +/sbin/ldconfig
    2.59 +
    2.60 +%postun
    2.61 +/sbin/ldconfig
    2.62 +
    2.63 +%files
    2.64 +%defattr(-,root,root)
    2.65 +%doc README
    2.66 +%{_libdir}/libltdl.so
    2.67 +%{_libdir}/libltdl.so.*
    2.68 +
    2.69 +%files devel
    2.70 +%defattr(-,root,root)
    2.71 +%{_libdir}/libltdl.a
    2.72 +%{_libdir}/libltdl.la
    2.73 +%{_includedir}/ltdl.h
    2.74 +
    2.75 +%changelog
    2.76 +* Tue Nov 07 2000 rufus t firefly <rufus.t.firefly@linux-mandrake.com>
    2.77 +  - v0.1.3-1mdk
    2.78 +  - finalized from CVS
    2.79 +
    2.80 +* Mon Sep 11 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.2.20000524-3mdk
    2.81 +  - clean spec
    2.82 +
    2.83 +* Fri Jul 28 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.1.2.20000524-2mdk
    2.84 +  - BM
    2.85 +  - fuck rpmlint
    2.86 +
    2.87 +* Tue Jun 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.2.20000524-1mdk
    2.88 +  - fix build by adding --enable-ltdl-install
    2.89 +  - new in contribs
    2.90 +
    2.91 +* Wed May 24 2000 rufus t firefly <rufus.t.firefly@linux-mandrake.com>
    2.92 +  - v0.1.2.20000524 (initial packaging)
    2.93 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pulseaudio/pulseaudio.patch	Sat Feb 21 16:34:22 2009 +0100
     3.3 @@ -0,0 +1,27 @@
     3.4 +Index: src/modules/module-hal-detect.c
     3.5 +--- src/modules/module-hal-detect.c.orig	2009-01-13 00:10:34.000000000 +0100
     3.6 ++++ src/modules/module-hal-detect.c	2009-02-21 11:44:42.227221959 +0100
     3.7 +@@ -183,7 +183,7 @@
     3.8 +         goto fail;
     3.9 + 
    3.10 +     device = libhal_device_get_property_int(u->context, udi, "alsa.device", &error);
    3.11 +-    if (dbus_error_is_set(&error) || device != 0)
    3.12 ++    if (dbus_error_is_set(&error))
    3.13 +         goto fail;
    3.14 + 
    3.15 +     card = libhal_device_get_property_int(u->context, udi, "alsa.card", &error);
    3.16 +@@ -197,12 +197,12 @@
    3.17 +         *sink_name = pa_sprintf_malloc("alsa_output.%s", strip_udi(udi));
    3.18 + 
    3.19 +         module_name = "module-alsa-sink";
    3.20 +-        args = pa_sprintf_malloc("device_id=%u sink_name=%s tsched=%i", card, *sink_name, (int) u->use_tsched);
    3.21 ++        args = pa_sprintf_malloc("device_id=%u,%u sink_name=%s tsched=%i", card, device, *sink_name, (int) u->use_tsched);
    3.22 +     } else {
    3.23 +         *source_name = pa_sprintf_malloc("alsa_input.%s", strip_udi(udi));
    3.24 + 
    3.25 +         module_name = "module-alsa-source";
    3.26 +-        args = pa_sprintf_malloc("device_id=%u source_name=%s tsched=%i", card, *source_name, (int) u->use_tsched);
    3.27 ++        args = pa_sprintf_malloc("device_id=%u,%u source_name=%s tsched=%i", card, device, *source_name, (int) u->use_tsched);
    3.28 +     }
    3.29 + 
    3.30 +     pa_log_debug("Loading %s with arguments '%s'", module_name, args);
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/pulseaudio/pulseaudio.spec	Sat Feb 21 16:34:22 2009 +0100
     4.3 @@ -0,0 +1,695 @@
     4.4 +#
     4.5 +# spec file for package pulseaudio (Version 0.9.14)
     4.6 +#
     4.7 +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
     4.8 +# This file and all modifications and additions to the pristine
     4.9 +# package are under the same license as the package itself.
    4.10 +#
    4.11 +
    4.12 +Name:           pulseaudio
    4.13 +%define drvver 0.9
    4.14 +Summary:        A Networked Sound Server
    4.15 +Version:        0.9.14
    4.16 +Release:        1
    4.17 +License:        GPL v2 or later; LGPL v2.1 or later
    4.18 +Group:          System/Sound Daemons
    4.19 +Source:         %{name}-%{version}.tar.gz
    4.20 +Patch:          %{name}.patch
    4.21 +Url:            http://www.pulseaudio.org/
    4.22 +BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    4.23 +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
    4.24 +#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
    4.25 +Requires:       libpulsecore9 = %{version}
    4.26 +Requires:       %{name}-lang = %{version}
    4.27 +Recommends:     alsa-plugins-pulse
    4.28 +PreReq:         pwdutils
    4.29 +
    4.30 +%description
    4.31 +pulseaudio is a networked sound server for Linux and other Unix like
    4.32 +operating systems and Microsoft Windows. It is intended to be an
    4.33 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
    4.34 +
    4.35 +Authors:
    4.36 +--------
    4.37 +    Lennart Poettering
    4.38 +    Pierre Ossman
    4.39 +
    4.40 +%package esound-compat
    4.41 +License:        GPL v2 or later; LGPL v2.1 or later
    4.42 +Summary:        ESOUND compatibility for PulseAudio
    4.43 +Group:          System/Sound Daemons
    4.44 +Requires:       %{name} = %{version}
    4.45 +Provides:       esound-daemon = 0.2.41
    4.46 +Obsoletes:      esound-daemon <= 0.2.41
    4.47 +
    4.48 +%description esound-compat
    4.49 +pulseaudio is a networked sound server for Linux and other Unix like
    4.50 +operating systems and Microsoft Windows. It is intended to be an
    4.51 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
    4.52 +
    4.53 +This package provides the compatibility layer for drop-in replacement
    4.54 +of ESOUND.
    4.55 +
    4.56 +Authors:
    4.57 +--------
    4.58 +    Lennart Poettering
    4.59 +    Pierre Ossman
    4.60 +
    4.61 +%package module-lirc
    4.62 +License:        GPL v2 or later; LGPL v2.1 or later
    4.63 +Summary:        LIRC module for PulseAudio
    4.64 +Group:          System/Sound Daemons
    4.65 +Requires:       %{name} = %{version}
    4.66 +
    4.67 +%description module-lirc
    4.68 +pulseaudio is a networked sound server for Linux and other Unix like
    4.69 +operating systems and Microsoft Windows. It is intended to be an
    4.70 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
    4.71 +
    4.72 +Authors:
    4.73 +--------
    4.74 +    Lennart Poettering
    4.75 +    Pierre Ossman
    4.76 +
    4.77 +%package module-x11
    4.78 +License:        GPL v2 or later; LGPL v2.1 or later
    4.79 +Summary:        X11 module for PulseAudio
    4.80 +Group:          System/Sound Daemons
    4.81 +Requires:       %{name} = %{version}
    4.82 +
    4.83 +%description module-x11
    4.84 +pulseaudio is a networked sound server for Linux and other Unix like
    4.85 +operating systems and Microsoft Windows. It is intended to be an
    4.86 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
    4.87 +
    4.88 +Authors:
    4.89 +--------
    4.90 +    Lennart Poettering
    4.91 +    Pierre Ossman
    4.92 +
    4.93 +%package module-zeroconf
    4.94 +License:        GPL v2 or later; LGPL v2.1 or later
    4.95 +Summary:        Zeroconf module for PulseAudio
    4.96 +Group:          System/Sound Daemons
    4.97 +Requires:       %{name} = %{version}
    4.98 +
    4.99 +%description module-zeroconf
   4.100 +pulseaudio is a networked sound server for Linux and other Unix like
   4.101 +operating systems and Microsoft Windows. It is intended to be an
   4.102 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.103 +
   4.104 +Authors:
   4.105 +--------
   4.106 +    Lennart Poettering
   4.107 +    Pierre Ossman
   4.108 +
   4.109 +%package module-jack
   4.110 +License:        GPL v2 or later; LGPL v2.1 or later
   4.111 +Summary:        JACK support for the PulseAudio sound server
   4.112 +Group:          System/Sound Daemons
   4.113 +Requires:       %{name} = %{version}
   4.114 +
   4.115 +%description module-jack
   4.116 +pulseaudio is a networked sound server for Linux and other Unix like
   4.117 +operating systems and Microsoft Windows. It is intended to be an
   4.118 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.119 +
   4.120 +This package includes support for Jack-based applications.
   4.121 +
   4.122 +Authors:
   4.123 +--------
   4.124 +    Lennart Poettering
   4.125 +    Pierre Ossman
   4.126 +
   4.127 +%package module-bluetooth
   4.128 +License:        GPL v2 or later; LGPL v2.1 or later
   4.129 +Summary:        Bluetooth proximity support for the PulseAudio sound server
   4.130 +Group:          System/Sound Daemons
   4.131 +Requires:       %{name} = %{version}
   4.132 +
   4.133 +%description module-bluetooth
   4.134 +pulseaudio is a networked sound server for Linux and other Unix like
   4.135 +operating systems and Microsoft Windows. It is intended to be an
   4.136 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.137 +
   4.138 +This package includes support for Bluetooth-based sound devices.
   4.139 +
   4.140 +Authors:
   4.141 +--------
   4.142 +    Lennart Poettering
   4.143 +    Pierre Ossman
   4.144 +
   4.145 +%package module-gconf
   4.146 +License:        GPL v2 or later; LGPL v2.1 or later
   4.147 +Summary:        GCONF module for PulseAudio
   4.148 +Group:          System/Sound Daemons
   4.149 +Requires:       %{name} = %{version}
   4.150 +
   4.151 +%description module-gconf
   4.152 +pulseaudio is a networked sound server for Linux and other Unix like
   4.153 +operating systems and Microsoft Windows. It is intended to be an
   4.154 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.155 +
   4.156 +Authors:
   4.157 +--------
   4.158 +    Lennart Poettering
   4.159 +    Pierre Ossman
   4.160 +
   4.161 +%package -n libpulse0
   4.162 +Summary:        Client interface to PulseAudio
   4.163 +License:        GPL v2 or later; LGPL v2.1 or later
   4.164 +Group:          System/Libraries
   4.165 +Provides:       pulseaudio-libs = %{version}-%{release}
   4.166 +Obsoletes:      pulseaudio-libs < %{version}
   4.167 +
   4.168 +%description -n libpulse0
   4.169 +pulseaudio is a networked sound server for Linux and other Unix like
   4.170 +operating systems and Microsoft Windows. It is intended to be an
   4.171 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.172 +
   4.173 +This package contains the system libraries for clients of pulseaudio
   4.174 +sound server.
   4.175 +
   4.176 +Authors:
   4.177 +--------
   4.178 +    Lennart Poettering
   4.179 +    Pierre Ossman
   4.180 +
   4.181 +%package -n libpulsecore9
   4.182 +Summary:        System libraries for PulseAudio
   4.183 +License:        GPL v2 or later; LGPL v2.1 or later
   4.184 +Group:          System/Sound Daemons
   4.185 +Provides:       pulseaudio-core-libs = %{version}-%{release}
   4.186 +Obsoletes:      pulseaudio-core-libs < %{version}
   4.187 +
   4.188 +%description -n libpulsecore9
   4.189 +pulseaudio is a networked sound server for Linux and other Unix like
   4.190 +operating systems and Microsoft Windows. It is intended to be an
   4.191 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.192 +
   4.193 +Authors:
   4.194 +--------
   4.195 +    Lennart Poettering
   4.196 +    Pierre Ossman
   4.197 +
   4.198 +%package -n libpulse-mainloop-glib0
   4.199 +Summary:        GLIB 2.0 Main Loop wrapper for PulseAudio
   4.200 +License:        GPL v2 or later; LGPL v2.1 or later
   4.201 +Group:          System/Sound Daemons
   4.202 +Provides:       pulseaudio-libs-glib2 = %{version}-%{release}
   4.203 +Obsoletes:      pulseaudio-libs-glib2 < %{version}
   4.204 +
   4.205 +%description -n libpulse-mainloop-glib0
   4.206 +pulseaudio is a networked sound server for Linux and other Unix like
   4.207 +operating systems and Microsoft Windows. It is intended to be an
   4.208 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.209 +
   4.210 +Authors:
   4.211 +--------
   4.212 +    Lennart Poettering
   4.213 +    Pierre Ossman
   4.214 +
   4.215 +%package -n libpulse-browse0
   4.216 +Summary:        PulseAudio network browsing API
   4.217 +License:        GPL v2 or later; LGPL v2.1 or later
   4.218 +Group:          System/Sound Daemons
   4.219 +Provides:       pulseaudio-libs-zeroconf = %{version}-%{release}
   4.220 +Obsoletes:      pulseaudio-libs-zeroconf < %{version}
   4.221 +
   4.222 +%description -n libpulse-browse0
   4.223 +pulseaudio is a networked sound server for Linux and other Unix like
   4.224 +operating systems and Microsoft Windows. It is intended to be an
   4.225 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.226 +
   4.227 +Authors:
   4.228 +--------
   4.229 +    Lennart Poettering
   4.230 +    Pierre Ossman
   4.231 +
   4.232 +%package -n libpulse-devel
   4.233 +Summary:        Development package for the pulseaudio library
   4.234 +License:        GPL v2 or later; LGPL v2.1 or later
   4.235 +Group:          Development/Libraries/C and C++
   4.236 +Requires:       libpulse0 = %{version}
   4.237 +Requires:       libpulse-mainloop-glib0 = %{version}
   4.238 +Requires:       libpulse-browse0 = %{version}
   4.239 +Requires:       pkgconfig glib2-devel
   4.240 +Provides:       pulseaudio-devel = %{version}-%{release}
   4.241 +Obsoletes:      pulseaudio-devel < %{version}
   4.242 +
   4.243 +%description -n libpulse-devel
   4.244 +pulseaudio is a networked sound server for Linux and other Unix like
   4.245 +operating systems and Microsoft Windows. It is intended to be an
   4.246 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.247 +
   4.248 +This package contains the files needed to compile programs that use the
   4.249 +pulseaudio library.
   4.250 +
   4.251 +Authors:
   4.252 +--------
   4.253 +    Lennart Poettering
   4.254 +    Pierre Ossman
   4.255 +
   4.256 +%package utils
   4.257 +Summary:        PulseAudio utilities
   4.258 +License:        GPL v2 or later; LGPL v2.1 or later
   4.259 +Group:          System/Sound Daemons
   4.260 +Requires:       libpulse0 = %{version}
   4.261 +Requires:       libpulsecore9 = %{version}
   4.262 +Requires:       libpulse-browse0 = %{version}
   4.263 +Requires:       libpulse-mainloop-glib0 = %{version}
   4.264 +
   4.265 +%description utils
   4.266 +pulseaudio is a networked sound server for Linux and other Unix like
   4.267 +operating systems and Microsoft Windows. It is intended to be an
   4.268 +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
   4.269 +
   4.270 +Authors:
   4.271 +--------
   4.272 +    Lennart Poettering
   4.273 +    Pierre Ossman
   4.274 +
   4.275 +%lang_package
   4.276 +%prep
   4.277 +%setup -q -T -b0
   4.278 +%patch -p0
   4.279 +sed -ie 's;\(alsa >=\) 1.0.17;\1 1.0.16;g' configure
   4.280 +
   4.281 +%build
   4.282 +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
   4.283 +%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
   4.284 +make %{?jobs:-j%jobs}
   4.285 +make doxygen
   4.286 +
   4.287 +%install
   4.288 +%makeinstall
   4.289 +#cp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pulse/
   4.290 +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/pulse-%{drvver}/modules/*.la
   4.291 +%suse_update_desktop_file pulseaudio
   4.292 +%find_lang %{name}
   4.293 +# configure --disable-static had no effect; delete manually.
   4.294 +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
   4.295 +chmod 755 $RPM_BUILD_ROOT%{_bindir}/pulseaudio
   4.296 +ln -s esdcompat $RPM_BUILD_ROOT%{_bindir}/esd
   4.297 +rm $RPM_BUILD_ROOT/%{_libdir}/libpulsecore.so
   4.298 +
   4.299 +%clean
   4.300 +rm -rf $RPM_BUILD_ROOT
   4.301 +
   4.302 +%pre
   4.303 +groupadd -r pulse &>/dev/null || :
   4.304 +useradd -r -c 'PulseAudio daemon' \
   4.305 +    -s /sbin/nologin -d /var/lib/pulseaudio -g pulse -G audio pulse &>/dev/null || :
   4.306 +groupadd -r pulse-rt &>/dev/null || :
   4.307 +groupadd -r pulse-access &>/dev/null || :
   4.308 +
   4.309 +%post -n libpulse0 -p /sbin/ldconfig
   4.310 +
   4.311 +%postun -n libpulse0 -p /sbin/ldconfig
   4.312 +
   4.313 +%post -n libpulse-mainloop-glib0 -p /sbin/ldconfig
   4.314 +
   4.315 +%postun -n libpulse-mainloop-glib0 -p /sbin/ldconfig
   4.316 +
   4.317 +%post -n libpulse-browse0 -p /sbin/ldconfig
   4.318 +
   4.319 +%postun -n libpulse-browse0 -p /sbin/ldconfig
   4.320 +
   4.321 +%post -n libpulsecore9 -p /sbin/ldconfig
   4.322 +
   4.323 +%postun -n libpulsecore9 -p /sbin/ldconfig
   4.324 +
   4.325 +%files
   4.326 +%defattr(-,root,root)
   4.327 +%doc README LICENSE GPL LGPL
   4.328 +%dir %{_sysconfdir}/pulse/
   4.329 +%config(noreplace) %{_sysconfdir}/pulse/daemon.conf
   4.330 +%config(noreplace) %{_sysconfdir}/pulse/default.pa
   4.331 +%config(noreplace) %{_sysconfdir}/pulse/system.pa
   4.332 +%config%{_sysconfdir}/xdg/autostart/pulseaudio.desktop
   4.333 +#%attr(4755,root,root) %{_bindir}/pulseaudio
   4.334 +%{_bindir}/pulseaudio
   4.335 +%{_bindir}/start-pulseaudio-x11
   4.336 +%dir %{_libdir}/pulse-%{drvver}/
   4.337 +%dir %{_libdir}/pulse-%{drvver}/modules/
   4.338 +%{_libdir}/pulse-%{drvver}/modules/libalsa-util.so
   4.339 +%{_libdir}/pulse-%{drvver}/modules/libauth-cookie.so
   4.340 +%{_libdir}/pulse-%{drvver}/modules/libauthkey.so
   4.341 +%{_libdir}/pulse-%{drvver}/modules/libcli.so
   4.342 +%{_libdir}/pulse-%{drvver}/modules/libdbus-util.so
   4.343 +%{_libdir}/pulse-%{drvver}/modules/libiochannel.so
   4.344 +%{_libdir}/pulse-%{drvver}/modules/libioline.so
   4.345 +%{_libdir}/pulse-%{drvver}/modules/libipacl.so
   4.346 +%{_libdir}/pulse-%{drvver}/modules/liboss-util.so
   4.347 +%{_libdir}/pulse-%{drvver}/modules/libpacket.so
   4.348 +%{_libdir}/pulse-%{drvver}/modules/libparseaddr.so
   4.349 +%{_libdir}/pulse-%{drvver}/modules/libpdispatch.so
   4.350 +%{_libdir}/pulse-%{drvver}/modules/libprotocol-cli.so
   4.351 +%{_libdir}/pulse-%{drvver}/modules/libprotocol-esound.so
   4.352 +%{_libdir}/pulse-%{drvver}/modules/libprotocol-http.so
   4.353 +%{_libdir}/pulse-%{drvver}/modules/libprotocol-native.so
   4.354 +%{_libdir}/pulse-%{drvver}/modules/libprotocol-simple.so
   4.355 +%{_libdir}/pulse-%{drvver}/modules/libpstream-util.so
   4.356 +%{_libdir}/pulse-%{drvver}/modules/libpstream.so
   4.357 +%{_libdir}/pulse-%{drvver}/modules/librtp.so
   4.358 +%{_libdir}/pulse-%{drvver}/modules/libsocket-client.so
   4.359 +%{_libdir}/pulse-%{drvver}/modules/libsocket-server.so
   4.360 +%{_libdir}/pulse-%{drvver}/modules/libsocket-util.so
   4.361 +%{_libdir}/pulse-%{drvver}/modules/libstrlist.so
   4.362 +%{_libdir}/pulse-%{drvver}/modules/libtagstruct.so
   4.363 +%{_libdir}/pulse-%{drvver}/modules/module-alsa-sink.so
   4.364 +%{_libdir}/pulse-%{drvver}/modules/module-alsa-source.so
   4.365 +%{_libdir}/pulse-%{drvver}/modules/module-always-sink.so
   4.366 +%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-tcp.so
   4.367 +%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-unix.so
   4.368 +%{_libdir}/pulse-%{drvver}/modules/module-cli.so
   4.369 +%{_libdir}/pulse-%{drvver}/modules/module-combine.so
   4.370 +%{_libdir}/pulse-%{drvver}/modules/module-console-kit.so
   4.371 +%{_libdir}/pulse-%{drvver}/modules/module-detect.so
   4.372 +%{_libdir}/pulse-%{drvver}/modules/module-device-restore.so
   4.373 +%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnfd.so
   4.374 +%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnpid.so
   4.375 +%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-tcp.so
   4.376 +%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-unix.so
   4.377 +%{_libdir}/pulse-%{drvver}/modules/module-esound-sink.so
   4.378 +%{_libdir}/pulse-%{drvver}/modules/module-hal-detect.so
   4.379 +%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-tcp.so
   4.380 +%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-unix.so
   4.381 +%{_libdir}/pulse-%{drvver}/modules/module-match.so
   4.382 +%{_libdir}/pulse-%{drvver}/modules/module-mmkbd-evdev.so
   4.383 +%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-fd.so
   4.384 +%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-tcp.so
   4.385 +%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-unix.so
   4.386 +%{_libdir}/pulse-%{drvver}/modules/module-null-sink.so
   4.387 +%{_libdir}/pulse-%{drvver}/modules/module-oss.so
   4.388 +%{_libdir}/pulse-%{drvver}/modules/module-pipe-sink.so
   4.389 +%{_libdir}/pulse-%{drvver}/modules/module-pipe-source.so
   4.390 +%{_libdir}/pulse-%{drvver}/modules/module-position-event-sounds.so
   4.391 +%{_libdir}/pulse-%{drvver}/modules/module-rescue-streams.so
   4.392 +%{_libdir}/pulse-%{drvver}/modules/module-rtp-recv.so
   4.393 +%{_libdir}/pulse-%{drvver}/modules/module-rtp-send.so
   4.394 +%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-tcp.so
   4.395 +%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-unix.so
   4.396 +%{_libdir}/pulse-%{drvver}/modules/module-stream-restore.so
   4.397 +%{_libdir}/pulse-%{drvver}/modules/module-sine.so
   4.398 +%{_libdir}/pulse-%{drvver}/modules/module-tunnel-sink.so
   4.399 +%{_libdir}/pulse-%{drvver}/modules/module-tunnel-source.so
   4.400 +%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so
   4.401 +%{_libdir}/pulse-%{drvver}/modules/module-suspend-on-idle.so
   4.402 +%{_libdir}/pulse-%{drvver}/modules/module-default-device-restore.so
   4.403 +%{_libdir}/pulse-%{drvver}/modules/module-ladspa-sink.so
   4.404 +%{_libdir}/pulse-%{drvver}/modules/module-remap-sink.so
   4.405 +%{_datadir}/PolicyKit/policy/org.pulseaudio.policy
   4.406 +%{_mandir}/man1/pulseaudio.1.gz
   4.407 +%{_mandir}/man5/default.pa.5.gz
   4.408 +%{_mandir}/man5/pulse-client.conf.5.gz
   4.409 +%{_mandir}/man5/pulse-daemon.conf.5.gz
   4.410 +
   4.411 +%files esound-compat
   4.412 +%defattr(-,root,root)
   4.413 +%{_bindir}/esdcompat
   4.414 +%{_bindir}/esd
   4.415 +%{_mandir}/man1/esdcompat.1.gz
   4.416 +
   4.417 +%files module-lirc
   4.418 +%defattr(-,root,root)
   4.419 +%{_libdir}/pulse-%{drvver}/modules/module-lirc.so
   4.420 +
   4.421 +%files module-x11
   4.422 +%defattr(-,root,root)
   4.423 +%{_libdir}/pulse-%{drvver}/modules/libx11prop.so
   4.424 +%{_libdir}/pulse-%{drvver}/modules/libx11wrap.so
   4.425 +%{_libdir}/pulse-%{drvver}/modules/module-x11-bell.so
   4.426 +%{_libdir}/pulse-%{drvver}/modules/module-x11-publish.so
   4.427 +%{_libdir}/pulse-%{drvver}/modules/module-x11-xsmp.so
   4.428 +
   4.429 +%files module-zeroconf
   4.430 +%defattr(-,root,root)
   4.431 +%{_libdir}/pulse-%{drvver}/modules/libavahi-wrap.so
   4.432 +%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-publish.so
   4.433 +%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-discover.so
   4.434 +
   4.435 +%files module-jack
   4.436 +%defattr(-,root,root)
   4.437 +%{_libdir}/pulse-%{drvver}/modules/module-jack-sink.so
   4.438 +%{_libdir}/pulse-%{drvver}/modules/module-jack-source.so
   4.439 +
   4.440 +%files module-bluetooth
   4.441 +%defattr(-,root,root)
   4.442 +%{_libdir}/pulse-%{drvver}/modules/libbluetooth-ipc.so
   4.443 +%{_libdir}/pulse-%{drvver}/modules/libbluetooth-sbc.so
   4.444 +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-device.so
   4.445 +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so
   4.446 +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-proximity.so
   4.447 +%attr(0755,root,root) %{_libexecdir}/pulse/proximity-helper
   4.448 +
   4.449 +%files module-gconf
   4.450 +%defattr(-,root,root)
   4.451 +%dir %{_libdir}/pulse
   4.452 +%{_libdir}/pulse-%{drvver}/modules/module-gconf.so
   4.453 +%{_libexecdir}/pulse/gconf-helper
   4.454 +
   4.455 +%files -n libpulse0
   4.456 +%defattr(-,root,root)
   4.457 +%doc README LICENSE GPL LGPL
   4.458 +%dir %{_sysconfdir}/pulse/
   4.459 +%config(noreplace) %{_sysconfdir}/pulse/client.conf
   4.460 +%{_libdir}/libpulse.so.*
   4.461 +%{_libdir}/libpulse-simple.so.*
   4.462 +
   4.463 +%files -n libpulsecore9
   4.464 +%defattr(-,root,root)
   4.465 +%{_libdir}/libpulsecore.so.*
   4.466 +%{_libdir}/libpulsedsp.so
   4.467 +
   4.468 +%files -n libpulse-mainloop-glib0
   4.469 +%defattr(-,root,root)
   4.470 +%{_libdir}/libpulse-mainloop-glib.so.*
   4.471 +
   4.472 +%files -n libpulse-browse0
   4.473 +%defattr(-,root,root)
   4.474 +%{_bindir}/pabrowse
   4.475 +%{_libdir}/libpulse-browse.so.*
   4.476 +
   4.477 +%files -n libpulse-devel
   4.478 +%defattr(-,root,root)
   4.479 +%doc doxygen/html
   4.480 +%{_includedir}/pulse/
   4.481 +%{_libdir}/libpulse.so
   4.482 +%{_libdir}/libpulse-mainloop-glib.so
   4.483 +%{_libdir}/libpulse-simple.so
   4.484 +%{_libdir}/libpulse-browse.so
   4.485 +%{_libdir}/pkgconfig/libpulse*.pc
   4.486 +
   4.487 +%files utils
   4.488 +%defattr(-,root,root)
   4.489 +%{_bindir}/pacat
   4.490 +%{_bindir}/pacmd
   4.491 +%{_bindir}/pactl
   4.492 +%{_bindir}/paplay
   4.493 +%{_bindir}/parec
   4.494 +%{_bindir}/pax11publish
   4.495 +%{_bindir}/padsp
   4.496 +%{_bindir}/pasuspender
   4.497 +%{_mandir}/man1/pabrowse.1.gz
   4.498 +%{_mandir}/man1/pacat.1.gz
   4.499 +%{_mandir}/man1/pacmd.1.gz
   4.500 +%{_mandir}/man1/pactl.1.gz
   4.501 +%{_mandir}/man1/paplay.1.gz
   4.502 +%{_mandir}/man1/pasuspender.1.gz
   4.503 +%{_mandir}/man1/padsp.1.gz
   4.504 +%{_mandir}/man1/pax11publish.1.gz
   4.505 +
   4.506 +%files lang -f %{name}.lang
   4.507 +
   4.508 +%changelog
   4.509 +* Wed Feb 19 2009 michael@schloh.com
   4.510 +- Upgrade to version 0.9.14, hope for better stability
   4.511 +- Use tar.gz instead of unavailable tar.bz2 file
   4.512 +* Sat May 31 2008 rodrigo@suse.de
   4.513 +- Don't require alsa-plugins-pulse, just Recommend it (bnc#394177)
   4.514 +* Mon May 26 2008 rodrigo@suse.de
   4.515 +- Depend on alsa-plugins-pulse to have ALSA-based applications
   4.516 +  work out of the box with PulseAudio (bnc#394177)
   4.517 +* Sat May 24 2008 jpr@suse.de
   4.518 +- Generate 32bit libraries (bnc #338269)
   4.519 +* Mon May 19 2008 rodrigo@suse.de
   4.520 +- Removed pulseaudio-use-correct-socket-for-esd-375701.patch,
   4.521 +  which conflicts with esound patch (bnc#391864)
   4.522 +* Mon May 12 2008 rodrigo@suse.de
   4.523 +- Added pulseaudio-defaults-daemon-conf.patch to set default
   4.524 +  values for better performance (bnc#381686)
   4.525 +* Tue May 06 2008 rodrigo@suse.de
   4.526 +- Added pulseaudio-use-correct-socket-for-esd-375701.patch to
   4.527 +  use correct esound socket (bnc375701)
   4.528 +* Thu Apr 10 2008 maw@suse.de
   4.529 +- Update to version 0.9.10:
   4.530 +  + Better compatibility in padsp with certain programs which like
   4.531 +  to pass NULL strings to libc functions
   4.532 +  + Properly create ~/.pulse before using it
   4.533 +  + Multiarch fixes
   4.534 +  + Update module-tunnel for protocol version 12
   4.535 +  + Update Speex resampler
   4.536 +  + Native ARM atomic operations support
   4.537 +  + Update of the PolicyKit interface
   4.538 +  + Compatibility with libtool 2.2
   4.539 +  + LADSPA interfacing fixes
   4.540 +  + Make per-user esd socket compile time configurable
   4.541 +  + Many other bug fixes and updates
   4.542 +- Drop pulseaudio-0.9.8-fix-sample-upload.patch
   4.543 +- Add pulseaudio-declarations.patch.
   4.544 +* Fri Apr 04 2008 rodrigo@suse.de
   4.545 +- Added Obsoletes and Provides to esound-compat package to fix
   4.546 +  dependencies on esound
   4.547 +* Wed Mar 12 2008 rodrigo@suse.de
   4.548 +- Review and merge changes from public build service into FACTORY.
   4.549 +* Sun Mar 09 2008 cyberorg@cyberorg.info
   4.550 +- Update to 0.9.9
   4.551 +- The only change from 0.9.8 is a fix for CVE-2008-0008
   4.552 +- Need to add pulse user to audio group too
   4.553 +* Fri Jan 25 2008 rodrigo@suse.de
   4.554 +- Removed empty patch file
   4.555 +- Disabled setuid binaries
   4.556 +* Thu Jan 24 2008 rodrigo@suse.de
   4.557 +- Don't use our own default configuration, use upstream one. This
   4.558 +  should give us support for all devices detected by HAL.
   4.559 +* Wed Jan 23 2008 rodrigo@suse.de
   4.560 +- Reviewed changes from cyberorg@cyberorg.info submitted to
   4.561 +  home:rodrigomoya:pulseaudio BS service.
   4.562 +* Thu Jan 10 2008 cyberorg@cyberorg.info
   4.563 +- Update to 0.9.8
   4.564 +  * Man pages
   4.565 +  * Make real-time priority and nice level configurable
   4.566 +  * Support acquiring priviliges for high-priority and real-time scheduling
   4.567 +  via PolicyKit
   4.568 +  * Support S32 samples natively
   4.569 +  * Rework ALSA surround sound configuration completely
   4.570 +  * Automatic upmixing/downmixing
   4.571 +  * Add a couple of new directives to libpulse: add flag to allow fixing the
   4.572 +  sample specs to the ones that are native to the sink/source a stream is
   4.573 +  connected to; Change the sample rate, buffering attributes during runtime;
   4.574 +  allow notification on device suspend/resume and moving of streams between
   4.575 +  devices
   4.576 +  * Check process name when dealing with PID files
   4.577 +  * Allow configuratin of RLIMIT_RTPRIO, RLIMIT_NICE
   4.578 +  * Add bluetooth proximity module. Just pair your phone and have PA turn down
   4.579 +  the volume when you leave with your phone and turn it up again if you come back.
   4.580 +- Enable bluetooth
   4.581 +- Enable Jack
   4.582 +- Add policykit
   4.583 +- Add many man pages
   4.584 +- Enable tcpd
   4.585 +* Wed Jan 09 2008 rodrigo@suse.de
   4.586 +- Renamed libs packages to follow shared lib policy
   4.587 +- Added better descriptions for subpackages
   4.588 +- Use tar.bz2 instead of tar.gz
   4.589 +- Fixed unversioned self-provides and obsoletes
   4.590 +- Use update-desktop-files for .desktop file
   4.591 +- PreRequire pwdutils for groupadd/del
   4.592 +- Moved libpulsedsp.so to libpusecore4 to avoid rpmlint errors
   4.593 +* Tue Jan 08 2008 rodrigo@suse.de
   4.594 +- Don't remove users/groups on %%postun
   4.595 +* Tue Jan 08 2008 rodrigo@suse.de
   4.596 +- Removed 'rm -rf $RPM_BUILD_ROOT' from %%install
   4.597 +* Mon Dec 24 2007 rodrigo@suse.de
   4.598 +- Use /var/lib/pulseaudio as home dir for pulseaudio user.
   4.599 +* Wed Dec 12 2007 rodrigo@suse.de
   4.600 +- Removed special permissions for pulseaudio binary to make it
   4.601 +  buildable until the permissions thing is solved.
   4.602 +* Tue Dec 11 2007 rodrigo@suse.de
   4.603 +- Merged with package from home:rodrigomoya:pulseaudio BS project.
   4.604 +* Thu Nov 22 2007 cyberorg@cyberorg.info
   4.605 +- Remove Provides and Obsoletes from esound compat package
   4.606 +* Wed Nov 21 2007 cyberorg@cyberorg.info
   4.607 +- Restructured spec file to build more subpackages, like in Fedora 8.
   4.608 +* Wed Oct 31 2007 tiwai@suse.de
   4.609 +- updated to version 0.9.7:
   4.610 +  * New threaded lock-free (mostly at least) core
   4.611 +  * New module for automatic discovery of zeroconf audio devices
   4.612 +  * Reworked JACK module for better real-time compatibility
   4.613 +  * PA now suspends access to all audio devices if idle
   4.614 +  * module-combine is now beefedup to automatically pick up local hw devices
   4.615 +  * make use of gcc intrinsics for atomic ops, byteswap, tls, where possible
   4.616 +  * use speex resampler by default
   4.617 +  * use mmap access by default for ALSA devices
   4.618 +  * fold OSS mmap driver into normal OSS driver
   4.619 +  * add LADSPA plugin
   4.620 +  * add plugin for splitting or remapping channel maps
   4.621 +  * Use Linux eventfd() if available, instead of hacks around FIFOs
   4.622 +  * make use of PTHREAD_PRIO_INHERIT for some mutexes, wher it makes sense
   4.623 +  * cleanup dead SHM frags from /dev/shm, where applicable
   4.624 +  * automatically store/restore default audio device
   4.625 +  * add new tool pasuspender tool
   4.626 +  * X11 session management support
   4.627 +  * allow global configuration for fragment settings/sizes
   4.628 +  * PA (if HAL is enabled) now ignores modem sound devices by default
   4.629 +  * Lots of bug fixes and other improvements
   4.630 +* Thu Oct 11 2007 sbrabec@suse.cz
   4.631 +- Use binding specific avahi package.
   4.632 +* Tue Jun 19 2007 tiwai@suse.de
   4.633 +- fixed default.pa (typo of rtp.monitor).
   4.634 +* Tue Jun 12 2007 tiwai@suse.de
   4.635 +- disable flist-test that doesn't pass with ppc (libatomic-ops
   4.636 +  problem)
   4.637 +* Fri Jun 08 2007 tiwai@suse.de
   4.638 +- updated to version 0.9.6:
   4.639 +  * bugfixes, including previous patches
   4.640 +  * use lock-free algorith with libatomic-ops
   4.641 +- add avahi-devel, xorg-x11-devel, glib2-devel and hal-devel to
   4.642 +  buildrequires
   4.643 +- prefer Master volume to PCM volume
   4.644 +* Tue May 29 2007 tiwai@suse.de
   4.645 +- fix possible remote DoS (#260326)
   4.646 +- fix wrong endian conversion of float data
   4.647 +- add a workaround for firefox with LD_PRELOAD wrapper
   4.648 +- add the missing support of ioctls for JavaSound
   4.649 +- increase ESD max samplesize
   4.650 +* Tue Apr 24 2007 tiwai@suse.de
   4.651 +- disable static library, don't use ltdl install
   4.652 +- fix requires of devel package
   4.653 +- fix post and postun
   4.654 +- build documents via doxygen
   4.655 +- fix suspend/resume with alsa backend
   4.656 +- fix the frame size handling in alsa backend
   4.657 +- fix possible NULL dereference
   4.658 +* Mon Oct 16 2006 schwab@suse.de
   4.659 +- Make sure config.rpath is present.
   4.660 +* Wed Sep 06 2006 tiwai@suse.de
   4.661 +- updated to version 0.9.5:
   4.662 +  * add module-hal-detect module
   4.663 +  * shared memory transfer method for local clients
   4.664 +  * update module-volume-restore to automatically restore the output device
   4.665 +  * add a new module module-rescue-streams
   4.666 +  * add support for moving streams "hot" between sinks/sources
   4.667 +  * reduce memory consumption and CPU load
   4.668 +  * add new module module-gconf for reading additional configuration
   4.669 +  * fix module-tunnel to work with the latest protocol
   4.670 +  * miscellaneous fixes
   4.671 +* Thu Aug 17 2006 tiwai@suse.de
   4.672 +- move libpulsedsp.so to the main package from devel sub package
   4.673 +  (#199735).
   4.674 +* Mon Jul 31 2006 tiwai@suse.de
   4.675 +- updated to version 0.9.4:
   4.676 +  * support for system-wide pulseaudio daemon.
   4.677 +  * add authentication by IP address range ACL (auth-ip-acl=)
   4.678 +  * support to set resource limits on platforms
   4.679 +  * remove loopback= argument for module-*-protocol-tcp
   4.680 +  * remove obsolete GLIB event loop adapter
   4.681 +  * add an API to check whether a source/sink is hardware or virtual
   4.682 +  * remove warning about SIGPIPE in client apps
   4.683 +  * improve latency calculation of NULL sink
   4.684 +  * port Zeroconf code from the HOWL API to the native Avahi API
   4.685 +  * fix broken time event handling in GLIB
   4.686 +  * Some valgrind/massif fixes
   4.687 +  * Fix pkg-config files for AMD64
   4.688 +* Wed Jul 12 2006 tiwai@suse.de
   4.689 +- renamed from polypaudio to pulseaudio (the project name was
   4.690 +  changed)
   4.691 +- update to version 0.9.2:
   4.692 +  * increase maximum number of concurrent connections
   4.693 +  * fix latency interpolation
   4.694 +  * add support for reverse endian sound cards
   4.695 +  * add support for recording in padsp
   4.696 +  * reenable CPU load limiter
   4.697 +  * other bugfixes
   4.698 +

mercurial