2011-03-04 10:39:34 +01:00
|
|
|
#
|
|
|
|
# spec file for package gnome-shell-extensions
|
|
|
|
#
|
|
|
|
# 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
|
2011-04-28 23:41:23 +02:00
|
|
|
Version: 3.0.1
|
2011-04-28 23:19:19 +02:00
|
|
|
# git show-ref HEAD
|
2011-04-30 18:01:22 +02:00
|
|
|
# f016b95f772f7ca3947ecee7dc2cea55a15e5138 refs/remotes/origin/HEAD
|
2011-03-04 12:17:05 +01:00
|
|
|
Release: 1
|
2011-03-04 10:39:34 +01:00
|
|
|
License: GPLv2+
|
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
|
|
|
|
Source: %{name}.tar.bz2
|
2011-04-28 23:19:19 +02:00
|
|
|
Source1: README.SUSE
|
2011-03-04 12:17:05 +01:00
|
|
|
# Needed because we build from a git checkout
|
2011-03-04 10:39:34 +01:00
|
|
|
BuildRequires: gnome-common
|
2011-04-28 23:41:23 +02:00
|
|
|
# Needed for directory ownership
|
2011-04-28 23:19:19 +02:00
|
|
|
BuildRequires: gnome-shell
|
2011-03-04 10:39:34 +01:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
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
|
|
|
|
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
|
|
|
|
Recommends: gnome-shell-extension-user-theme
|
|
|
|
Recommends: gnome-shell-extension-windows-navigator
|
|
|
|
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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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
|
|
|
|
|
|
|
%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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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-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-04-30 18:01:22 +02:00
|
|
|
%package -n gnome-shell-extension-drive-menu
|
|
|
|
Summary: GNOME Shell Extension -- Drive status menu
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
License: GPLv2+
|
|
|
|
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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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
|
|
|
|
|
|
|
%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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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
|
|
|
|
|
|
|
%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-04-28 23:41:23 +02:00
|
|
|
License: GPLv2+
|
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
|
|
|
|
%setup -q -n %{name}
|
2011-04-28 23:19:19 +02:00
|
|
|
cp %{S:1} .
|
2011-03-04 10:39:34 +01:00
|
|
|
|
|
|
|
%build
|
2011-03-04 12:17:05 +01:00
|
|
|
# Needed because we build from a git checkout
|
2011-03-04 10:39:34 +01:00
|
|
|
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
|
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-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
|
|
|
|
|
|
|
|
%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-04-28 23:19:19 +02:00
|
|
|
%doc README README.SUSE
|
|
|
|
|
|
|
|
%files -n gnome-shell-extension-alt-status-menu
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/gnome-shell/extensions/alternative-status-menu@gnome-shell-extensions.gnome.org/
|
|
|
|
|
|
|
|
%files -n gnome-shell-extension-alternate-tab
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/gnome-shell/extensions/alternate-tab@gnome-shell-extensions.gnome.org/
|
|
|
|
|
|
|
|
%files -n gnome-shell-extension-auto-move-windows
|
|
|
|
%defattr(-,root,root)
|
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)
|
|
|
|
%{_datadir}/gnome-shell/extensions/dock@gnome-shell-extensions.gnome.org/
|
|
|
|
|
2011-04-30 18:01:22 +02:00
|
|
|
%files -n gnome-shell-extension-drive-menu
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_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)
|
|
|
|
%{_datadir}/gnome-shell/extensions/gajim@gnome-shell-extensions.gnome.org/
|
|
|
|
|
|
|
|
%files -n gnome-shell-extension-user-theme
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_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)
|
|
|
|
%{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gnome.org/
|
|
|
|
|
|
|
|
%files -n gnome-shell-extension-xrandr-indicator
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_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
|