%define xulrunner_version %(rpm -q --queryformat %%{VERSION} xulrunner) Summary: Next generation GNOME desktop shell Name: gnome-shell Version: 3.1.4 Release: %mkrel 2 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.xz Source1: gnome-shell-session Patch0: gnome-shell-3.0.2-check-pointer.patch License: GPLv2+ and LGPLv2+ Group: Graphical desktop/GNOME Url: http://live.gnome.org/GnomeShell BuildRequires: mutter-devel >= 3.0.0 BuildRequires: gjs-devel >= 0.7.11 BuildRequires: libgstreamer-plugins-base-devel >= 0.10.16 BuildRequires: clutter-devel >= 1.5.15 BuildRequires: gnome-menus-devel BuildRequires: dbus-glib-devel BuildRequires: gnome-desktop3-devel >= 2.90.0 BuildRequires: gnome-bluetooth-devel BuildRequires: libtelepathy-glib-devel >= 0.15.3 BuildRequires: libtelepathy-logger-devel >= 0.2.4 BuildRequires: gtk+3.0-devel >= 3.0.0 BuildRequires: evolution-data-server-devel >= 1.2.0 BuildRequires: gsettings-desktop-schemas-devel >= 0.1.7 BuildRequires: intltool BuildRequires: polkit-1-devel BuildRequires: libcanberra-devel BuildRequires: pulseaudio-devel BuildRequires: gnutls-devel BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11 Requires: mutter Requires: gjs Requires: gir-repository Requires: glxinfo Requires: gnome-session Requires: gnome-icon-theme-symbolic Requires: %{_lib}xulrunner%{xulrunner_version} # For a GSettings schema Requires: gnome-settings-daemon Requires: gsettings-desktop-schemas Requires: gnome-python-gconf Requires: python-gobject Requires: packagekit-gtk3-module Obsoletes: gnome-applet-netspeed < 3.0.2 %description The GNOME Shell redefines user interactions with the GNOME desktop. In particular, it offers new paradigms for launching applications, accessing documents, and organizing open windows in GNOME. Later, it will introduce a new applets eco-system and offer new solutions for other desktop features, such as notifications and contacts management. The GNOME Shell is intended to replace functions handled by the GNOME Panel and by the window manager in previous versions of GNOME. The GNOME Shell has rich visual effects enabled by new graphical technologies. %prep %setup -q %apply_patches %build export LD_LIBRARY_PATH=%xulrunner_mozappdir %configure2_5x \ --enable-compile-warnings=no \ --disable-static \ --disable-schemas-install %make %install rm -rf %{buildroot} %makeinstall_std %find_lang %name mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart rm -rf %{buildroot}/%{_libdir}/mutter/plugins/*.la install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ %clean rm -rf %{buildroot} %define schemas gnome-shell %preun %preun_uninstall_gconf_schemas %schemas %files -f %name.lang %defattr(-,root,root) %doc README %{_sysconfdir}/gconf/schemas/gnome-shell.schemas %{_bindir}/* %{_libdir}/%{name} %{_libexecdir}/gnome-shell-calendar-server %{_libexecdir}/gnome-shell-perf-helper %{_libexecdir}/gnome-shell-hotplug-sniffer %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_mandir}/man1/%{name}.1*