- Update to a newer git snapshot
- Enable native-window-placement extension
This commit is contained in:
parent
c097963b13
commit
cf61c93722
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/gnome-shell-extensions-6d56cf.tar.xz
|
||||
/gnome-shell-extensions-f016b9.tar.xz
|
||||
/gnome-shell-extensions-03660f.tar.xz
|
||||
|
@ -1,8 +1,8 @@
|
||||
%global commit f016b9
|
||||
%global commit 03660f
|
||||
|
||||
Name: gnome-shell-extensions
|
||||
Version: 3.0.1
|
||||
Release: 1.%{commit}git%{?dist}
|
||||
Release: 3.%{commit}git%{?dist}
|
||||
Summary: Modify and extend GNOME Shell functionality and behavior
|
||||
Group: User Interface/Desktops
|
||||
License: GPLv2+
|
||||
@ -15,7 +15,6 @@ Source0: gnome-shell-extensions-%{commit}.tar.xz
|
||||
# since we build from a git checkout
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: intltool
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
Requires: gnome-shell >= 3.0.1
|
||||
BuildArch: noarch
|
||||
@ -33,6 +32,8 @@ Enabled extensions:
|
||||
* user-theme
|
||||
* auto-move-windows
|
||||
* drive-menu
|
||||
* places-menu
|
||||
* native-window-placement
|
||||
|
||||
%package common
|
||||
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
|
||||
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
|
||||
%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
|
||||
[ -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}
|
||||
|
||||
%install
|
||||
@ -172,6 +196,24 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%{_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
|
||||
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
|
||||
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
|
||||
* 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
|
||||
- Update to a newer git snapshot (post-3.0.1 release)
|
||||
- Enable drive-menu extension
|
||||
|
Loading…
Reference in New Issue
Block a user