[packages/gnome-shell-extensions] Update to 3.8.0
megabajt
megabajt at pld-linux.org
Sun Apr 14 15:02:35 CEST 2013
commit 86f5e0d73dfbac72e44cf620ff863fce106946ce
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Sun Apr 14 15:02:14 2013 +0200
Update to 3.8.0
gnome-shell-extensions.spec | 248 +++++++++++++++++++++++++-------------------
1 file changed, 144 insertions(+), 104 deletions(-)
---
diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec
index 9aad83f..d77e872 100644
--- a/gnome-shell-extensions.spec
+++ b/gnome-shell-extensions.spec
@@ -1,4 +1,4 @@
-%define major_version 3.6
+%define major_version 3.8
# Minimum GNOME Shell version supported
%define global min_gs_version %{major_version}.0
@@ -16,15 +16,17 @@ URL: http://live.gnome.org/GnomeShell/Extensions
# $ cd gnome-shell-extensions/
# $ git archive --format=tar --prefix=%{name}-%{version}/ %{version} | xz > ../%{name}-%{version}.tar.xz
Source0: %{name}-%{version}.tar.xz
-# Source0-md5: 849a020b25595b173ce99bac452f7db2
+# Source0-md5: 8b0febdef43ce579a3b76748ae47ed07
BuildRequires: gnome-common
-BuildRequires: intltool
BuildRequires: gnome-desktop-devel
+BuildRequires: intltool
BuildRequires: libgtop-devel
Requires: gnome-shell >= %{min_gs_version}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define ext_prefix gnome-shell-extension
+
%description
GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell.
@@ -50,186 +52,209 @@ Summary: Files common to GNOME Shell Extensions
License: GPL v2+
Group: X11/Applications
Requires: gnome-shell >= %{min_gs_version}
+Obsoletes: gnome-shell-extension-dock < 3.8.0
+Obsoletes: gnome-shell-extension-gajim < 3.8.0
-%description -n gnome-shell-extensions-common
+%description common
GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell. Common files and
directories needed by extensions are provided here.
-%package -n gnome-shell-extension-alternate-tab
+%package -n gnome-classic-session
+Summary: GNOME "classic" mode session
+License: GPL v2+
+Group: X11/Applications
+Requires: %{ext_prefix}-alternate-tab = %{version}-%{release}
+Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
+Requires: %{ext_prefix}-default-min-max = %{version}-%{release}
+Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
+Requires: %{ext_prefix}-places-menu = %{version}-%{release}
+Requires: %{ext_prefix}-static-workspaces = %{version}-%{release}
+Requires: %{ext_prefix}-window-list = %{version}-%{release}
+Requires: gnome-session >= 1:3.8.0
+
+%description -n gnome-classic-session
+This package contains the required components for the GNOME Shell
+"classic" mode, which aims to provide a GNOME 2-like user interface.
+
+%package -n %{ext_prefix}-alternate-tab
Summary: Classic Alt+Tab behavior. Window based instead of app based
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-alternate-tab
+%description -n %{ext_prefix}-alternate-tab
Lets you use classic Alt+Tab (window-based instead of app-based) in
GNOME Shell. GNOME Shell groups multiple instances of the same
application together. This extension disables grouping.
-%package -n gnome-shell-extension-alternative-status-menu
+%package -n %{ext_prefix}-alternative-status-menu
Summary: For those who want a power off item visible at all the time
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-alternative-status-menu
+%description -n %{ext_prefix}-alternative-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.
-%package -n gnome-shell-extension-apps-menu
+%package -n %{ext_prefix}-apps-menu
Summary: Application menu for GNOME Shell
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-apps-menu
+%description -n %{ext_prefix}-apps-menu
Add a GNOME 2.x style menu for applications.
-%package -n gnome-shell-extension-auto-move-windows
+%package -n %{ext_prefix}-auto-move-windows
Summary: Assign specific workspaces to applications
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-auto-move-windows
+%description -n %{ext_prefix}-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.
-%package -n gnome-shell-extension-dock
-Summary: Shows a dock-style task switcher permanently
+%package -n %{ext_prefix}-default-min-max
+Summary: Add minimize and maximize titlebar buttons in GNOME Shell
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-dock
-Shows a dock-style task switcher on the right side of the screen
-permanently.
+%description -n %{ext_prefix}-default-min-max
+This GNOME Shell extension adds minimize and maximize buttons to the
+titlebar by default.
-%package -n gnome-shell-extension-drive-menu
+%package -n %{ext_prefix}-drive-menu
Summary: Disk device manager in the system status area
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-drive-menu
+%description -n %{ext_prefix}-drive-menu
Adds a menu in the system status area that tracks removable disk
devices attached and offers to browse them and eject/unmount them.
-%package -n gnome-shell-extension-gajim
-Summary: Gajim IM integration
+%package -n %{ext_prefix}-launch-new-instance
+Summary: Always launch a new application instance for GNOME Shell
License: GPL v2+
Group: X11/Applications
-Requires: gajim
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-gajim
-Display Gajim incoming chats as notifications in the Shell message
-tray.
+%description -n %{ext_prefix}-launch-new-instance
+This GNOME Shell extension modifies the behavior of clicking in the
+dash and app launcher to always launch a new application instance.
-%package -n gnome-shell-extension-native-window-placement
+%package -n %{ext_prefix}-native-window-placement
Summary: Arrange windows in overview in a more native way
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-native-window-placement
+%description -n %{ext_prefix}-native-window-placement
This extension employs an algorithm (taken from KDE) for layouting the
thumbnails in the overview that more closely reflects the positions
and relative sizes of the actual windows, instead of using a fixed
grid.
-%package -n gnome-shell-extension-places-menu
+%package -n %{ext_prefix}-places-menu
Summary: Places menu indicator in the system status area
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-places-menu
+%description -n %{ext_prefix}-places-menu
Adds a menu in the system status area that resembles the Places menu
from GNOME 2.x
-%package -n gnome-shell-extension-systemMonitor
+%package -n %{ext_prefix}-static-workspaces
+Summary: Disable dynamic workspace management in GNOME Shell
+License: GPL v2+
+Group: X11/Applications
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{ext_prefix}-static-workspaces
+This GNOME Shell extension disables dynamic workspace management.
+
+%package -n %{ext_prefix}-systemMonitor
Summary: Monitor your system status
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
Requires: libgtop
-%description -n gnome-shell-extension-systemMonitor
+%description -n %{ext_prefix}-systemMonitor
Monitor your system status
-%package -n gnome-shell-extension-user-theme
+%package -n %{ext_prefix}-user-theme
Summary: Lets the user select a custom theme for the shell
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-user-theme
+%description -n %{ext_prefix}-user-theme
Lets the user select a custom theme for the Gnome shell. It will allow
you to apply a style from
/.themes/[themeName]/gnome-shell/gnome-shell.css
-%package -n gnome-shell-extension-windowsNavigator
+%package -n %{ext_prefix}-window-list
+Summary: Display a window list at the bottom of the screen in GNOME Shell
+License: GPL v2+
+Group: X11/Applications
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{ext_prefix}-window-list
+This GNOME Shell extension displays a window list at the bottom of the
+screen.
+
+%package -n %{ext_prefix}-windowsNavigator
Summary: Keyboard selection of windows and work-spaces in overlay mode
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-windowsNavigator
+%description -n %{ext_prefix}-windowsNavigator
Allow keyboard selection of windows and work-spaces in overlay mode in
GNOME Shell. Switch to overview mode (press the windows or alt+f1 key)
and press the alt key to show numbers over windows. Press any number
to switch to the corresponding window.
-%package -n gnome-shell-extension-workspace-indicator
+%package -n %{ext_prefix}-workspace-indicator
Summary: Workspace Indicator
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-workspace-indicator
+%description -n %{ext_prefix}-workspace-indicator
Put an indicator on the panel signaling in which workspace you are,
and give you the possibility of switching to another one.
-%package -n gnome-shell-extension-xrandr-indicator
+%package -n %{ext_prefix}-xrandr-indicator
Summary: Monitor status indicator
License: GPL v2+
Group: X11/Applications
-Requires: gnome-shell-extensions-common = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
-%description -n gnome-shell-extension-xrandr-indicator
+%description -n %{ext_prefix}-xrandr-indicator
This extension adds a systems status menu for rotating monitors
(overrides what is currently provided by gnome-settings-daemon.
%prep
%setup -q
+
+%build
%{__glib_gettextize}
%{__intltoolize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
-
-%build
%configure \
- \
- --enable-extensions="alternate-tab \
- alternative-status-menu \
- apps-menu \
- auto-move-windows \
- dock \
- drive-menu \
- native-window-placement \
- places-menu \
- systemMonitor \
- user-theme \
- windowsNavigator \
- workspace-indicator \
- xrandr-indicator
- gajim" \
+ --enable-extensions="all"
%{__make}
@@ -239,45 +264,43 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# Drop useless example extension
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
+
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -n gnome-shell-extension-alternate-tab
+%post -n %{ext_prefix}-alternative-status-menu
%glib_compile_schemas
-%postun -n gnome-shell-extension-alternate-tab
+%postun -n %{ext_prefix}-alternative-status-menu
%glib_compile_schemas
-%post -n gnome-shell-extension-alternative-status-menu
+%post -n %{ext_prefix}-auto-move-windows
%glib_compile_schemas
-%postun -n gnome-shell-extension-alternative-status-menu
+%postun -n %{ext_prefix}-auto-move-windows
%glib_compile_schemas
-%post -n gnome-shell-extension-auto-move-windows
+%post -n %{ext_prefix}-native-window-placement
%glib_compile_schemas
-%postun -n gnome-shell-extension-auto-move-windows
+%postun -n %{ext_prefix}-native-window-placement
%glib_compile_schemas
-%post -n gnome-shell-extension-dock
+%post -n %{ext_prefix}-user-theme
%glib_compile_schemas
-%postun -n gnome-shell-extension-dock
+%postun -n %{ext_prefix}-user-theme
%glib_compile_schemas
-%post -n gnome-shell-extension-native-window-placement
+%post -n %{ext_prefix}-window-list
%glib_compile_schemas
-%postun -n gnome-shell-extension-native-window-placement
-%glib_compile_schemas
-
-%post -n gnome-shell-extension-user-theme
-%glib_compile_schemas
-
-%postun -n gnome-shell-extension-user-theme
+%postun -n %{ext_prefix}-window-list
%glib_compile_schemas
%files common -f %{name}.lang
@@ -285,64 +308,81 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING NEWS README
%dir %{_datadir}/gnome-shell/extensions
-%files -n gnome-shell-extension-alternate-tab
+%files -n gnome-classic-session
+%defattr(644,root,root,755)
+%{_desktopdir}/gnome-shell-classic.desktop
+%{_datadir}/gnome-session/sessions/gnome-classic.session
+%dir %{_datadir}/gnome-shell/modes
+%{_datadir}/gnome-shell/modes/classic.json
+%{_datadir}/gnome-shell/theme/*.svg
+%{_datadir}/gnome-shell/theme/gnome-classic.css
+%{_datadir}/xsessions/gnome-classic.desktop
+
+%files -n %{ext_prefix}-alternate-tab
%defattr(644,root,root,755)
-%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternate-tab.gschema.xml
%{_datadir}/gnome-shell/extensions/alternate-tab*
-%files -n gnome-shell-extension-alternative-status-menu
+%files -n %{ext_prefix}-alternative-status-menu
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.xml
%{_datadir}/gnome-shell/extensions/alternative-status-menu*
-%files -n gnome-shell-extension-apps-menu
+%files -n %{ext_prefix}-apps-menu
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/apps-menu*
-%files -n gnome-shell-extension-auto-move-windows
+%files -n %{ext_prefix}-auto-move-windows
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
%{_datadir}/gnome-shell/extensions/auto-move-windows*
-%files -n gnome-shell-extension-dock
+%files -n %{ext_prefix}-default-min-max
%defattr(644,root,root,755)
-%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dock.gschema.xml
-%{_datadir}/gnome-shell/extensions/dock*
+%{_datadir}/gnome-shell/extensions/default-min-max*
-%files -n gnome-shell-extension-drive-menu
+%files -n %{ext_prefix}-drive-menu
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/drive-menu*
-%files -n gnome-shell-extension-gajim
+%files -n %{ext_prefix}-launch-new-instance
%defattr(644,root,root,755)
-%{_datadir}/gnome-shell/extensions/gajim*
+%{_datadir}/gnome-shell/extensions/launch-new-instance*
-%files -n gnome-shell-extension-native-window-placement
+%files -n %{ext_prefix}-native-window-placement
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
%{_datadir}/gnome-shell/extensions/native-window-placement*
-%files -n gnome-shell-extension-places-menu
+%files -n %{ext_prefix}-places-menu
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/places-menu*
-%files -n gnome-shell-extension-systemMonitor
+%files -n %{ext_prefix}-static-workspaces
+%defattr(644,root,root,755)
+%{_datadir}/gnome-shell/extensions/static-workspaces*
+
+%files -n %{ext_prefix}-systemMonitor
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/systemMonitor*
-%files -n gnome-shell-extension-user-theme
+%files -n %{ext_prefix}-user-theme
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
%{_datadir}/gnome-shell/extensions/user-theme*
-%files -n gnome-shell-extension-windowsNavigator
+%files -n %{ext_prefix}-window-list
+%defattr(644,root,root,755)
+%{_datadir}/gnome-shell/extensions/window-list*
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
+
+%files -n %{ext_prefix}-windowsNavigator
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/windowsNavigator*
-%files -n gnome-shell-extension-workspace-indicator
+%files -n %{ext_prefix}-workspace-indicator
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/workspace-indicator*
-%files -n gnome-shell-extension-xrandr-indicator
+%files -n %{ext_prefix}-xrandr-indicator
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/xrandr-indicator*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extensions.git/commitdiff/86f5e0d73dfbac72e44cf620ff863fce106946ce
More information about the pld-cvs-commit
mailing list