From 9fe97db8f60e1ebcc5f4ed835f54ca70534d1dffad25f28119aa5ae93cda43c3 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 11 Oct 2008 21:55:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcanberra?expand=0&rev=2 --- libcanberra-0.10.tar.bz2 | 3 +++ libcanberra-0.8.tar.bz2 | 3 --- libcanberra.changes | 12 ++++++++++++ libcanberra.spec | 28 +++++++++++++++++++++------- 4 files changed, 36 insertions(+), 10 deletions(-) create mode 100644 libcanberra-0.10.tar.bz2 delete mode 100644 libcanberra-0.8.tar.bz2 diff --git a/libcanberra-0.10.tar.bz2 b/libcanberra-0.10.tar.bz2 new file mode 100644 index 0000000..5d72fad --- /dev/null +++ b/libcanberra-0.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8657a0a2bf8c6bdbc1067a12bf51e4a3b593ea9332280558ec9aa6ecfadb5ca6 +size 571825 diff --git a/libcanberra-0.8.tar.bz2 b/libcanberra-0.8.tar.bz2 deleted file mode 100644 index d739788..0000000 --- a/libcanberra-0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39cf8627cff99b80ba106a3b852465bcc61cd258fe698d21e49e68c1e5779fe9 -size 571299 diff --git a/libcanberra.changes b/libcanberra.changes index 7c1303b..85184b4 100644 --- a/libcanberra.changes +++ b/libcanberra.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Oct 10 14:20:25 CEST 2008 - sbrabec@suse.cz + +- Update to version 0.10: + * install Gtk+ module using GConf + * few other fixes + +------------------------------------------------------------------- +Fri Oct 10 14:17:51 CEST 2008 - sbrabec@suse.cz + +- Devel file contains gtk files => requires libcanberra-gtk0. + ------------------------------------------------------------------- Fri Aug 29 12:36:49 CEST 2008 - rodrigo@suse.de diff --git a/libcanberra.spec b/libcanberra.spec index 0c1aab5..03ce5fe 100644 --- a/libcanberra.spec +++ b/libcanberra.spec @@ -1,5 +1,5 @@ # -# spec file for package libcanberra (Version 0.8) +# spec file for package libcanberra (Version 0.10) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,11 +20,11 @@ Name: libcanberra Summary: Portable sound event library -BuildRequires: alsa-devel gstreamer-0_10-devel gtk-doc gtk2-devel libpulse-devel >= 0.9.11 libvorbis-devel lynx update-desktop-files +BuildRequires: alsa-devel gconf2-devel gstreamer-0_10-devel gtk-doc gtk2-devel libpulse-devel >= 0.9.11 libvorbis-devel lynx update-desktop-files Url: http://0pointer.de/lennart/projects/libcanberra/ License: LGPL v2.0 or later -Version: 0.8 -Release: 2 +Version: 0.10 +Release: 1 Group: System/Libraries Source: libcanberra-%{version}.tar.bz2 Source1: libcanberra-gtk-module.sh @@ -115,6 +115,7 @@ License: LGPL v2.0 or later Summary: Portable sound event library Group: System/Libraries Requires: libcanberra0 = %{version}-%{release} +%gconf_schemas_prereq %description gtk libcanberra is an implementation of the XDG Sound Theme and Name @@ -143,6 +144,7 @@ License: LGPL v2.0 or later Summary: Portable sound event library Group: Development/Libraries/C and C++ Requires: libcanberra0 = %{version} +Requires: libcanberra-gtk0 = %{version} Requires: pkgconfig Requires: gtk-doc Requires: gtk2-devel @@ -183,6 +185,10 @@ find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \; install -D -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh rm $RPM_BUILD_ROOT%{_libdir}/libcanberra/libcanberra-multi.so rm $RPM_BUILD_ROOT%{_datadir}/doc/libcanberra/README +%find_gconf_schemas + +%clean +rm -rf $RPM_BUILD_ROOT %post -n libcanberra0 -p /sbin/ldconfig @@ -192,8 +198,10 @@ rm $RPM_BUILD_ROOT%{_datadir}/doc/libcanberra/README %postun gtk0 -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT +%pre gtk -f %{name}.schemas_pre + +%preun gtk -f %{name}.schemas_preun +%posttrans gtk -f %{name}.schemas_posttrans %files -n libcanberra0 %defattr(-,root,root) @@ -210,7 +218,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{_libdir}/libcanberra-gtk.so.* -%files gtk +%files gtk -f %{name}.schemas_list %defattr(-,root,root) %{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.so %dir %{_sysconfdir}/X11/xinit @@ -234,6 +242,12 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/libcanberra.pc %changelog +* Fri Oct 10 2008 sbrabec@suse.cz +- Update to version 0.10: + * install Gtk+ module using GConf + * few other fixes +* Fri Oct 10 2008 sbrabec@suse.cz +- Devel file contains gtk files => requires libcanberra-gtk0. * Fri Aug 29 2008 rodrigo@suse.de - Update to version 0.8: + New OSS and GStreamer backends