packages: pulseaudio/pulseaudio.spec - rel 4 - realtime group is no longer ...

baggins baggins at pld-linux.org
Wed Jun 9 01:12:06 CEST 2010


Author: baggins                      Date: Tue Jun  8 23:12:06 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4
- realtime group is no longer used, remove it
- added pa-machine-id patch
- added gdbm bcond

---- Files affected:
packages/pulseaudio:
   pulseaudio.spec (1.73 -> 1.74) 

---- Diffs:

================================================================
Index: packages/pulseaudio/pulseaudio.spec
diff -u packages/pulseaudio/pulseaudio.spec:1.73 packages/pulseaudio/pulseaudio.spec:1.74
--- packages/pulseaudio/pulseaudio.spec:1.73	Thu Jun  3 11:23:08 2010
+++ packages/pulseaudio/pulseaudio.spec	Wed Jun  9 01:12:01 2010
@@ -3,6 +3,7 @@
 #	- service is too quiet with PULSEAUDIO_SYSTEM_START=0
 #
 # Conditional build:
+%bcond_without	gdbm		# build with gdbm as backend for settings database
 %bcond_without	lirc		# without lirc module
 %bcond_with	static_libs	# build static libraries
 #
@@ -10,7 +11,7 @@
 Summary(pl.UTF-8):	Modularny serwer dźwięku
 Name:		pulseaudio
 Version:	0.9.21
-Release:	3
+Release:	4
 License:	GPL v2+ (server and libpulsecore), LGPL v2+ (libpulse)
 Group:		Libraries
 Source0:	http://0pointer.de/lennart/projects/pulseaudio/%{name}-%{version}.tar.gz
@@ -18,6 +19,7 @@
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Patch0:		%{name}-suid.patch
+Patch1:		%{name}-pa-machine-id.patch
 URL:		http://pulseaudio.org/
 BuildRequires:	GConf2-devel >= 2.4.0
 BuildRequires:	alsa-lib-devel >= 1.0.19
@@ -27,7 +29,7 @@
 BuildRequires:	bluez-libs-devel >= 3.0
 BuildRequires:	dbus-devel >= 1.0.0
 BuildRequires:	gcc >= 6:4.1
-BuildRequires:	gdbm-devel
+%{?with_gdbm:BuildRequires:	gdbm-devel}
 BuildRequires:	gettext-devel
 BuildRequires:	glib2-devel >= 1:2.4.0
 BuildRequires:	gtk+2-devel >= 2:2.4.0
@@ -62,7 +64,6 @@
 Requires:	%{name}-libs = %{version}-%{release}
 Provides:	group(pulse)
 Provides:	group(pulse-access)
-Provides:	group(pulse-rt)
 Provides:	user(pulse)
 Obsoletes:	polypaudio
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -247,6 +248,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -255,11 +257,10 @@
 %{__autoheader}
 %{__automake}
 %configure \
-	--enable-ltdl-install=no \
 	--with-system-user=pulse \
 	--with-system-group=pulse \
-	--with-realtime-group=pulse-rt \
 	--with-access-group=pulse-access \
+	--with-database=%{?with_gdbm:gdbm}%{!?with_gdbm:simple} \
 	%{!?with_lirc:--disable-lirc} \
 	--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static
 %{__make}
@@ -309,7 +310,6 @@
 
 %pre
 %groupadd -g 226 pulse
-%groupadd -g 227 pulse-rt
 %groupadd -g 228 pulse-access
 %useradd -u 226 -g 226 -d /var/run/pulse -s /bin/false -c "Pulseaudio user" pulse
 
@@ -322,14 +322,17 @@
 	%service -q %{name} stop
 	/sbin/chkconfig --del %{name}
 fi
+
 %postun
 if [ "$1" = "0" ]; then
 	%userremove pulse
 	%groupremove pulse-access
-	%groupremove pulse-rt
 	%groupremove pulse
 fi
 
+%triggerpostun -- pulseaudio < 0.9.21-4
+%groupremove pulse-rt
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README
@@ -535,6 +538,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.74  2010/06/08 23:12:01  baggins
+- rel 4
+- realtime group is no longer used, remove it
+- added pa-machine-id patch
+- added gdbm bcond
+
 Revision 1.73  2010/06/03 09:23:08  patrys
 - just passing by, killing libtool archives
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pulseaudio/pulseaudio.spec?r1=1.73&r2=1.74&f=u



More information about the pld-cvs-commit mailing list