rpms/libcanberra/devel .cvsignore, 1.8, 1.9 libcanberra.spec, 1.14, 1.15 sources, 1.9, 1.10

Lennart Poettering lennart at fedoraproject.org
Mon Oct 6 02:37:00 UTC 2008


Author: lennart

Update of /cvs/pkgs/rpms/libcanberra/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30864

Modified Files:
	.cvsignore libcanberra.spec sources 
Log Message:
new version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libcanberra/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore	9 Sep 2008 15:12:26 -0000	1.8
+++ .cvsignore	6 Oct 2008 02:36:30 -0000	1.9
@@ -1 +1 @@
-libcanberra-0.9.tar.gz
+libcanberra-0.10.tar.gz


Index: libcanberra.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libcanberra/devel/libcanberra.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libcanberra.spec	9 Sep 2008 15:09:53 -0000	1.14
+++ libcanberra.spec	6 Oct 2008 02:36:30 -0000	1.15
@@ -1,5 +1,5 @@
 Name: libcanberra
-Version: 0.9
+Version: 0.10
 Release: 1%{?dist}
 Summary: Portable Sound Event Library
 Group: System Environment/Libraries
@@ -16,6 +16,7 @@
 BuildRequires: pulseaudio-libs-devel >= 0.9.11-1
 BuildRequires: gstreamer-devel
 BuildRequires: libtdb-devel
+BuildRequires: GConf2-devel
 Requires: sound-theme-freedesktop
 Requires: pulseaudio-libs >= 0.9.11-1
 
@@ -45,9 +46,27 @@
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%post gtk2 -p /sbin/ldconfig
+%post gtk2
+/sbin/ldconfig
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/libcanberra.schemas > /dev/null || :
+
 %postun gtk2 -p /sbin/ldconfig
 
+%pre gtk2
+if [ "$1" -gt 1 ]; then
+	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+	gconftool-2 --makefile-install-rule \
+		%{_sysconfdir}/gconf/schemas/libcanberra.schemas >& /dev/null || :
+fi
+
+%preun gtk2
+if [ "$1" -eq 0 ]; then
+	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+	gconftool-2 --makefile-uninstall-rule \
+      		%{_sysconfdir}/gconf/schemas/libcanberra.schemas >& /dev/null || :
+fi
+
 %prep
 %setup -q
 
@@ -85,6 +104,7 @@
 %{_bindir}/canberra-gtk-play
 %{_datadir}/gnome/autostart/libcanberra-login-sound.desktop
 %{_datadir}/gnome/shutdown/libcanberra-logout-sound.sh
+%{_sysconfdir}/gconf/schemas/libcanberra.schemas
 
 %files devel
 %defattr(-,root,root)
@@ -97,6 +117,9 @@
 %{_libdir}/pkgconfig/libcanberra.pc
 
 %changelog
+* Mon Oct 6 2008 Lennart Poettering <lpoetter at redhat.com> 0.10-1
+- New version
+
 * Thu Sep 9 2008 Lennart Poettering <lpoetter at redhat.com> 0.9-1
 - New version
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libcanberra/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	9 Sep 2008 15:12:26 -0000	1.9
+++ sources	6 Oct 2008 02:36:30 -0000	1.10
@@ -1 +1 @@
-1c6c63d5461e6a1ae443a124d49f8fb6  libcanberra-0.9.tar.gz
+2623370bfcecaeecaeb85e5ec445f340  libcanberra-0.10.tar.gz




More information about the fedora-extras-commits mailing list