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

189 lines
5.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package pulseaudio (Version 0.9.5)
#
# 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 jack-devel liboil-devel libsamplerate-devel libsndfile-devel
Summary: A Networked Sound Server
Version: 0.9.5
Release: 53
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: System/Sound Daemons
Source: %{name}-%{version}.tar.bz2
Source1: default.pa
Patch: pulseaudio-0.9.5-framesize.patch
Patch1: pulseaudio-0.9.5-suspend.patch
Patch2: pulseaudio-0.9.5-userconf.patch
Patch3: pulseaudio-0.9.5-dos-vulns-fix.diff
Patch4: pulseaudio-0.9.5-wrong-endian-convert.diff
Patch5: pulseaudio-0.9.5-firefox-workaround.diff
Patch6: pulseaudio-0.9.5-javasound-support.diff
Patch7: pulseaudio-0.9.5-esd-max-samplesize.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}
%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
%patch1
%patch2 -p2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
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
%files libs
%defattr(-, root, root)
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
%doc doxygen/html
%{_libdir}/libpulse.so
%{_libdir}/libpulsecore.so
%{_libdir}/libpulse-simple.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/pulse*
%changelog
* 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