1
0

Accepting request 89657 from home:RBrownCCB:branches:GNOME:Factory

Allow individual extensions to be installed

OBS-URL: https://build.opensuse.org/request/show/89657
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=25
This commit is contained in:
Vincent Untz 2011-10-28 10:13:52 +00:00 committed by Git OBS Bridge
parent 8eef7b421e
commit 42b5318078
2 changed files with 46 additions and 31 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Oct 29 09:31:01 UTC 2011 - rbrownccb@opensuse.org
- Make it easier to install individual extensions without
installing all of them:
+ This was happening because of the lang subpackage Recommends
that was bringing the main subpackage, which in term was
bringing all extensions through Recommends.
+ Create a gnome-shell-extensions-common subpackage and use it
as a basis for the translations, by renaming the lang
subpackage to gnome-shell-extensions-common-lang.
+ Replace gnome-shell Requires and lang Recommends in all
extensions subpackages with a Requires on
gnome-shell-extensions-common which leads to the same result.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 20 14:23:41 UTC 2011 - malcolmlewis@opensuse.org Thu Oct 20 14:23:41 UTC 2011 - malcolmlewis@opensuse.org

View File

@ -60,12 +60,21 @@ BuildArch: noarch
GNOME Shell Extensions is a collection of extensions providing GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell. additional and optional functionality to GNOME Shell.
%package common
Summary: GNOME Shell Extension -- Common Files
Group: System/GUI/GNOME
License: GPL-2.0+
Requires: gnome-shell
Recommends: %{name}-common-lang
%description common
This package provides files common to several GNOME Shell Extensions
%package -n gnome-shell-extension-alt-status-menu %package -n gnome-shell-extension-alt-status-menu
Summary: GNOME Shell Extension -- Power Off Item in Status Menu Summary: GNOME Shell Extension -- Power Off Item in Status Menu
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-alt-status-menu %description -n gnome-shell-extension-alt-status-menu
This GNOME Shell extension adds a power off item in the status This GNOME Shell extension adds a power off item in the status
@ -75,8 +84,7 @@ menu, and provides the ability to hibernate.
Summary: GNOME Shell Extension -- Classic Alt+Tab behavior Summary: GNOME Shell Extension -- Classic Alt+Tab behavior
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-alternate-tab %description -n gnome-shell-extension-alternate-tab
This GNOME Shell extension changes Alt+Tab to be window-based This GNOME Shell extension changes Alt+Tab to be window-based
@ -86,8 +94,7 @@ instead of app-based.
Summary: GNOME Shell Extension -- Applications Menu Summary: GNOME Shell Extension -- Applications Menu
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-apps-menu %description -n gnome-shell-extension-apps-menu
This GNOME Shell extension adds a GNOME 2.x style menu for applications. This GNOME Shell extension adds a GNOME 2.x style menu for applications.
@ -96,8 +103,7 @@ This GNOME Shell extension adds a GNOME 2.x style menu for applications.
Summary: GNOME Shell Extension -- Assign specific workspaces to applications Summary: GNOME Shell Extension -- Assign specific workspaces to applications
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%description -n gnome-shell-extension-auto-move-windows %description -n gnome-shell-extension-auto-move-windows
@ -109,8 +115,7 @@ it creates a window, in a manner configurable with a GSettings key.
Summary: GNOME Shell Extension -- Dock-style Task Switcher Summary: GNOME Shell Extension -- Dock-style Task Switcher
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%description -n gnome-shell-extension-dock %description -n gnome-shell-extension-dock
@ -121,8 +126,7 @@ the right side of the screen.
Summary: GNOME Shell Extension -- Drive Status Menu Summary: GNOME Shell Extension -- Drive Status Menu
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-drive-menu %description -n gnome-shell-extension-drive-menu
This GNOME Shell extension provides a panel status menu for accessing This GNOME Shell extension provides a panel status menu for accessing
@ -132,8 +136,7 @@ and unmounting removable devices.
Summary: GNOME Shell Extension -- Gajim Integration Summary: GNOME Shell Extension -- Gajim Integration
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-gajim %description -n gnome-shell-extension-gajim
This GNOME Shell extension adds integration with the Gajim instant This GNOME Shell extension adds integration with the Gajim instant
@ -143,8 +146,7 @@ messaging client.
Summary: GNOME Shell Extension -- Native Window Placement Summary: GNOME Shell Extension -- Native Window Placement
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%description -n gnome-shell-extension-native-window-placement %description -n gnome-shell-extension-native-window-placement
@ -155,8 +157,7 @@ window layout in the overview, including a mechanism similar to KDE4.
Summary: GNOME Shell Extension -- Places Status Menu Summary: GNOME Shell Extension -- Places Status Menu
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-places-menu %description -n gnome-shell-extension-places-menu
This GNOME Shell extension add a system status menu for quickly This GNOME Shell extension add a system status menu for quickly
@ -166,8 +167,7 @@ navigating places in the system.
Summary: GNOME Shell Extension -- System Monitor Summary: GNOME Shell Extension -- System Monitor
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-systemMonitor %description -n gnome-shell-extension-systemMonitor
This GNOME Shell extension is a message tray indicator for CPU and This GNOME Shell extension is a message tray indicator for CPU and
@ -177,8 +177,7 @@ memory usage.
Summary: GNOME Shell Extension -- Support for Custom Themes Summary: GNOME Shell Extension -- Support for Custom Themes
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%description -n gnome-shell-extension-user-theme %description -n gnome-shell-extension-user-theme
@ -189,8 +188,7 @@ This GNOME Shell extension enables loading a GNOME Shell theme from
Summary: GNOME Shell Extension -- Keyboard Selection of Windows and Workspaces Summary: GNOME Shell Extension -- Keyboard Selection of Windows and Workspaces
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-windows-navigator %description -n gnome-shell-extension-windows-navigator
This GNOME Shell extension enables keyboard selection of windows This GNOME Shell extension enables keyboard selection of windows
@ -200,8 +198,7 @@ and workspaces in overlay mode, by pressing the alt key.
Summary: GNOME Shell Extension -- Workspace Indicator Summary: GNOME Shell Extension -- Workspace Indicator
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-workspace-indicator %description -n gnome-shell-extension-workspace-indicator
This GNOME Shell extension add a system status menu for quickly This GNOME Shell extension add a system status menu for quickly
@ -211,14 +208,13 @@ changing workspaces.
Summary: GNOME Shell Extension -- Status Menu for Rotating Monitors Summary: GNOME Shell Extension -- Status Menu for Rotating Monitors
Group: System/GUI/GNOME Group: System/GUI/GNOME
License: GPL-2.0+ License: GPL-2.0+
Requires: gnome-shell Requires: %{name}-common
Recommends: %{name}-lang
%description -n gnome-shell-extension-xrandr-indicator %description -n gnome-shell-extension-xrandr-indicator
This GNOME Shell extension adds a status menu to let rotate the This GNOME Shell extension adds a status menu to let rotate the
laptop monitor and open display preferences quickly. laptop monitor and open display preferences quickly.
%lang_package %lang_package -n %{name}-common
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -270,7 +266,11 @@ rm -r %{buildroot}%{_datadir}/gnome-shell/extensions/example@gnome-shell-extensi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING README README.SUSE %doc README.SUSE
%files common
%defattr(-,root,root)
%doc COPYING README
%files -n gnome-shell-extension-alt-status-menu %files -n gnome-shell-extension-alt-status-menu
%defattr(-,root,root) %defattr(-,root,root)
@ -347,6 +347,6 @@ rm -r %{buildroot}%{_datadir}/gnome-shell/extensions/example@gnome-shell-extensi
%doc COPYING %doc COPYING
%{_datadir}/gnome-shell/extensions/xrandr-indicator@gnome-shell-extensions.gnome.org/ %{_datadir}/gnome-shell/extensions/xrandr-indicator@gnome-shell-extensions.gnome.org/
%files lang -f %{name}.lang %files common-lang -f %{name}.lang
%changelog %changelog