Pushing this update to master too
This commit is contained in:
parent
cf61c93722
commit
400d579a96
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/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
|
/gnome-shell-extensions-03660f.tar.xz
|
||||||
|
/gnome-shell-extensions-g63dd27c.tar.xz
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
%global commit 03660f
|
%global commit g63dd27c
|
||||||
|
|
||||||
Name: gnome-shell-extensions
|
Name: gnome-shell-extensions
|
||||||
Version: 3.0.1
|
Version: 3.0.2
|
||||||
Release: 3.%{commit}git%{?dist}
|
Release: 1.%{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+
|
||||||
URL: http://live.gnome.org/GnomeShell/Extensions
|
URL: http://live.gnome.org/GnomeShell/Extensions
|
||||||
|
|
||||||
# using git archive since upstream hasn't created tarballs. Picking up a post 3.0.0 release snapshot for a couple of minor but relevant changes
|
# using git archive since upstream hasn't created tarballs. Picking up a snapshot from master for a couple of minor but relevant changes
|
||||||
# git archive --format=tar --prefix=gnome-shell-extensions/ git_commithash | xz > gnome-shell-extensions-<git_commithash_abbr>.tar.xz
|
# git archive --format=tar --prefix=gnome-shell-extensions/ git_commithash | xz > gnome-shell-extensions-<git_commithash_abbr>.tar.xz
|
||||||
Source0: gnome-shell-extensions-%{commit}.tar.xz
|
Source0: gnome-shell-extensions-%{commit}.tar.xz
|
||||||
|
|
||||||
@ -16,6 +16,9 @@ Source0: gnome-shell-extensions-%{commit}.tar.xz
|
|||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
|
# TODO: uncomment when enabling systemMonitor
|
||||||
|
#BuildRequires: pkgconfig(libgtop-2.0)
|
||||||
|
|
||||||
Requires: gnome-shell >= 3.0.1
|
Requires: gnome-shell >= 3.0.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -34,6 +37,8 @@ Enabled extensions:
|
|||||||
* drive-menu
|
* drive-menu
|
||||||
* places-menu
|
* places-menu
|
||||||
* native-window-placement
|
* native-window-placement
|
||||||
|
# TODO: uncomment when enabling systemMonitor
|
||||||
|
# * systemMonitor
|
||||||
|
|
||||||
%package common
|
%package common
|
||||||
Summary: Files common to GNOME Shell Extensions
|
Summary: Files common to GNOME Shell Extensions
|
||||||
@ -139,12 +144,25 @@ This extension employs an algorithm (taken from KDE) for layouting the
|
|||||||
thumbnails in the overview that more closely reflects the positions and relative
|
thumbnails in the overview that more closely reflects the positions and relative
|
||||||
sizes of the actual windows, instead of using a fixed grid.
|
sizes of the actual windows, instead of using a fixed grid.
|
||||||
|
|
||||||
|
# TODO: uncomment when enabling systemMonitor
|
||||||
|
#%package systemMonitor
|
||||||
|
#Summary: Monitor your system status
|
||||||
|
#Group: User Interface/Desktops
|
||||||
|
#License: GPLv2+
|
||||||
|
#Requires: %{name}-common = %{version}-%{release}
|
||||||
|
#
|
||||||
|
#%description systemMonitor
|
||||||
|
#Monitor your system status
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gnome-shell-extensions
|
%setup -q -n gnome-shell-extensions
|
||||||
|
|
||||||
# Main.panel._userMenu renamed to Main.panel._statusmenu in GS 3.0.1; fix sent
|
# Main.panel._userMenu renamed to Main.panel._statusmenu in GS 3.0.1; fix sent
|
||||||
# to the alternative-status-menu extension author
|
# to the alternative-status-menu extension author
|
||||||
sed -i "s|Main\.panel\._userMenu|Main.panel._statusmenu|g" extensions/alternative-status-menu/extension.js
|
sed -i "s|Main\.panel\._userMenu|Main.panel._statusmenu|g" extensions/alternative-status-menu/extension.js
|
||||||
|
# The configure.ac still thinks that 3.0.1 is the newest version; changing it to 3.0 will make it work
|
||||||
|
# with any 3.0.x release
|
||||||
|
sed -i "s|3.0.1|3.0|g" configure.ac
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# since we build from a git checkout
|
# since we build from a git checkout
|
||||||
@ -176,6 +194,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files dock
|
%files dock
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dock.gschema.xml
|
||||||
%{_datadir}/gnome-shell/extensions/dock*
|
%{_datadir}/gnome-shell/extensions/dock*
|
||||||
|
|
||||||
%files windowsNavigator
|
%files windowsNavigator
|
||||||
@ -214,6 +233,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
|
||||||
%{_datadir}/gnome-shell/extensions/native-window-placement*
|
%{_datadir}/gnome-shell/extensions/native-window-placement*
|
||||||
|
|
||||||
|
# TODO: uncomment when enabling systemMonitor
|
||||||
|
#%files systemMonitor
|
||||||
|
#%defattr(-,root,root,-)
|
||||||
|
#%{_datadir}/gnome-shell/extensions/systemMonitor*
|
||||||
|
|
||||||
%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 || :
|
||||||
|
|
||||||
@ -232,7 +256,18 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
|
|||||||
%postun native-window-placement
|
%postun native-window-placement
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
|
|
||||||
|
%posttrans dock
|
||||||
|
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
|
||||||
|
|
||||||
|
%postun dock
|
||||||
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 28 2011 Timur Kristóf <venemo@fedoraproject.org> - 3.0.2-1.g63dd27cgit
|
||||||
|
- Update to a newer git snapshot
|
||||||
|
- Fix RHBZ bug #708230
|
||||||
|
- Enabled systemMonitor extension, but commented out since the requirements are not available
|
||||||
|
|
||||||
* Fri May 13 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.1-3.03660fgit
|
* Fri May 13 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.1-3.03660fgit
|
||||||
- Update to a newer git snapshot
|
- Update to a newer git snapshot
|
||||||
- Enable native-window-placement extension
|
- Enable native-window-placement extension
|
||||||
|
Loading…
Reference in New Issue
Block a user