- Update to a newer git snapshot

- Enable native-window-placement extension
This commit is contained in:
Mohamed El Morabity 2011-05-13 02:34:08 +02:00
parent c097963b13
commit cf61c93722
3 changed files with 65 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/gnome-shell-extensions-6d56cf.tar.xz /gnome-shell-extensions-6d56cf.tar.xz
/gnome-shell-extensions-f016b9.tar.xz /gnome-shell-extensions-f016b9.tar.xz
/gnome-shell-extensions-03660f.tar.xz

View File

@ -1,8 +1,8 @@
%global commit f016b9 %global commit 03660f
Name: gnome-shell-extensions Name: gnome-shell-extensions
Version: 3.0.1 Version: 3.0.1
Release: 1.%{commit}git%{?dist} Release: 3.%{commit}git%{?dist}
Summary: Modify and extend GNOME Shell functionality and behavior Summary: Modify and extend GNOME Shell functionality and behavior
Group: User Interface/Desktops Group: User Interface/Desktops
License: GPLv2+ License: GPLv2+
@ -15,7 +15,6 @@ Source0: gnome-shell-extensions-%{commit}.tar.xz
# since we build from a git checkout # since we build from a git checkout
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: intltool BuildRequires: intltool
BuildRequires: glib2-devel BuildRequires: glib2-devel
Requires: gnome-shell >= 3.0.1 Requires: gnome-shell >= 3.0.1
BuildArch: noarch BuildArch: noarch
@ -33,6 +32,8 @@ Enabled extensions:
* user-theme * user-theme
* auto-move-windows * auto-move-windows
* drive-menu * drive-menu
* places-menu
* native-window-placement
%package common %package common
Summary: Files common to GNOME Shell Extensions Summary: Files common to GNOME Shell Extensions
@ -117,6 +118,27 @@ Requires: %{name}-common = %{version}-%{release}
Adds a menu in the system status area that tracks removable disk devices Adds a menu in the system status area that tracks removable disk devices
attached and offers to browse them and eject/unmount them. attached and offers to browse them and eject/unmount them.
%package places-menu
Summary: Places menu indicator in the system status area
Group: User Interface/Desktops
License: GPLv2+
Requires: %{name}-common = %{version}-%{release}
%description places-menu
Adds a menu in the system status area that resembles the Places menu from
GNOME 2.x
%package native-window-placement
Summary: Arrange windows in overview in a more native way
Group: User Interface/Desktops
License: GPLv2+
Requires: %{name}-common = %{version}-%{release}
%description 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.
%prep %prep
%setup -q -n gnome-shell-extensions %setup -q -n gnome-shell-extensions
@ -128,7 +150,9 @@ sed -i "s|Main\.panel\._userMenu|Main.panel._statusmenu|g" extensions/alternativ
# since we build from a git checkout # since we build from a git checkout
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows drive-menu" # TODO: once libgtop2 >= 2.28.4 is available, enable systemMonitor extension
# TODO: once gjs >= 0.7.15 is available, enable xrand-indicator extension
%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows drive-menu places-menu native-window-placement"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -172,6 +196,24 @@ make install DESTDIR=$RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/gnome-shell/extensions/drive-menu* %{_datadir}/gnome-shell/extensions/drive-menu*
%files places-menu
%defattr(-,root,root,-)
%{_datadir}/gnome-shell/extensions/places-menu*
%files places-menu
%defattr(-,root,root,-)
%{_datadir}/gnome-shell/extensions/places-menu*
%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*
%files native-window-placement
%defattr(-,root,root,-)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
%{_datadir}/gnome-shell/extensions/native-window-placement*
%posttrans user-theme %posttrans user-theme
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || : glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
@ -184,7 +226,24 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
%postun auto-move-windows %postun auto-move-windows
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%posttrans native-window-placement
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
%postun native-window-placement
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog %changelog
* Fri May 13 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.1-3.03660fgit
- Update to a newer git snapshot
- Enable native-window-placement extension
* Fri May 06 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.1-2b20cbagit
- Fix description
* Thu May 5 2011 Elad Alfassa <elad@fedoraproject.org> - 3.0.1-1.b20cbagit
- Update to a newer git snapshot
- Enabled the places-menu extension
* Tue Apr 26 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.1-1.f016b9git * Tue Apr 26 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.1-1.f016b9git
- Update to a newer git snapshot (post-3.0.1 release) - Update to a newer git snapshot (post-3.0.1 release)
- Enable drive-menu extension - Enable drive-menu extension

View File

@ -1 +1 @@
d3cb86c79601965f8a2986dc58a481a8 gnome-shell-extensions-f016b9.tar.xz c2cbfce26c4da19f08f870b55f995d64 gnome-shell-extensions-03660f.tar.xz