c7a4179
Name:           gnome-shell
Owen W. Taylor e5d0dd9
Version:        2.91.93
2b16241
Release:        2%{?dist}
c7a4179
Summary:        Window management and application launching for GNOME
c7a4179
c7a4179
Group:          User Interface/Desktops
c7a4179
License:        GPLv2+
c7a4179
URL:            http://live.gnome.org/GnomeShell
eaa5fe2
#VCS:           git:git://git.gnome.org/gnome-shell
Owen W. Taylor d981d41
Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/2.91/%{name}-%{version}.tar.bz2
Colin Walters 44adb10
Owen W. Taylor d981d41
%define clutter_version 1.4.0
Colin Walters 4da0e71
%define gobject_introspection_version 0.10.1
Owen W. Taylor e5d0dd9
%define mutter_version 2.91.93
Colin Walters 44adb10
%define gjs_version 0.7.5
Owen W. Taylor 7676b4e
%define eds_version 2.91.6
b4adfe0
c7a4179
BuildRequires:  clutter-devel >= %{clutter_version}
c7a4179
BuildRequires:  dbus-glib-devel
c7a4179
BuildRequires:  desktop-file-utils
Owen W. Taylor 7676b4e
BuildRequires:  evolution-data-server-devel >= %{eds_version}
15f4104
BuildRequires:  gjs-devel >= %{gjs_version}
c7a4179
BuildRequires:  glib2-devel
c7a4179
BuildRequires:  gnome-menus-devel
3d69b00
BuildRequires:  gnome-desktop3-devel
dba2bb6
BuildRequires:  gobject-introspection >= %{gobject_introspection_version}
aa56f9f
BuildRequires:  upower-devel
aa56f9f
BuildRequires:  polkit-devel
9bc6559
BuildRequires:  telepathy-glib-devel
c546998
BuildRequires:  telepathy-logger-devel >= 0.2.6
c7a4179
# for screencast recorder functionality
c7a4179
BuildRequires:  gstreamer-devel
3d69b00
BuildRequires:  gtk3-devel
1f19584
BuildRequires:  intltool
Colin Walters 44adb10
BuildRequires:  libcanberra-devel
Colin Walters 44adb10
BuildRequires:  libcroco-devel
6c79901
# for barriers
6c79901
BuildRequires:  libXfixes-devel >= 5.0
c7a4179
# used in unused BigThemeImage
c7a4179
BuildRequires:  librsvg2-devel
c7a4179
BuildRequires:  mutter-devel >= %{mutter_version}
Colin Walters 44adb10
BuildRequires:  pulseaudio-libs-devel
Bill Nottingham b7f24b1
BuildRequires:  gnome-bluetooth-libs-devel >= 2.91
Bill Nottingham b7f24b1
BuildRequires:  gnome-bluetooth >= 2.91
361e55c
# Bootstrap requirements
361e55c
BuildRequires: gtk-doc gnome-common
c7a4179
# For %pre/%post usage of gconftool-2
c7a4179
Requires:       GConf2
ffb2154
# wrapper script uses to restart old GNOME session if run --replace
ffb2154
# from the command line
dba2bb6
Requires:       gobject-introspection >= %{gobject_introspection_version}
ffb2154
Requires:       gnome-python2-gconf
ffb2154
Requires:       pygobject2
c7a4179
# wrapper script uses to figure out available GLX capabilities
c7a4179
Requires:       glx-utils
c7a4179
# needed for loading SVG's via gdk-pixbuf
c7a4179
Requires:       librsvg2
15f4104
# needed as it is now split from Clutter
15f4104
Requires:       json-glib
c7a4179
Requires:       mutter >= %{mutter_version}
c7a4179
# These are needed to run gnome-shell nested Xephyr mode, but that's a
c7a4179
# developer-only thing and unlikely to be interesting for a normal user
c7a4179
#Requires:       xorg-x11-server-Xephyr
c7a4179
#Requires:       xorg-x11-xauth
6254d10
Requires:       upower
6254d10
Requires:       polkit >= 0.100
c7a4179
c7a4179
%description
c7a4179
GNOME Shell provides core user interface functions for the GNOME 3 desktop,
c7a4179
like switching to windows and launching applications. GNOME Shell takes
c7a4179
advantage of the capabilities of modern graphics hardware and introduces
c7a4179
innovative user interface concepts to provide a visually attractive and
c7a4179
easy to use experience.
c7a4179
c7a4179
%prep
15f4104
%setup -q
c7a4179
c7a4179
%build
361e55c
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
361e55c
 %configure --disable-static)
15f4104
make V=1 %{?_smp_mflags}
c7a4179
c7a4179
%install
c7a4179
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
c7a4179
make install DESTDIR=$RPM_BUILD_ROOT
c7a4179
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
c7a4179
c7a4179
rm -rf %{buildroot}/%{_libdir}/mutter/plugins/*.la
c7a4179
c7a4179
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell.desktop
c7a4179
1f19584
%find_lang %{name}
1f19584
1f19584
%files -f %{name}.lang
c7a4179
%defattr(-,root,root,-)
c7a4179
%doc COPYING README
c7a4179
%{_bindir}/gnome-shell
Owen W. Taylor 95dbc16
%{_bindir}/gnome-shell-extension-tool
83b664e
%{_datadir}/glib-2.0/schemas/*.xml
c7a4179
%{_datadir}/applications/gnome-shell.desktop
c7a4179
%{_datadir}/gnome-shell/
Owen W. Taylor 95dbc16
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
c7a4179
%{_libdir}/gnome-shell/
Owen W. Taylor 95dbc16
%{_libexecdir}/gnome-shell-calendar-server
74f824c
%{_libexecdir}/gnome-shell-perf-helper
c7a4179
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas
e40cec9
%{_mandir}/man1/%{name}.1.gz
c7a4179
c7a4179
%pre
c7a4179
if [ "$1" -gt 1 ]; then
c7a4179
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
c7a4179
  gconftool-2 --makefile-uninstall-rule \
c7a4179
    %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
c7a4179
    > /dev/null || :
c7a4179
fi
c7a4179
c7a4179
%preun
13b0e62
if [ "$1" -eq 0 ]; then
c7a4179
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
c7a4179
  gconftool-2 --makefile-uninstall-rule \
c7a4179
    %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
c7a4179
    > /dev/null || :
c7a4179
fi
cc6ffb0
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
c7a4179
c7a4179
%post
c7a4179
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
c7a4179
gconftool-2 --makefile-install-rule \
c7a4179
    %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
c7a4179
  > /dev/null || :
c7a4179
cc6ffb0
%posttrans
cc6ffb0
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
cc6ffb0
c7a4179
%changelog
2b16241
* Tue Mar 29 2011 Brian Pepple <bpepple@fedoraproject.org> - 2.91.93-2
2b16241
- Rebuild for new tp-logger
2b16241
14ddacd
* Mon Mar 28 2011 Owen Taylor <otaylor@redhat.com> - 2.91.93-1
14ddacd
- Update to 2.91.93.
14ddacd
2722198
* Fri Mar 25 2011 Ray Strode <rstrode@redhat.com> 2.91.92-3
2722198
- Adjustments for More nm-client api changes.
7e9be7c
- Fix VPN indicator
2722198
Christopher Aillon a02f481
* Thu Mar 24 2011 Christopher Aillon <caillon@redhat.com> - 2.91.92-2
Christopher Aillon a02f481
- Make activating vpn connections work from the shell indicator
Christopher Aillon a02f481
7077aff
* Wed Mar 23 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.92-1
7077aff
- Update to 2.91.92
7077aff
eaa5fe2
* Wed Mar 16 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.91-2
eaa5fe2
- Fix alt-tab behavior on when primary display is not leftmost (# 683932)
eaa5fe2
Owen W. Taylor 95dbc16
* Tue Mar  8 2011 Owen Taylor <otaylor@redhat.com> - 2.91.91-1
Owen W. Taylor 95dbc16
- Update to 2.91.91
Owen W. Taylor 95dbc16
6254d10
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-2
6254d10
- Require upower and polkit at runtime
6254d10
aa56f9f
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
aa56f9f
- Update to 2.91.90
aa56f9f
e6698dd
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-6
e6698dd
- Rebuild against newer gtk
e6698dd
ded819b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.6-5
ded819b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ded819b
Bill Nottingham b7f24b1
* Thu Feb  3 2011 Bill Nottingham <notting@redhat.com> - 2.91.6-4
Bill Nottingham b7f24b1
- buildrequire gnome-bluetooth to fix bluetooth status icon (#674874)
Bill Nottingham b7f24b1
ac0d18b
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-3
ac0d18b
- Rebuild against newer gtk
ac0d18b
Owen W. Taylor 7676b4e
* Tue Feb  1 2011 Owen Taylor <otaylor@redhat.com> - 2.91.6-2
Owen W. Taylor 7676b4e
- Build-requires evolution-data-server-devel
Owen W. Taylor 7676b4e
Owen W. Taylor f5f29bb
* Tue Feb  1 2011 Owen Taylor <otaylor@redhat.com> - 2.91.6-1
Owen W. Taylor f5f29bb
- Update to 2.91.6
Owen W. Taylor f5f29bb
95ab158
* Thu Jan 13 2011 Mattihas Clasen <mclasen@redhat.com> - 2.91.5-3
95ab158
- Drop desktop-effects dependency
95ab158
Colin Walters 4da0e71
* Wed Jan 12 2011 Colin Walters <walters@verbum.org> - 2.91.5-2
Colin Walters 4da0e71
- BR latest g-i, handles flags as arguments better
Colin Walters 4da0e71
Colin Walters 44adb10
* Tue Jan 11 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.5-1
Colin Walters 44adb10
- Update to 2.91.5
Colin Walters 44adb10
Colin Walters 44adb10
* Sat Jan  8 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.4-1
Colin Walters 44adb10
- Update to 2.91.4
Colin Walters 44adb10
- Rebuild against new gtk
Colin Walters 44adb10
Colin Walters 44adb10
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.3-2
Colin Walters 44adb10
- Rebuild aginst new gtk
Colin Walters 44adb10
Colin Walters 44adb10
* Mon Nov 29 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-1
Colin Walters 44adb10
- Update to 2.91.3
Colin Walters 44adb10
Colin Walters 44adb10
* Thu Nov 18 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-3
Colin Walters 44adb10
- Add another memory-management crasher fix from upstream
Colin Walters 44adb10
Colin Walters 44adb10
* Mon Nov 15 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-2
Colin Walters 44adb10
- Add a patch from upstream fixing a memory-management crasher
Colin Walters 44adb10
Colin Walters 44adb10
* Tue Nov  9 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-1
Colin Walters 44adb10
- Update to 2.91.2
Colin Walters 44adb10
Colin Walters 44adb10
* Mon Nov  1 2010 Owen Taylor <otaylor@redhat.com> - 2.91.1-1
Colin Walters 44adb10
- Update to 2.91.1
Colin Walters 44adb10
- Add libcroco-devel to BuildRequires, apparently it was getting
Colin Walters 44adb10
  pulled in indirectly before
Colin Walters 44adb10
- Add libcanberra-devel and pulseaudio-libs-devel BuildRequires
Owen W. Taylor 6f19743
Owen W. Taylor d981d41
* Mon Oct  4 2010 Owen Taylor <otaylor@redhat.com> - 2.91.0-1
Owen W. Taylor d981d41
- Update to 2.91.0
Owen W. Taylor d981d41
- Remove patch to disable VBlank syncing
Owen W. Taylor d981d41
742b85b
* Thu Aug 12 2010 Colin Walters <walters@verbum.org> - 2.31.5-7
Colin Walters 01930dc
- Add patch to disable vblank syncing
Colin Walters 01930dc
cc6ffb0
* Tue Jul 13 2010 Colin Walters <walters@verbum.org> - 2.31.5-5
cc6ffb0
- Run glib-compile-schemas
cc6ffb0
83b664e
* Tue Jul 13 2010 Colin Walters <walters@megatron> - 2.31.5-4
83b664e
- Bless stuff in files section
83b664e
86278de
* Tue Jul 13 2010 Colin Walters <walters@verbum.org> - 2.31.5-3
86278de
- Axe gnome-desktop-devel
86278de
3d69b00
* Tue Jul 13 2010 Adel Gadllah <adel.gadllah@gmail.com> - 2.31.5-2
3d69b00
- BuildRequire gnome-desktop3-devel, gtk3
3d69b00
361e55c
* Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 2.31.5-1
361e55c
- New upstream version
361e55c
- Drop rpath goop, shouldn't be necessary any more
361e55c
5adedde
* Fri Jun 25 2010 Colin Walters <walters@megatron> - 2.31.2-3
5adedde
- Drop gir-repository-devel build dependency
5adedde
e40cec9
* Fri May 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-2
e40cec9
- Added new version requirements for dependencies based on upstream releases
e40cec9
- Added new file listings for gnome-shell-clock-preferences binary and .desktop
e40cec9
- Added gnome-shell man page file listing
e40cec9
c8daa76
* Wed May 26 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-1
c8daa76
- New upstream release
c8daa76
15f4104
* Fri Mar 26 2010 Colin Walters <walters@verbum.org> - 2.29.1-3
15f4104
- Specify V=1 for build, readd smp_mflags since parallel is fixed upstream
15f4104
15f4104
* Thu Mar 25 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.29.1-2
15f4104
- Bumped for new version of mutter and clutter
15f4104
- Added version requirement to gjs-devel because of dependency of build
15f4104
15f4104
* Wed Mar 24 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.29.1-1
15f4104
- Update to latest version 2.29.1
15f4104
15f4104
* Sun Feb 21 2010 Bastien Nocera <bnocera@redhat.com> 2.28.1-0.2.20100128git
15f4104
- Require json-glib
15f4104
- Rebuild for new clutter with json split out
15f4104
- Fix deprecation in COGL
15f4104
6267bc7
* Thu Jan 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.28.1-0.1.20100128git
6267bc7
- New git snapshot
6267bc7
- Fixed Version for alphatag use
ba81370
bc8a420
* Fri Jan 15 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20101015git-1
bc8a420
- Added dependency on a git build of gobject-introspect to solve some breakage
bc8a420
- Also went ahead and made a new git tarball
bc8a420
c15ff66
* Tue Jan 12 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20100112git-1
c15ff66
- New git snapshot
c15ff66
2f35f2d
* Tue Dec 07 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-5
2f35f2d
- Added libtool, glib-gettext for the libtoolize dep of git snapshot
2f35f2d
421a681
* Mon Dec 07 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-4
421a681
- Added gnome-common needed by autogen.sh in git snapshot build
421a681
b4adfe0
* Sun Dec 06 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-3
b4adfe0
- Added the autotools needed to build the git snapshot to the build requires
b4adfe0
f1784ae
* Sun Dec 06 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-2
f1784ae
- Fixed the setup naming issue with the git snapshot directory naming
f1784ae
fd0f627
* Sun Dec 06 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-1
fd0f627
- Update to git snapshot on 20091206
fd0f627
b6bbc7f
* Wed Oct  7 2009 Owen Taylor <otaylor@redhat.com> - 2.28.0-2
b6bbc7f
- Update to 2.28.0
b6bbc7f
3d253f8
* Tue Sep 15 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-1
3d253f8
- Update to 2.27.3
3d253f8
dba2bb6
* Fri Sep  4 2009 Owen Taylor <otaylor@redhat.com> - 2.27.2-2
dba2bb6
- Test for gobject-introspection version should be >= not >
dba2bb6
c571d67
* Fri Sep  4 2009 Owen Taylor <otaylor@redhat.com> - 2.27.2-1
c571d67
- Update to 2.27.2
c571d67
- Add an explicit dep on gobject-introspection 0.6.5 which is required 
c571d67
  for the new version
c571d67
13b0e62
* Sat Aug 29 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-4
13b0e62
- Fix GConf %%preun script to properly be for package removal
13b0e62
4113d1a
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-3
4113d1a
- Replace libgnomeui with gnome-desktop in BuildRequires
4113d1a
1f19584
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-2
1f19584
- BuildRequire intltool
1f19584
- Add find_lang
1f19584
ffb2154
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-1
ffb2154
- Update to 2.27.1
ffb2154
- Update Requires, add desktop-effects
ffb2154
c7a4179
* Wed Aug 12 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-4
c7a4179
- Add an explicit dependency on GConf2 for pre/post
c7a4179
c7a4179
* Tue Aug 11 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-3
c7a4179
- Add missing BuildRequires on gir-repository-devel
c7a4179
c7a4179
* Tue Aug 11 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-2
c7a4179
- Temporarily use a non-parallel-build until gnome-shell is fixed
c7a4179
c7a4179
* Mon Aug 10 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-1
c7a4179
- Initial version