forked from pool/libcanberra
Accepting request 583059 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/583059 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcanberra?expand=0&rev=45
This commit is contained in:
commit
88cc98629e
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 5 15:58:50 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Fix SRPM group. Update summaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:34:01 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 13:05:15 UTC 2016 - sor.alexei@meowr.ru
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libcanberra
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@ -21,8 +21,8 @@ Name: libcanberra
|
||||
Version: 0.30
|
||||
Release: 0
|
||||
Summary: Portable sound event library
|
||||
License: LGPL-2.0+
|
||||
Group: System/Libraries
|
||||
License: LGPL-2.0-or-later
|
||||
Group: Development/Libraries/GNOME
|
||||
Url: http://0pointer.de/lennart/projects/libcanberra
|
||||
Source: http://0pointer.de/lennart/projects/libcanberra/%{name}-%{version}.tar.xz
|
||||
Source1: libcanberra-gtk-module.sh
|
||||
@ -134,8 +134,8 @@ This package contains a GTK+ 3 module that triggers input feedback
|
||||
event sounds.
|
||||
|
||||
%package -n canberra-gtk-play
|
||||
Summary: Portable sound event library -- Utility
|
||||
Group: System/Libraries
|
||||
Summary: Utilities from libcanberra
|
||||
Group: System/GUI/GNOME
|
||||
Provides: %{name}-gtk = %{version}
|
||||
Obsoletes: %{name}-gtk < %{version}
|
||||
|
||||
@ -148,13 +148,13 @@ and is designed to be portable.
|
||||
This package provides the canberra-gtk-play utility.
|
||||
|
||||
%package -n canberra-gtk-play-gnome
|
||||
Summary: Portable sound event library -- Utility
|
||||
Summary: .desktop links for the canberra-gtk-play utility
|
||||
# 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
|
||||
Group: System/Libraries
|
||||
Group: System/GUI/GNOME
|
||||
Provides: %{name}-gtk-gnome = %{version}
|
||||
Obsoletes: %{name}-gtk-gnome < %{version}
|
||||
|
||||
@ -171,7 +171,7 @@ 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
|
||||
Summary: Development files for libcanberra, a portable sound event library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libcanberra0 = %{version}
|
||||
|
||||
@ -184,7 +184,7 @@ and is designed to be portable.
|
||||
This package provides the development files for libcanberra.
|
||||
|
||||
%package -n libcanberra-gtk3-devel
|
||||
Summary: Portable sound event library -- Development files
|
||||
Summary: GTK+ 3 development files for libcanberra
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libcanberra-devel
|
||||
Requires: libcanberra-gtk3-0 = %{version}
|
||||
@ -199,7 +199,7 @@ and is designed to be portable.
|
||||
This package provides the development files for libcanberra-gtk3.
|
||||
|
||||
%package -n libcanberra-gtk-devel
|
||||
Summary: Portable sound event library -- Development files
|
||||
Summary: GTK+ 2 development files for libcanberra
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libcanberra-devel
|
||||
Requires: libcanberra-gtk0 = %{version}
|
||||
@ -240,19 +240,13 @@ rm %{buildroot}%{_datadir}/doc/libcanberra/README
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libcanberra0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libcanberra0 -p /sbin/ldconfig
|
||||
|
||||
%post gtk0 -p /sbin/ldconfig
|
||||
|
||||
%postun gtk0 -p /sbin/ldconfig
|
||||
|
||||
%post gtk3-0 -p /sbin/ldconfig
|
||||
|
||||
%postun gtk3-0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libcanberra0
|
||||
%defattr(-,root,root)
|
||||
%doc README LGPL
|
||||
%{_libdir}/libcanberra.so.*
|
||||
%dir %{_libdir}/libcanberra-%{version}/
|
||||
@ -263,15 +257,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/libcanberra-%{version}/libcanberra-pulse.so
|
||||
|
||||
%files gtk0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcanberra-gtk.so.*
|
||||
|
||||
%files gtk3-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcanberra-gtk3.so.*
|
||||
|
||||
%files gtk-module-common
|
||||
%defattr(-,root,root)
|
||||
%dir %{_sysconfdir}/X11/xinit/
|
||||
%dir %{_sysconfdir}/X11/xinit/xinitrc.d/
|
||||
%{_sysconfdir}/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
|
||||
@ -280,19 +271,15 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
|
||||
|
||||
%files gtk2-module
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.so
|
||||
|
||||
%files gtk3-module
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/gtk-3.0/modules/libcanberra-gtk*-module.so
|
||||
|
||||
%files -n canberra-gtk-play
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/canberra-gtk-play
|
||||
|
||||
%files -n canberra-gtk-play-gnome
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/gnome/
|
||||
%dir %{_datadir}/gnome/autostart/
|
||||
%{_datadir}/gnome/autostart/libcanberra-login-sound.desktop
|
||||
@ -304,17 +291,14 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_datadir}/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop
|
||||
|
||||
%files -n libcanberra-gtk-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcanberra-gtk.so
|
||||
%{_libdir}/pkgconfig/libcanberra-gtk.pc
|
||||
|
||||
%files -n libcanberra-gtk3-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcanberra-gtk3.so
|
||||
%{_libdir}/pkgconfig/libcanberra-gtk3.pc
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_datadir}/gtk-doc/html/libcanberra/
|
||||
%{_includedir}/canberra.h
|
||||
%{_includedir}/canberra-gtk.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user