From fb822b410e70f56261ae517eceba4dcf06de2e4ce9acc9934432955f92ff53b1 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 28 Apr 2011 21:41:23 +0000 Subject: [PATCH] Accepting request 68738 from home:vuntz:branches:GNOME:Factory tweak OBS-URL: https://build.opensuse.org/request/show/68738 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=4 --- gnome-shell-extensions.changes | 22 ++++++- gnome-shell-extensions.spec | 105 ++++++++++++++++----------------- 2 files changed, 69 insertions(+), 58 deletions(-) diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index 948ba40..594ab03 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -1,9 +1,25 @@ +------------------------------------------------------------------- +Thu Apr 28 23:22:32 CEST 2011 - vuntz@opensuse.org + +- Remove fdupes BuildRequires and call to %fdupes as we package + each extension in its own subpackage. + ------------------------------------------------------------------- Thu Apr 28 16:13:25 UTC 2011 - malcolmlewis@opensuse.org -- Update based on git commit b223396 to 3.0.0 -- Split out extensions into sub packages -- Remove example extension +- Update based on git commit b223396 (which is nearly 3.0.1): + + Add Alternative Status Menu extension + + Add Gajim extension + + Add user-theme extension + + AlternateTab: make it work with the mouse + + AutoMoveWindows: modify workspace management to only remove + empty workspaces at end. + + Dock: lower the actor to the bottom. + + windowsNavigator: + - support current gnome-shell + - correct restore focus +- Split out extensions into subpackages, with + gnome-shell-extensions having a Recommends for each of them. ------------------------------------------------------------------- Tue Feb 22 20:39:45 UTC 2011 - dimstar@opensuse.org diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index 4d2bf8c..572ebeb 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -17,7 +17,7 @@ Name: gnome-shell-extensions -Version: 3.0.0 +Version: 3.0.1 # git show-ref HEAD # b2233963b491b4fe7e5a39955cccd58678c1e3aa refs/remotes/origin/HEAD Release: 1 @@ -27,11 +27,12 @@ Url: http://live.gnome.org/GnomeShell/Extensions Group: System/GUI/GNOME Source: %{name}.tar.bz2 Source1: README.SUSE -BuildRequires: fdupes # Needed because we build from a git checkout BuildRequires: gnome-common +# Needed for directory ownership BuildRequires: gnome-shell BuildRequires: pkgconfig(gnome-desktop-3.0) +Requires: gnome-shell Recommends: gnome-shell-extension-alt-status-menu Recommends: gnome-shell-extension-alternate-tab Recommends: gnome-shell-extension-auto-move-windows @@ -40,105 +41,103 @@ Recommends: gnome-shell-extension-gajim Recommends: gnome-shell-extension-user-theme Recommends: gnome-shell-extension-windows-navigator Recommends: gnome-shell-extension-xrandr-indicator -Recommends: %{name}-lang -Requires: gnome-shell BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%glib2_gsettings_schema_requires %description GNOME Shell Extensions is a collection of extensions providing additional and optional functionality to GNOME Shell. %package -n gnome-shell-extension-alt-status-menu -Summary: Adds power off item visible at all the time +Summary: GNOME Shell Extension -- Power Off Item in Status Menu Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang %description -n gnome-shell-extension-alt-status-menu -For those who want a power off item visible at all the time, replaces -GNOME Shell status menu with one featuring separate Suspend and Power -Off. Adds the ability to hibernate as well. +This GNOME Shell extension adds a power off item in the status +menu, and provides the ability to hibernate. %package -n gnome-shell-extension-alternate-tab -Summary: Classic Alt+Tab behavior +Summary: GNOME Shell Extension -- Classic Alt+Tab behavior Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang %description -n gnome-shell-extension-alternate-tab -Lets you use classic Alt+Tab (window-based instead of app-based) in -GNOME Shell. +This GNOME Shell extension changes Alt+Tab to be window-based +instead of app-based. %package -n gnome-shell-extension-auto-move-windows -Summary: Assign specific workspaces to applications +Summary: GNOME Shell Extension -- Assign specific workspaces to applications Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang +%glib2_gsettings_schema_requires %description -n gnome-shell-extension-auto-move-windows -Lets you manage your workspaces more easily, assigning a specific -workspace to each application as soon as it creates a window, in a -manner configurable with a GSettings key. +This GNOME Shell extension enables easy workspace management. A +specific workspace can be assigned to each application as soon as +it creates a window, in a manner configurable with a GSettings key. %package -n gnome-shell-extension-dock -Summary: Dock-style task switcher +Summary: GNOME Shell Extension -- Dock-style Task Switcher Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang %description -n gnome-shell-extension-dock -Shows a dock-style task switcher on the right side of the screen. +This GNOME Shell extension displays a dock-style task switcher on +the right side of the screen. %package -n gnome-shell-extension-gajim -Summary: Gajim integration +Summary: GNOME Shell Extension -- Gajim Integration Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang %description -n gnome-shell-extension-gajim -Display Gajim incoming chats as notifications in the Shell message tray. +This GNOME Shell extension adds integration with the Gajim instant +messaging client. %package -n gnome-shell-extension-user-theme -Summary: Add custom theme for the shell +Summary: GNOME Shell Extension -- Support for Custom Themes Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang +%glib2_gsettings_schema_requires %description -n gnome-shell-extension-user-theme -Loads a shell theme from ~/.themes//gnome-shell. +This GNOME Shell extension enables loading a GNOME Shell theme from +~/.themes//gnome-shell. %package -n gnome-shell-extension-windows-navigator -Summary: Keyboard selection of windows and workspaces +Summary: GNOME Shell Extension -- Keyboard Selection of Windows and Workspaces Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang %description -n gnome-shell-extension-windows-navigator -Allow keyboard selection of windows and workspaces in overlay mode in -GNOME Shell. Press the Super or Alt+F1 key(s) and then press the alt key -to show numbers over windows. Press any number to switch to the -corresponding window. +This GNOME Shell extension enables keyboard selection of windows +and workspaces in overlay mode, by pressing the alt key. %package -n gnome-shell-extension-xrandr-indicator -Summary: Add a systems status menu for rotating monitors +Summary: GNOME Shell Extension -- Status Menu for Rotating Monitors Group: System/GUI/GNOME -License: GPLv2+ -Recommends: %{name}-lang +License: GPLv2+ Requires: gnome-shell +Recommends: %{name}-lang %description -n gnome-shell-extension-xrandr-indicator -Replace the GTK+ based indicator from gnome-settings-daemon with a -native one. Lets the user rotate the laptop monitor and open display -preferences quickly. +This GNOME Shell extension adds a status menu to let rotate the +laptop monitor and open display preferences quickly. %lang_package %prep @@ -153,13 +152,9 @@ make %{?_smp_mflags} %install %make_install -# FIXME Remove example extension -pushd %{buildroot}%{_datadir}/gnome-shell/extensions -rm -rf example@gnome-shell-extensions.gnome.org -popd - +# Remove example extension +rm -r %{buildroot}%{_datadir}/gnome-shell/extensions/example@gnome-shell-extensions.gnome.org/ %find_lang %{name} %{?no_lang_C} -%fdupes %{buildroot}%{_datadir}/gnome-shell/extensions %clean %{?buildroot:%__rm -rf %{buildroot}} @@ -190,8 +185,8 @@ popd %files -n gnome-shell-extension-auto-move-windows %defattr(-,root,root) -%{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gnome.org/ %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml +%{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-dock %defattr(-,root,root) @@ -203,8 +198,8 @@ popd %files -n gnome-shell-extension-user-theme %defattr(-,root,root) -%{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gnome.org/ %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml +%{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-windows-navigator %defattr(-,root,root)