Accepting request 342645 from GNOME:Factory

1

OBS-URL: https://build.opensuse.org/request/show/342645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcanberra?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2015-11-08 13:35:45 +00:00 committed by Git OBS Bridge
commit f2422ca622
2 changed files with 37 additions and 5 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Nov 6 00:54:02 UTC 2015 - zaitor@opensuse.org
- Split out a new sub-package canberra-gtk-play-gnome: Currently
there are no desktop-login, desktop-logout or session-ready
sounds in the freedesktop sound theme, so installing this will
require a different sound-theme for it to be operational. Having
this in a own sub-package will avoid logspam about missing files.
Fixes boo#953862.
-------------------------------------------------------------------
Wed Feb 6 15:38:50 UTC 2013 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libcanberra
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -150,10 +150,6 @@ event sounds.
%package -n canberra-gtk-play
Summary: Portable sound event library -- Utility
Group: System/Libraries
# This package contains a ready sound for gdm
Supplements: gdm
# This package contains login/logout sound for GNOME
Supplements: gnome-session
Provides: %{name}-gtk = %{version}
Obsoletes: %{name}-gtk < %{version}
@ -165,6 +161,30 @@ designed to be portable.
This package provides the canberra-gtk-play utility.
%package -n canberra-gtk-play-gnome
Summary: Portable sound event library -- Utility
Group: System/Libraries
# Disable supplements as we do not want it installed by default.
# This package contains a ready sound for gdm
#Supplements: gdm
# This package contains login/logout sound for GNOME
#Supplements: gnome-session
Provides: %{name}-gtk-gnome = %{version}
Obsoletes: %{name}-gtk-gnome < %{version}
%description -n canberra-gtk-play-gnome
libcanberra is an implementation of the XDG Sound Theme and Name
Specifications, for generating event sounds on free desktops, such as
GNOME. It comes with several backends (ALSA, PulseAudio, null) and is
designed to be portable.
This package provides the canberra-gtk-play .desktop files for the
gnome-desktop and gdm.
Currently there are no desktop-login, desktop-logout or session-ready
sounds in the freedesktop sound theme, so installing this will
require a different sound-theme for it to be operational.
%package devel
Summary: Portable sound event library -- Development files
Group: Development/Libraries/C and C++
@ -262,6 +282,8 @@ rm -rf %{buildroot}
%files -n canberra-gtk-play
%defattr(-,root,root)
%{_bindir}/canberra-gtk-play
%files -n canberra-gtk-play-gnome
%dir %{_datadir}/gnome
%dir %{_datadir}/gnome/autostart
%{_datadir}/gnome/autostart/libcanberra-login-sound.desktop