2011-03-04 10:39:34 +01:00
#
# spec file for package gnome-shell-extensions
#
2011-05-10 09:53:31 +02:00
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
2011-03-04 10:39:34 +01:00
# 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/
#
2011-07-11 16:51:46 +02:00
2011-08-12 11:51:45 +02:00
2011-03-04 10:39:34 +01:00
Name : gnome-shell-extensions
2011-10-04 09:18:57 +02:00
Version : 3.2.0
2011-08-11 21:39:37 +02:00
Release : 1
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-03-04 12:17:05 +01:00
Summary : A collection of extensions for GNOME Shell
2011-03-04 10:39:34 +01:00
Url : http://live.gnome.org/GnomeShell/Extensions
Group : System/GUI/GNOME
2011-10-04 09:18:57 +02:00
Source : http://download.gnome.org/sources/gnome-shell-extensions/3.2/%{name} -%{version} .tar.bz2
2011-04-28 23:19:19 +02:00
Source1 : README.SUSE
2011-10-21 18:12:58 +02:00
# 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
2011-04-28 23:41:23 +02:00
# Needed for directory ownership
2011-04-28 23:19:19 +02:00
BuildRequires : gnome-shell
2011-08-11 21:39:37 +02:00
# gobject-introspection is needed for the typelib() rpm magic.
BuildRequires : gobject-introspection
2011-10-04 09:18:57 +02:00
BuildRequires : intltool
2011-03-04 10:39:34 +01:00
BuildRequires : pkgconfig(gnome-desktop-3.0)
2011-08-11 21:39:37 +02:00
BuildRequires : pkgconfig(libgtop-2.0) >= 2.28.3
2011-04-28 23:41:23 +02:00
Requires : gnome-shell
2011-04-28 23:19:19 +02:00
Recommends: gnome-shell-extension-alt-status-menu
Recommends: gnome-shell-extension-alternate-tab
2011-07-09 21:21:03 +02:00
Recommends: gnome-shell-extension-apps-menu
2011-04-28 23:19:19 +02:00
Recommends: gnome-shell-extension-auto-move-windows
Recommends: gnome-shell-extension-dock
2011-04-30 18:01:22 +02:00
Recommends: gnome-shell-extension-drive-menu
2011-04-28 23:19:19 +02:00
Recommends: gnome-shell-extension-gajim
2011-07-09 21:21:03 +02:00
Recommends: gnome-shell-extension-native-window-placement
Recommends: gnome-shell-extension-places-menu
Recommends: gnome-shell-extension-systemMonitor
2011-04-28 23:19:19 +02:00
Recommends: gnome-shell-extension-user-theme
Recommends: gnome-shell-extension-windows-navigator
2011-08-11 21:39:37 +02:00
Recommends: gnome-shell-extension-workspace-indicator
2011-04-28 23:19:19 +02:00
Recommends: gnome-shell-extension-xrandr-indicator
2011-03-04 10:39:34 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
BuildArch : noarch
%description
2011-03-04 12:17:05 +01:00
GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell.
2011-03-04 10:39:34 +01:00
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-alt-status-menu
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Power Off Item in Status Menu
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-alt-status-menu
2011-04-28 23:41:23 +02:00
This GNOME Shell extension adds a power off item in the status
menu, and provides the ability to hibernate.
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-alternate-tab
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Classic Alt+Tab behavior
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-alternate-tab
2011-04-28 23:41:23 +02:00
This GNOME Shell extension changes Alt+Tab to be window-based
instead of app-based.
2011-04-28 23:19:19 +02:00
2011-07-09 21:21:03 +02:00
%package -n gnome-shell-extension-apps-menu
Summary : GNOME Shell Extension -- Applications Menu
Group : System/GUI/GNOME
License : GPL-2.0+
Requires : gnome-shell
Recommends: %{name} -lang
%description -n gnome-shell-extension-apps-menu
2011-07-21 09:27:40 +02:00
This GNOME Shell extension adds a GNOME 2.x style menu for applications.
2011-07-09 21:21:03 +02:00
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-auto-move-windows
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Assign specific workspaces to applications
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
%glib2_gsettings_schema_requires
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-auto-move-windows
2011-04-28 23:41:23 +02:00
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.
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-dock
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Dock-style Task Switcher
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
2011-07-09 21:21:03 +02:00
%glib2_gsettings_schema_requires
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-dock
2011-04-28 23:41:23 +02:00
This GNOME Shell extension displays a dock-style task switcher on
the right side of the screen.
2011-04-28 23:19:19 +02:00
2011-05-10 09:53:22 +02:00
%package -n gnome-shell-extension-drive-menu
2011-07-21 09:27:40 +02:00
Summary : GNOME Shell Extension -- Drive Status Menu
2011-05-10 09:53:22 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-05-10 09:53:22 +02:00
Requires : gnome-shell
Recommends: %{name} -lang
%description -n gnome-shell-extension-drive-menu
This GNOME Shell extension provides a panel status menu for accessing
and unmounting removable devices.
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-gajim
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Gajim Integration
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-gajim
2011-04-28 23:41:23 +02:00
This GNOME Shell extension adds integration with the Gajim instant
messaging client.
2011-04-28 23:19:19 +02:00
2011-07-09 21:21:03 +02:00
%package -n gnome-shell-extension-native-window-placement
Summary : GNOME Shell Extension -- Native Window Placement
Group : System/GUI/GNOME
License : GPL-2.0+
Requires : gnome-shell
Recommends: %{name} -lang
%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
2011-07-21 09:27:40 +02:00
Summary : GNOME Shell Extension -- Places Status Menu
2011-07-09 21:21:03 +02:00
Group : System/GUI/GNOME
License : GPL-2.0+
Requires : gnome-shell
Recommends: %{name} -lang
%description -n gnome-shell-extension-places-menu
2011-07-21 09:27:40 +02:00
This GNOME Shell extension add a system status menu for quickly
2011-07-09 21:21:03 +02:00
navigating places in the system.
%package -n gnome-shell-extension-systemMonitor
2011-07-21 09:27:40 +02:00
Summary : GNOME Shell Extension -- System Monitor
2011-07-09 21:21:03 +02:00
Group : System/GUI/GNOME
License : GPL-2.0+
Requires : gnome-shell
Recommends: %{name} -lang
%description -n gnome-shell-extension-systemMonitor
2011-07-21 09:27:40 +02:00
This GNOME Shell extension is a message tray indicator for CPU and
memory usage.
2011-07-09 21:21:03 +02:00
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-user-theme
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Support for Custom Themes
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
%glib2_gsettings_schema_requires
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-user-theme
2011-04-28 23:41:23 +02:00
This GNOME Shell extension enables loading a GNOME Shell theme from
~/.themes/<name>/gnome-shell.
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-windows-navigator
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Keyboard Selection of Windows and Workspaces
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-windows-navigator
2011-04-28 23:41:23 +02:00
This GNOME Shell extension enables keyboard selection of windows
and workspaces in overlay mode, by pressing the alt key.
2011-04-28 23:19:19 +02:00
2011-08-11 21:39:37 +02:00
%package -n gnome-shell-extension-workspace-indicator
Summary : GNOME Shell Extension -- Workspace Indicator
Group : System/GUI/GNOME
License : GPL-2.0+
Requires : gnome-shell
Recommends: %{name} -lang
%description -n gnome-shell-extension-workspace-indicator
This GNOME Shell extension add a system status menu for quickly
changing workspaces.
2011-04-28 23:19:19 +02:00
%package -n gnome-shell-extension-xrandr-indicator
2011-04-28 23:41:23 +02:00
Summary : GNOME Shell Extension -- Status Menu for Rotating Monitors
2011-04-28 23:19:19 +02:00
Group : System/GUI/GNOME
2011-07-09 21:21:03 +02:00
License : GPL-2.0+
2011-04-28 23:19:19 +02:00
Requires : gnome-shell
2011-04-28 23:41:23 +02:00
Recommends: %{name} -lang
2011-04-28 23:19:19 +02:00
%description -n gnome-shell-extension-xrandr-indicator
2011-04-28 23:41:23 +02:00
This GNOME Shell extension adds a status menu to let rotate the
laptop monitor and open display preferences quickly.
2011-04-28 23:19:19 +02:00
2011-03-04 10:39:34 +01:00
%lang_package
%prep
2011-05-27 00:15:20 +02:00
%setup -q
2011-10-21 18:12:58 +02:00
%patch0 -p1
%patch1 -p1
2011-04-28 23:19:19 +02:00
cp %{S:1} .
2011-03-04 10:39:34 +01:00
%build
2011-04-30 18:01:22 +02:00
%configure --enable-extensions=all
2011-03-04 10:39:34 +01:00
make %{?_smp_mflags}
%install
%make_install
2011-04-28 23:41:23 +02:00
# Remove example extension
rm -r %{buildroot} %{_datadir} /gnome-shell/extensions/example@gnome-shell-extensions.gnome.org/
2011-03-04 12:17:05 +01:00
%find_lang %{name} %{?no_lang_C}
2011-03-04 10:39:34 +01:00
%clean
%{?buildroot:%__rm -rf %{buildroot} }
2011-08-11 21:39:37 +02:00
%post -n gnome-shell-extension-alternate-tab
%glib2_gsettings_schema_post
%postun -n gnome-shell-extension-alternate-tab
%glib2_gsettings_schema_postun
2011-04-28 23:19:19 +02:00
%post -n gnome-shell-extension-auto-move-windows
%glib2_gsettings_schema_post
%postun -n gnome-shell-extension-auto-move-windows
%glib2_gsettings_schema_postun
2011-07-09 21:21:03 +02:00
%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
2011-04-28 23:19:19 +02:00
%post -n gnome-shell-extension-user-theme
2011-03-04 10:39:34 +01:00
%glib2_gsettings_schema_post
2011-04-28 23:19:19 +02:00
%postun -n gnome-shell-extension-user-theme
2011-03-04 10:39:34 +01:00
%glib2_gsettings_schema_postun
%files
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING README README.SUSE
2011-04-28 23:19:19 +02:00
%files -n gnome-shell-extension-alt-status-menu
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-04-28 23:19:19 +02:00
%{_datadir} /gnome-shell/extensions/alternative-status-menu@gnome-shell-extensions.gnome.org/
%files -n gnome-shell-extension-alternate-tab
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-08-11 21:39:37 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.shell.extensions.alternate-tab.gschema.xml
2011-04-28 23:19:19 +02:00
%{_datadir} /gnome-shell/extensions/alternate-tab@gnome-shell-extensions.gnome.org/
2011-07-09 21:21:03 +02:00
%files -n gnome-shell-extension-apps-menu
%defattr (-,root,root)
2011-07-21 09:27:40 +02:00
%doc COPYING
2011-07-09 21:21:03 +02:00
%{_datadir} /gnome-shell/extensions/apps-menu@gnome-shell-extensions.gnome.org/
2011-04-28 23:19:19 +02:00
%files -n gnome-shell-extension-auto-move-windows
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-03-04 10:39:34 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
2011-04-28 23:41:23 +02:00
%{_datadir} /gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gnome.org/
2011-04-28 23:19:19 +02:00
%files -n gnome-shell-extension-dock
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-07-09 21:21:03 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.shell.extensions.dock.gschema.xml
2011-04-28 23:19:19 +02:00
%{_datadir} /gnome-shell/extensions/dock@gnome-shell-extensions.gnome.org/
2011-05-10 09:53:22 +02:00
%files -n gnome-shell-extension-drive-menu
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-05-10 09:53:22 +02:00
%{_datadir} /gnome-shell/extensions/drive-menu@gnome-shell-extensions.gnome.org/
2011-04-28 23:19:19 +02:00
%files -n gnome-shell-extension-gajim
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-04-28 23:19:19 +02:00
%{_datadir} /gnome-shell/extensions/gajim@gnome-shell-extensions.gnome.org/
2011-07-09 21:21:03 +02:00
%files -n gnome-shell-extension-native-window-placement
%defattr (-,root,root)
2011-07-21 09:27:40 +02:00
%doc COPYING
2011-07-09 21:21:03 +02:00
%{_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)
2011-07-21 09:27:40 +02:00
%doc COPYING
2011-07-09 21:21:03 +02:00
%{_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/
2011-04-28 23:19:19 +02:00
%files -n gnome-shell-extension-user-theme
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-04-28 23:19:19 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
2011-04-28 23:41:23 +02:00
%{_datadir} /gnome-shell/extensions/user-theme@gnome-shell-extensions.gnome.org/
2011-04-28 23:19:19 +02:00
%files -n gnome-shell-extension-windows-navigator
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-04-28 23:19:19 +02:00
%{_datadir} /gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gnome.org/
2011-08-11 21:39:37 +02:00
%files -n gnome-shell-extension-workspace-indicator
%defattr (-,root,root)
%doc COPYING
%{_datadir} /gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gnome.org/
2011-04-28 23:19:19 +02:00
%files -n gnome-shell-extension-xrandr-indicator
%defattr (-,root,root)
2011-05-27 00:21:21 +02:00
%doc COPYING
2011-04-28 23:19:19 +02:00
%{_datadir} /gnome-shell/extensions/xrandr-indicator@gnome-shell-extensions.gnome.org/
2011-03-04 10:39:34 +01:00
%files lang -f %{name}.lang
%changelog