forked from pool/gnome-shell-extensions
badddfdf83
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=c9dddacfa07da766e16f6f9e47f04bbf
247 lines
8.1 KiB
RPMSpec
247 lines
8.1 KiB
RPMSpec
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
# Drive Menu does not exist in the 3.0.x tree. It's supposedly comming with 3.1.x
|
|
%define build_drive_menu 0
|
|
|
|
Name: gnome-shell-extensions
|
|
Version: 3.0.2
|
|
Release: 1
|
|
License: GPLv2+
|
|
Summary: A collection of extensions for GNOME Shell
|
|
Url: http://live.gnome.org/GnomeShell/Extensions
|
|
Group: System/GUI/GNOME
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Source1: README.SUSE
|
|
# 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
|
|
Recommends: gnome-shell-extension-dock
|
|
%if 0%{?build_drive_menu}
|
|
Recommends: gnome-shell-extension-drive-menu
|
|
%endif
|
|
Recommends: gnome-shell-extension-gajim
|
|
Recommends: gnome-shell-extension-user-theme
|
|
Recommends: gnome-shell-extension-windows-navigator
|
|
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 -n gnome-shell-extension-alt-status-menu
|
|
Summary: GNOME Shell Extension -- Power Off Item in Status Menu
|
|
Group: System/GUI/GNOME
|
|
License: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
|
|
%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: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
|
|
%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-auto-move-windows
|
|
Summary: GNOME Shell Extension -- Assign specific workspaces to applications
|
|
Group: System/GUI/GNOME
|
|
License: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
%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: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
|
|
%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: 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.
|
|
|
|
%package -n gnome-shell-extension-gajim
|
|
Summary: GNOME Shell Extension -- Gajim Integration
|
|
Group: System/GUI/GNOME
|
|
License: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
|
|
%description -n gnome-shell-extension-gajim
|
|
This GNOME Shell extension adds integration with the Gajim instant
|
|
messaging client.
|
|
|
|
%package -n gnome-shell-extension-user-theme
|
|
Summary: GNOME Shell Extension -- Support for Custom Themes
|
|
Group: System/GUI/GNOME
|
|
License: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description -n gnome-shell-extension-user-theme
|
|
This GNOME Shell extension enables loading a GNOME Shell theme from
|
|
~/.themes/<name>/gnome-shell.
|
|
|
|
%package -n gnome-shell-extension-windows-navigator
|
|
Summary: GNOME Shell Extension -- Keyboard Selection of Windows and Workspaces
|
|
Group: System/GUI/GNOME
|
|
License: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
|
|
%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-xrandr-indicator
|
|
Summary: GNOME Shell Extension -- Status Menu for Rotating Monitors
|
|
Group: System/GUI/GNOME
|
|
License: GPLv2+
|
|
Requires: gnome-shell
|
|
Recommends: %{name}-lang
|
|
|
|
%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
|
|
%prep
|
|
%setup -q
|
|
cp %{S:1} .
|
|
|
|
%build
|
|
# Needed because we build from a git checkout
|
|
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
|
|
%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-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
|
|
%glib2_gsettings_schema_post
|
|
|
|
%postun -n gnome-shell-extension-user-theme
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING README README.SUSE
|
|
|
|
%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}/gnome-shell/extensions/alternate-tab@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}/gnome-shell/extensions/dock@gnome-shell-extensions.gnome.org/
|
|
|
|
%if 0%{?build_drive_menu}
|
|
|
|
%files -n gnome-shell-extension-drive-menu
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gnome.org/
|
|
%endif
|
|
|
|
%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-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-xrandr-indicator
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%{_datadir}/gnome-shell/extensions/xrandr-indicator@gnome-shell-extensions.gnome.org/
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|