Enable auto-move-windows extensions

This commit is contained in:
Mohamed El Morabity 2011-04-11 20:02:05 +02:00
parent ce3a812924
commit 39affdd192

View File

@ -1,6 +1,6 @@
Name: gnome-shell-extensions
Version: 3.0.0
Release: 4.6d56cfgit%{?dist}
Release: 5.6d56cfgit%{?dist}
Summary: Modify and extend GNOME Shell functionality and behavior
Group: User Interface/Desktops
License: GPLv2+
@ -29,6 +29,7 @@ Enabled extensions:
* dock
* windowsNavigator
* user-theme
* auto-move-windows
%package common
Summary: Files common to GNOME Shell Extensions
@ -92,6 +93,17 @@ Requires: %{name}-common = %{version}-%{release}
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 auto-move-windows
Summary: Assign specific workspaces to applications
Group: User Interface/Desktops
License: GPLv2+
Requires: %{name}-common = %{version}-%{release}
%description 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.
%prep
%setup -q -n gnome-shell-extensions
@ -99,7 +111,7 @@ apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
# since we build from a git checkout
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme"
%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows"
make %{?_smp_mflags}
%install
@ -134,13 +146,27 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
%{_datadir}/gnome-shell/extensions/user-theme*
%files auto-move-windows
%defattr(-,root,root,-)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
%{_datadir}/gnome-shell/extensions/auto-move-windows*
%posttrans user-theme
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
%postun user-theme
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%posttrans auto-move-windows
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
%postun auto-move-windows
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog
* Mon Apr 11 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.0-5.6d56cfgit
- Enable auto-move-windows extension
* Sun Apr 11 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.0-4.6d56cfgit
- Add glib2-devel as build requires