# # spec file for package gnome-shell-extensions # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gnome-shell-extensions Version: 3.2.0 Release: 1 License: GPL-2.0+ Summary: A collection of extensions for GNOME Shell Url: http://live.gnome.org/GnomeShell/Extensions Group: System/GUI/GNOME Source: http://download.gnome.org/sources/gnome-shell-extensions/3.2/%{name}-%{version}.tar.bz2 Source1: README.SUSE # PATCH-FIX-UPSTREAM gnome-shell-extensions-fix-popup-menus.patch bgo#661484 malcolmlewis@opensuse-org -- The dock popup menus weren't working because a signal had been renamed ('popup' -> 'open-state-changed'). Patch0: gnome-shell-extensions-fix-popup-menus.patch # PATCH-FIX-UPSTREAM gnome-shell-extensions-make-dock-extension-work.patch malcolmlewis@opensuse-org -- Without this patch dock is invisible, but reacts on mouse clicks. Patch1: gnome-shell-extensions-make-dock-extension-work.patch # Needed for directory ownership BuildRequires: gnome-shell # gobject-introspection is needed for the typelib() rpm magic. BuildRequires: gobject-introspection BuildRequires: intltool BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(libgtop-2.0) >= 2.28.3 Requires: gnome-shell Recommends: gnome-shell-extension-alt-status-menu Recommends: gnome-shell-extension-alternate-tab Recommends: gnome-shell-extension-apps-menu Recommends: gnome-shell-extension-auto-move-windows Recommends: gnome-shell-extension-dock Recommends: gnome-shell-extension-drive-menu Recommends: gnome-shell-extension-gajim Recommends: gnome-shell-extension-native-window-placement Recommends: gnome-shell-extension-places-menu Recommends: gnome-shell-extension-systemMonitor Recommends: gnome-shell-extension-user-theme Recommends: gnome-shell-extension-windows-navigator Recommends: gnome-shell-extension-workspace-indicator Recommends: gnome-shell-extension-xrandr-indicator BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description GNOME Shell Extensions is a collection of extensions providing 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 Summary: GNOME Shell Extension -- Power Off Item in Status Menu Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-alt-status-menu 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: GNOME Shell Extension -- Classic Alt+Tab behavior Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-alternate-tab This GNOME Shell extension changes Alt+Tab to be window-based instead of app-based. %package -n gnome-shell-extension-apps-menu Summary: GNOME Shell Extension -- Applications Menu Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-apps-menu This GNOME Shell extension adds a GNOME 2.x style menu for applications. %package -n gnome-shell-extension-auto-move-windows Summary: GNOME Shell Extension -- Assign specific workspaces to applications Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %glib2_gsettings_schema_requires %description -n gnome-shell-extension-auto-move-windows 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: GNOME Shell Extension -- Dock-style Task Switcher Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %glib2_gsettings_schema_requires %description -n gnome-shell-extension-dock This GNOME Shell extension displays a dock-style task switcher on the right side of the screen. %package -n gnome-shell-extension-drive-menu Summary: GNOME Shell Extension -- Drive Status Menu Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-drive-menu This GNOME Shell extension provides a panel status menu for accessing and unmounting removable devices. %package -n gnome-shell-extension-gajim Summary: GNOME Shell Extension -- Gajim Integration Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-gajim This GNOME Shell extension adds integration with the Gajim instant messaging client. %package -n gnome-shell-extension-native-window-placement Summary: GNOME Shell Extension -- Native Window Placement Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %glib2_gsettings_schema_requires %description -n gnome-shell-extension-native-window-placement This GNOME Shell extension provides additional configurability for the window layout in the overview, including a mechanism similar to KDE4. %package -n gnome-shell-extension-places-menu Summary: GNOME Shell Extension -- Places Status Menu Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-places-menu This GNOME Shell extension add a system status menu for quickly navigating places in the system. %package -n gnome-shell-extension-systemMonitor Summary: GNOME Shell Extension -- System Monitor Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-systemMonitor This GNOME Shell extension is a message tray indicator for CPU and memory usage. %package -n gnome-shell-extension-user-theme Summary: GNOME Shell Extension -- Support for Custom Themes Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %glib2_gsettings_schema_requires %description -n gnome-shell-extension-user-theme This GNOME Shell extension enables loading a GNOME Shell theme from ~/.themes//gnome-shell. %package -n gnome-shell-extension-windows-navigator Summary: GNOME Shell Extension -- Keyboard Selection of Windows and Workspaces Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-windows-navigator This GNOME Shell extension enables keyboard selection of windows and workspaces in overlay mode, by pressing the alt key. %package -n gnome-shell-extension-workspace-indicator Summary: GNOME Shell Extension -- Workspace Indicator Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-workspace-indicator This GNOME Shell extension add a system status menu for quickly changing workspaces. %package -n gnome-shell-extension-xrandr-indicator Summary: GNOME Shell Extension -- Status Menu for Rotating Monitors Group: System/GUI/GNOME License: GPL-2.0+ Requires: %{name}-common %description -n gnome-shell-extension-xrandr-indicator This GNOME Shell extension adds a status menu to let rotate the laptop monitor and open display preferences quickly. %lang_package -n %{name}-common %prep %setup -q %patch0 -p1 %patch1 -p1 cp %{S:1} . %build %configure --enable-extensions=all make %{?_smp_mflags} %install %make_install # Remove example extension rm -r %{buildroot}%{_datadir}/gnome-shell/extensions/example@gnome-shell-extensions.gnome.org/ %find_lang %{name} %{?no_lang_C} %clean %{?buildroot:%__rm -rf %{buildroot}} %post -n gnome-shell-extension-alternate-tab %glib2_gsettings_schema_post %postun -n gnome-shell-extension-alternate-tab %glib2_gsettings_schema_postun %post -n gnome-shell-extension-auto-move-windows %glib2_gsettings_schema_post %postun -n gnome-shell-extension-auto-move-windows %glib2_gsettings_schema_postun %post -n gnome-shell-extension-dock %glib2_gsettings_schema_post %postun -n gnome-shell-extension-dock %glib2_gsettings_schema_postun %post -n gnome-shell-extension-native-window-placement %glib2_gsettings_schema_post %postun -n gnome-shell-extension-native-window-placement %glib2_gsettings_schema_postun %post -n gnome-shell-extension-user-theme %glib2_gsettings_schema_post %postun -n gnome-shell-extension-user-theme %glib2_gsettings_schema_postun %files %defattr(-,root,root) %doc README.SUSE %files common %defattr(-,root,root) %doc COPYING README %files -n gnome-shell-extension-alt-status-menu %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/alternative-status-menu@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-alternate-tab %defattr(-,root,root) %doc COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternate-tab.gschema.xml %{_datadir}/gnome-shell/extensions/alternate-tab@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-apps-menu %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-auto-move-windows %defattr(-,root,root) %doc COPYING %{_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) %doc COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dock.gschema.xml %{_datadir}/gnome-shell/extensions/dock@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-drive-menu %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-gajim %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/gajim@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-native-window-placement %defattr(-,root,root) %doc COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml %{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-places-menu %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-systemMonitor %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/systemMonitor@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-user-theme %defattr(-,root,root) %doc COPYING %{_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) %doc COPYING %{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-workspace-indicator %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gnome.org/ %files -n gnome-shell-extension-xrandr-indicator %defattr(-,root,root) %doc COPYING %{_datadir}/gnome-shell/extensions/xrandr-indicator@gnome-shell-extensions.gnome.org/ %files common-lang -f %{name}.lang %changelog