%add_findprov_lib_path %_libdir/pulse-0.9/modules Name: pulseaudio Version: 0.9.13 Release: alt2 Summary: PulseAudio is a networked sound server Group: System/Servers License: LGPL Url: http://pulseaudio.org/ Source: %name-%version-%release.tar BuildRequires: doxygen intltool jackit-devel libalsa-devel libasyncns-devel BuildRequires: libatomic_ops-devel-static libavahi-devel libbluez-devel BuildRequires: libcap-devel libGConf-devel libgdbm-devel libhal-devel BuildRequires: liblirc-devel libltdl-devel liboil-devel libpolkit-devel BuildRequires: libsamplerate-devel libSM-devel libsndfile-devel BuildRequires: libspeex-devel libwrap-devel libX11-devel xmltoman Requires: %name-utils = %version-%release Requires: %name-daemon = %version-%release Requires: %name-gconf = %version-%release Provides: polypaudio = %version Obsoletes: polypaudio %description PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. A sound server can serve many functions: * Software mixing of multiple audio streams, bypassing any restrictions the hardware has. * Network transparency, allowing an application to play back or record audio on a different machine than the one it is running on. * Sound API abstraction, alleviating the need for multiple backends in applications to handle the wide diversity of sound systems out there. * Generic hardware abstraction, giving the possibility of doing things like individual volumes per application. Features: * Library licensed under LGPL and server daemon under GPL * Extensible plugin architecture (by loading dynamic loadable modules with dlopen()) * Support for static linking of modules, allowing a single binary for all your needs * Module autoloading * Support for more than one sink/source * Good low latency behaviour * Very accurate latency measurement for playback and recording. * Client side latency interpolation * Embedabble into other software (the core is available as C library) * Completely asynchronous C API, complemented by two synchronous variants for simple use in synchronous applications * Simple command line interface for reconfiguring the daemon while running * Flexible, implicit sample type conversion and resampling * "Zero-Copy" architecture * May be used to combine multiple sound cards to one (with sample rate adjustment) * Ability to fully synchronize multiple playback streams This virtual package contains pulseaudio daemon and utilities. %package utils Summary: PulseAudio client side utilities Group: Sound Requires: lib%name = %version-%release %package daemon Summary: PulseAudio daemon Group: Sound PreReq: shadow-utils control Requires: lib%name = %version-%release %package bluez Summary: PulseAudio -- bluetooth-related part Group: Sound Requires: %name-daemon = %version-%release %package gconf Summary: PulseAudio -- gnome-related part Group: Sound Requires: %name-daemon = %version-%release %package jack Summary: PulseAudio -- JACK part Group: Sound Requires: %name-daemon = %version-%release %package esd Summary: PulseAudio EsounD wrapper script Group: Sound BuildArch: noarch Provides: esound-daemon Conflicts: esound Requires: %name-daemon = %version-%release %package -n lib%name Summary: PulseAudio shared libraries Group: System/Libraries Provides: libpolypaudio = %version Obsoletes: libpolypaudio %package -n lib%name-devel Summary: Development files for %name Group: Development/C Requires: lib%name = %version-%release Provides: libpolypaudio-devel = %version Obsoletes: libpolypaudio-devel %package -n lib%name-devel-doc Summary: Development documentation for %name Group: Development/C Provides: libpolypaudio-devel-doc = %version Obsoletes: libpolypaudio-devel-doc %description daemon PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains PulseAudio daemon. %description utils PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains PulseAudio client-side utilities. %description bluez PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains bluetooth-related part of PulseAudio. %description gconf PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains gnome-related part of PulseAudio. %description jack PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains JACK modules of PulseAudio. %description esd PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains esdcompat -- replacement for EsounD. %description -n lib%name PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains the pulseaudio shared libraries. %description -n lib%name-devel PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains development files for pulseaudio. %description -n lib%name-devel-doc PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features. This package contains doxygen documentation for pulseaudio. %prep %setup touch config.rpath %build libtoolize --copy --force --ltdl autoreconf -fisv -Ilibltdl %configure \ --with-access-group=audio \ --with-realtime-group=realtime \ --with-bluez \ --with-gconf \ --with-jack \ --with-lirc \ --enable-per-user-esound-socket \ --disable-static \ # %make_build all doxygen %install %make_install DESTDIR=%buildroot install install -pm0755 -D pulseaudio.control %buildroot%_sysconfdir/control.d/facilities/pulseaudio install -pm0644 -D pulseaudio.sysconfig %buildroot%_sysconfdir/sysconfig/pulseaudio install -pm0755 -D pulseaudio.init %buildroot%_initdir/pulseaudio chmod 0755 %buildroot%_bindir/pulseaudio mkdir -p %buildroot%_localstatedir/pulse find %buildroot%_libdir -name \*.la -delete ln -s esdcompat %buildroot%_bindir/esd %find_lang %name %post -n lib%name -p %post_ldconfig %postun -n lib%name -p %postun_ldconfig %pre daemon %_sbindir/groupadd -r -f realtime &> /dev/null %_sbindir/groupadd -r -f pulse &> /dev/null %_sbindir/useradd -r -g pulse -G audio -d %_localstatedir/pulse -s /dev/null \ -c "Pulseaudio daemon" -M -n pulse &>/dev/null ||: [ $1 -eq 1 ] || /usr/sbin/control-dump pulseaudio %post daemon [ $1 -eq 1 ] || /usr/sbin/control-restore pulseaudio %files %files daemon %_initdir/pulseaudio %config(noreplace) %_sysconfdir/sysconfig/pulseaudio %config %_sysconfdir/control.d/facilities/pulseaudio %_sysconfdir/xdg/autostart/pulseaudio.desktop %dir %_sysconfdir/pulse %config(noreplace) %_sysconfdir/pulse/daemon.conf %config(noreplace) %_sysconfdir/pulse/default.pa %config(noreplace) %_sysconfdir/pulse/system.pa %_bindir/start-pulseaudio-x11 %_bindir/pulseaudio %_libdir/libpulsecore.so.* %_libdir/pulse-0.9/modules/*.so %exclude %_libdir/pulse-0.9/modules/libbluetooth-ipc.so %exclude %_libdir/pulse-0.9/modules/libbluetooth-sbc.so %exclude %_libdir/pulse-0.9/modules/module-bluetooth-device.so %exclude %_libdir/pulse-0.9/modules/module-bluetooth-discover.so %exclude %_libdir/pulse-0.9/modules/module-bluetooth-proximity.so %exclude %_libdir/pulse-0.9/modules/module-gconf.so %exclude %_libdir/pulse-0.9/modules/module-jack-sink.so %exclude %_libdir/pulse-0.9/modules/module-jack-source.so %_datadir/PolicyKit/policy/org.pulseaudio.policy %_man1dir/pulseaudio.1* %_man5dir/default.pa.5* %_man5dir/pulse-daemon.conf.5* %attr(0771,root,pulse) %dir %_localstatedir/pulse %files utils %_bindir/pabrowse %_bindir/pacat %_bindir/pacmd %_bindir/pactl %_bindir/padsp %_bindir/paplay %_bindir/parec %_bindir/pasuspender %_bindir/pax11publish %_libdir/libpulsedsp.so %_man1dir/pabrowse.1* %_man1dir/pacat.1* %_man1dir/pacmd.1* %_man1dir/pactl.1* %_man1dir/padsp.1* %_man1dir/paplay.1* %_man1dir/pasuspender.1* %_man1dir/pax11publish.1* %files bluez %_libexecdir/pulse/proximity-helper %_libdir/pulse-0.9/modules/libbluetooth-ipc.so %_libdir/pulse-0.9/modules/libbluetooth-sbc.so %_libdir/pulse-0.9/modules/module-bluetooth-device.so %_libdir/pulse-0.9/modules/module-bluetooth-discover.so %_libdir/pulse-0.9/modules/module-bluetooth-proximity.so %files gconf %_libexecdir/pulse/gconf-helper %_libdir/pulse-0.9/modules/module-gconf.so %files jack %_libdir/pulse-0.9/modules/module-jack-sink.so %_libdir/pulse-0.9/modules/module-jack-source.so %files esd %_bindir/esd %_bindir/esdcompat %_man1dir/esdcompat.1* %files -n lib%name -f %name.lang %doc LICENSE README todo %dir %_sysconfdir/pulse %config(noreplace) %_sysconfdir/pulse/client.conf %_libdir/libpulse.so.* %_libdir/libpulse-browse.so.* %_libdir/libpulse-simple.so.* %_libdir/libpulse-mainloop-glib.so.* %_man5dir/pulse-client.conf.5* %files -n lib%name-devel %_libdir/lib*.so %_includedir/pulse %_pkgconfigdir/*.pc %exclude %_libdir/libpulsecore.so %exclude %_libdir/libpulsedsp.so %files -n lib%name-devel-doc %doc doxygen/html %changelog * Thu Nov 20 2008 Yuri N. Sedunov 0.9.13-alt2 - new -esd subpackage provides esound * Mon Oct 6 2008 Sergey Bolshakov 0.9.13-alt1 - 0.9.13 released - enabled per-user esound sockets * Sat Jul 26 2008 Sergey Bolshakov 0.9.11-alt1 - 0.9.11 released - redundant req on daemon in devel subpackage suppressed (#16713) * Mon Mar 31 2008 Sergey Bolshakov 0.9.10-alt1 - 0.9.10 released * Thu Jan 24 2008 Sergey Bolshakov 0.9.9-alt1 - 0.9.9 released * Wed Dec 26 2007 Sergey Bolshakov 0.9.6-alt3 - fixed build with automake >= 1.10 * Mon Aug 20 2007 Sergey Bolshakov 0.9.6-alt2 - jack sink modified to be realtime-aware (svn rev.1680) * Sat Jul 7 2007 Sergey Bolshakov 0.9.6-alt1 - 0.9.6 released - system-wide service added, off by default * Tue May 29 2007 Sergey Bolshakov 0.9.5-alt7 - CVE-2007-1804 fixed, really. thanx to icesik@ for barfing - use alsa defaults instead of relying on hal * Thu May 24 2007 Sergey Bolshakov 0.9.5-alt6 - CVE-2007-1804 fixed, (#11335) - control facility added * Sat Jan 13 2007 Sergey Bolshakov 0.9.5-alt5 - subpackages rearranged: daemon, utils & gconf subpackages appeared instead of all-in-one pulseaudio (#10218) * Mon Dec 25 2006 Igor Zubkov 0.9.5-alt4 - rebuild with new dbus * Tue Oct 31 2006 Igor Zubkov 0.9.5-alt3 - mv /etc/pulse/client.conf from pulseaudio to libpulseaudio (#10219) * Tue Oct 10 2006 Igor Zubkov 0.9.5-alt2 - add Obsoletes + polypaudio to pulseaudio subpackage + libpolypaudio to libpulseaudio subpackage + libpolypaudio-devel to libpulseaudio-devel subpackage + libpolypaudio-devel-doc to libpulseaudio-devel-doc subpackage - add Provides + polypaudio = %%version to pulseaudio subpackage + libpolypaudio = %%version to libpulseaudio subpackage + libpolypaudio-devel = %%version to libpulseaudio-devel subpackage + libpolypaudio-devel-doc = %%version to libpulseaudio-devel-doc subpackage * Fri Sep 01 2006 Igor Zubkov 0.9.5-alt1 - 0.9.3 -> 0.9.5 - buildreq * Fri Jul 21 2006 Igor Zubkov 0.9.3-alt1 - 0.9.3 - rename polypaudio to pulseaudio (without obsoletes, will be added later) - buildreq * Sun Jun 25 2006 Igor Zubkov 0.9.1-alt1 - 0.9.1 - patch2 removed (merged in upstream) - no API or ABI changes were made - exclude %%_libdir/polypaudio-0.9/modules/*.la * Mon May 29 2006 Igor Zubkov 0.9.0-alt1 - 0.9.0 - build with libhowl - buildreq * Fri Apr 28 2006 Igor Zubkov 0.8.1-alt1 - 0.8.1 - patch1 removed (merged in upstream) - buildreq - build with libasyncns * Wed Apr 26 2006 Igor Zubkov 0.8-alt3 - move back .la files * Sat Apr 22 2006 Igor Zubkov 0.8-alt2 - fix unresolved symbols (patch1) * Fri Apr 21 2006 Igor Zubkov 0.8-alt1 - 0.8 - #9358 - buildreq * Thu Feb 02 2006 ALT QA Team Robot 0.7-alt2.1 - Rebuilt for new pkg-config dependencies. * Fri Dec 16 2005 Igor Zubkov 0.7-alt2 - fix provides/requires * Tue Nov 15 2005 Igor Zubkov 0.7-alt1 - Initial build for Sisyphus