SHA256
1
0
forked from pool/pulseaudio
pulseaudio/pulseaudio.spec

217 lines
6.8 KiB
RPMSpec

#
# spec file for package pulseaudio (Version 0.9.7)
#
# Copyright (c) 2007 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pulseaudio
BuildRequires: alsa-devel doxygen glib2-devel hal-devel jack-devel libatomic-ops-devel libavahi-devel liboil-devel libsamplerate-devel libsndfile-devel xorg-x11-devel
Summary: A Networked Sound Server
Version: 0.9.7
Release: 1
License: GPL v2 or later; LGPL v2.1 or later
Group: System/Sound Daemons
Source: %{name}-%{version}.tar.bz2
Source1: default.pa
Patch: pulseaudio-0.9.5-esd-max-samplesize.diff
Patch2: pulseaudio-0.9.6-gcc-fix.diff
Patch3: pulseaudio-0.9.7-type-punning.diff
Url: http://pulseaudio.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 libs
Summary: System libraries for pulseaudio
Group: System/Libraries
%description libs
This package contains the system libraries for clients of pulseaudio
sound server.
Authors:
--------
Lennart Poettering
Pierre Ossman
%package devel
Summary: Development package for the pulseaudio library
Group: Development/Libraries/C and C++
Requires: pulseaudio-libs = %{version}, glib2-devel
%description devel
This package contains the files needed to compile programs that use the
pulseaudio library.
Authors:
--------
Lennart Poettering
Pierre Ossman
%prep
%setup -q
%patch -p1
%patch2
%patch3
cp /usr/share/gettext/config.rpath .
%{?suse_update_config:%{suse_update_config -f}}
autoreconf --force --install
%build
%configure --disable-ltdl-install --disable-static --disable-rpath
make
make doxygen
%install
make DESTDIR="$RPM_BUILD_ROOT" install
cp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pulse/
chmod 755 $RPM_BUILD_ROOT%{_bindir}/*
# remove *.la files
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/pulse*/modules/*.la
%post libs
%run_ldconfig
%postun libs
%run_ldconfig
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc GPL LGPL LICENSE README
%{_bindir}/*
%{_libdir}/pulse*
%dir %{_sysconfdir}/pulse
%config %{_sysconfdir}/pulse/*
%{_libdir}/libpulsedsp.so
/etc/xdg/autostart/*.desktop
%files libs
%defattr(-, root, root)
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
%doc doxygen/html
%{_libdir}/libpulse.so
%{_libdir}/libpulsecore.so
%{_libdir}/libpulse-browse.so
%{_libdir}/libpulse-mainloop-glib.so
%{_libdir}/libpulse-simple.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/pulse*
%changelog
* 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