diff --git a/README.SUSE b/README.SUSE new file mode 100644 index 0000000..656bf8c --- /dev/null +++ b/README.SUSE @@ -0,0 +1,2 @@ +The gnome-shell-extensions package is a meta-package recommending +subpackages for separate installation. \ No newline at end of file diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index f6da0d8..948ba40 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 28 16:13:25 UTC 2011 - malcolmlewis@opensuse.org + +- Update based on git commit b223396 to 3.0.0 +- Split out extensions into sub packages +- Remove example extension + ------------------------------------------------------------------- Tue Feb 22 20:39:45 UTC 2011 - dimstar@opensuse.org diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index e8d5e7e..4d2bf8c 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -17,19 +17,31 @@ Name: gnome-shell-extensions -Version: 2.91.6 +Version: 3.0.0 +# git show-ref HEAD +# b2233963b491b4fe7e5a39955cccd58678c1e3aa refs/remotes/origin/HEAD 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}.tar.bz2 +Source1: README.SUSE BuildRequires: fdupes # Needed because we build from a git checkout BuildRequires: gnome-common +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 +Recommends: gnome-shell-extension-gajim +Recommends: gnome-shell-extension-user-theme +Recommends: gnome-shell-extension-windows-navigator +Recommends: gnome-shell-extension-xrandr-indicator Recommends: %{name}-lang +Requires: gnome-shell BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %glib2_gsettings_schema_requires @@ -38,36 +50,169 @@ BuildArch: noarch 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: Adds power off item visible at all the time +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-alt-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-alternate-tab +Summary: Classic Alt+Tab behavior +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-alternate-tab +Lets you use classic Alt+Tab (window-based instead of app-based) in +GNOME Shell. + +%package -n gnome-shell-extension-auto-move-windows +Summary: Assign specific workspaces to applications +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-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: Dock-style task switcher +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-dock +Shows a dock-style task switcher on the right side of the screen. + +%package -n gnome-shell-extension-gajim +Summary: Gajim integration +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-gajim +Display Gajim incoming chats as notifications in the Shell message tray. + +%package -n gnome-shell-extension-user-theme +Summary: Add custom theme for the shell +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-user-theme +Loads a shell theme from ~/.themes//gnome-shell. + +%package -n gnome-shell-extension-windows-navigator +Summary: Keyboard selection of windows and workspaces +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-windows-navigator +Allow keyboard selection of windows and workspaces in overlay mode in +GNOME Shell. Press the Super or Alt+F1 key(s) and then press the alt key +to show numbers over windows. Press any number to switch to the +corresponding window. + +%package -n gnome-shell-extension-xrandr-indicator +Summary: Add a systems status menu for rotating monitors +Group: System/GUI/GNOME +License: GPLv2+ +Recommends: %{name}-lang +Requires: gnome-shell + +%description -n gnome-shell-extension-xrandr-indicator +Replace the GTK+ based indicator from gnome-settings-daemon with a +native one. Lets the user rotate the laptop monitor and open display +preferences quickly. + %lang_package %prep %setup -q -n %{name} +cp %{S:1} . %build # Needed because we build from a git checkout [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh -%configure +%configure --enable-extensions="all" make %{?_smp_mflags} %install %make_install +# FIXME Remove example extension +pushd %{buildroot}%{_datadir}/gnome-shell/extensions +rm -rf example@gnome-shell-extensions.gnome.org +popd + %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot}%{_datadir}/gnome-shell/extensions %clean %{?buildroot:%__rm -rf %{buildroot}} -%post +%post -n gnome-shell-extension-auto-move-windows %glib2_gsettings_schema_post -%postun +%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 README +%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) +%{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gnome.org/ %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml -%dir %{_datadir}/gnome-shell -%{_datadir}/gnome-shell/extensions/ + +%files -n gnome-shell-extension-dock +%defattr(-,root,root) +%{_datadir}/gnome-shell/extensions/dock@gnome-shell-extensions.gnome.org/ + +%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}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gnome.org/ +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml + +%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/ %files lang -f %{name}.lang diff --git a/gnome-shell-extensions.tar.bz2 b/gnome-shell-extensions.tar.bz2 index 00e4a89..e62aa4d 100644 --- a/gnome-shell-extensions.tar.bz2 +++ b/gnome-shell-extensions.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ccc430c617d8db3c15f6ff11defe82533754816340adf6c78091f02ab01f0d4c -size 67669 +oid sha256:54cb4825e8a2f852dd9fef63c6509232b50ee6214b9449c0bc1eee30f17f648c +size 26076