2009-08-05 00:44:20 +02:00
#
2011-01-17 19:08:15 +01:00
# spec file for package gnome-shell
2009-08-05 00:44:20 +02:00
#
2015-03-19 15:37:07 +01:00
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
2009-08-05 00:44:20 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-02-25 15:39:20 +01:00
2009-08-05 00:44:20 +02:00
Name : gnome-shell
2015-11-18 19:28:49 +01:00
Version : 3.18.3
2011-12-21 15:56:54 +01:00
Release : 0
2010-09-13 14:11:13 +02:00
Summary : GNOME Shell
2011-12-21 15:56:54 +01:00
License : GPL-2.0+
2010-09-13 14:11:14 +02:00
Group : System/GUI/GNOME
2011-01-17 15:12:43 +01:00
Url : http://live.gnome.org/GnomeShell
2015-09-22 10:24:14 +02:00
Source : http://download.gnome.org/sources/gnome-shell/3.18/%{name} -%{version} .tar.xz
2014-10-05 19:36:35 +02:00
# PATCH-FIX-UPSTREAM gnome-shell-private-connection.patch bnc#751211 bgo#646187 dimstar@opensuse.org -- create private connections if the user is not authorized
2013-03-13 23:41:01 +01:00
Patch1 : gnome-shell-private-connection.patch
2015-12-28 15:31:06 +01:00
# PATCH-FIX-UPSTREAM gnome-shell-logindialog-fixes.patch zaitor@opensuse.org -- 2 commits from upstream fixing misc logindialog issues.
Patch2 : gnome-shell-logindialog-fixes.patch
# PATCH-FIX-UPSTREAM gnome-shell-alt-tab-hdpi-fixes.patch zaitor@opensuse.org -- Fix tiny previews in alt-tab when using hidpi screens.
Patch3 : gnome-shell-alt-tab-hdpi-fixes.patch
2012-11-18 16:23:08 +01:00
BuildRequires : docbook-xsl-stylesheets
2014-04-03 22:51:33 +02:00
BuildRequires : gcc-c++
2010-09-13 14:11:14 +02:00
BuildRequires : intltool
2011-02-17 13:11:02 +01:00
BuildRequires : translation-update-upstream
2010-09-13 14:11:14 +02:00
BuildRequires : update-desktop-files
2012-11-18 16:23:08 +01:00
BuildRequires : xsltproc
2015-03-19 15:37:07 +01:00
BuildRequires : python(abi) >= 3
2011-04-25 16:56:38 +02:00
# needed for directory ownership
BuildRequires : dbus-1
2012-09-08 00:20:57 +02:00
BuildRequires : pkgconfig(atk-bridge-2.0)
2015-03-19 15:37:07 +01:00
BuildRequires : pkgconfig(clutter-1.0) >= 1.21.5
2013-06-23 16:14:59 +02:00
BuildRequires : pkgconfig(gcr-base-3) >= 3.7.5
2011-07-29 08:56:28 +02:00
BuildRequires : pkgconfig(gdk-pixbuf-2.0)
2015-09-04 13:31:55 +02:00
BuildRequires : pkgconfig(gio-2.0) >= 2.45.3
2014-04-03 22:51:33 +02:00
BuildRequires : pkgconfig(gjs-1.0) >= 1.39.0
2013-06-23 16:14:59 +02:00
BuildRequires : pkgconfig(gnome-bluetooth-1.0) >= 3.9.0
2013-03-13 23:41:01 +01:00
BuildRequires : pkgconfig(gnome-desktop-3.0) >= 3.7.90
2012-09-21 21:21:31 +02:00
BuildRequires : pkgconfig(gnome-keybindings)
2015-09-17 14:58:19 +02:00
BuildRequires : pkgconfig(gobject-introspection-1.0) >= 1.45.4
2013-03-13 23:41:01 +01:00
BuildRequires : pkgconfig(gsettings-desktop-schemas) >= 3.7.4
2012-09-08 00:20:57 +02:00
BuildRequires : pkgconfig(gstreamer-1.0) >= 0.11.92
BuildRequires : pkgconfig(gstreamer-base-1.0)
2015-03-19 15:37:07 +01:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.15.0
2011-09-18 10:43:37 +02:00
BuildRequires : pkgconfig(json-glib-1.0) >= 0.13.2
2010-11-17 14:17:32 +01:00
BuildRequires : pkgconfig(libcanberra)
2013-03-13 23:41:01 +01:00
BuildRequires : pkgconfig(libcanberra-gtk)
BuildRequires : pkgconfig(libcroco-0.6) >= 0.6.8
2012-09-08 00:20:57 +02:00
BuildRequires : pkgconfig(libedataserver-1.2) >= 3.5.3
BuildRequires : pkgconfig(libgnome-menu-3.0) >= 3.5.3
2015-10-19 12:12:42 +02:00
BuildRequires : pkgconfig(libmutter) >= 3.18.1
2011-09-05 10:17:07 +02:00
BuildRequires : pkgconfig(libnm-glib)
2013-05-05 14:00:27 +02:00
BuildRequires : pkgconfig(libnm-gtk) >= 0.9.8
BuildRequires : pkgconfig(libnm-util) >= 0.9.8
2013-03-13 23:41:01 +01:00
BuildRequires : pkgconfig(libpulse) >= 2.0
2010-11-17 14:17:32 +01:00
BuildRequires : pkgconfig(libpulse-mainloop-glib)
2013-03-13 23:41:01 +01:00
BuildRequires : pkgconfig(libsecret-unstable)
2011-07-29 08:56:28 +02:00
BuildRequires : pkgconfig(libsoup-2.4)
2011-08-08 16:38:09 +02:00
BuildRequires : pkgconfig(libstartup-notification-1.0) >= 0.11
2015-09-04 13:31:55 +02:00
BuildRequires : pkgconfig(libsystemd)
2012-02-25 15:39:20 +01:00
BuildRequires : pkgconfig(libsystemd-daemon)
BuildRequires : pkgconfig(libsystemd-login)
2011-08-08 16:38:09 +02:00
BuildRequires : pkgconfig(polkit-agent-1) >= 0.100
2012-02-25 15:39:20 +01:00
BuildRequires : pkgconfig(telepathy-glib) >= 0.17.5
2011-08-08 16:38:09 +02:00
BuildRequires : pkgconfig(telepathy-logger-0.2) >= 0.2.4
2013-08-22 11:46:38 +02:00
BuildRequires : pkgconfig(xtst)
2011-02-13 23:56:07 +01:00
Requires : gdk-pixbuf-loader-rsvg
2009-10-08 03:03:21 +02:00
Requires : gnome-session
2011-07-26 00:05:57 +02:00
# For a GSettings schema and power system icon
2011-01-17 15:12:43 +01:00
Requires : gnome-settings-daemon
Requires : gsettings-desktop-schemas
2011-07-02 12:32:04 +02:00
## Finally, dependencies for session services that are needed for system icons and the user menu
# bluetooth system icon
Requires : gnome-bluetooth
# "System settings" menu item
Requires : gnome-control-center
2011-07-20 10:18:58 +02:00
# "High Contrast" in accessibility status icon
Requires : gnome-themes-accessibility
2011-10-26 16:34:20 +02:00
# 11.4 doesn't have typelib dependency
%if 0%{?suse_version} < 1210
Requires : libaccountsservice0
Requires : libcaribou0
Requires : libgdmgreeter1
%endif
2011-09-18 10:43:37 +02:00
Recommends: %{name} -browser-plugin
2015-03-19 15:37:07 +01:00
Recommends: %{name} -calendar
2010-09-13 14:11:14 +02:00
Recommends: %{name} -lang
2013-05-01 20:48:20 +02:00
# The dateTime applet in the panel launches gnome-clocks upon user request
Recommends: gnome-clocks
2012-02-29 08:19:17 +01:00
Recommends: gnome-shell-search-provider-documents
2015-03-19 15:37:07 +01:00
# network system icon
Recommends: NetworkManager-gnome
2009-08-05 00:44:20 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-09-13 14:11:14 +02:00
%glib2_gsettings_schema_requires
2009-08-05 00:44:20 +02:00
%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.
2014-04-15 17:28:04 +02:00
%package wayland
Summary : GNOME Shell -- Wayland session
Group : System/GUI/GNOME
Requires : %{name} = %{version}
Requires : gnome-settings-daemon
%description wayland
This package contains the definition of the default GNOME Shell on Wayland.
2011-12-21 15:56:54 +01:00
%package devel
Summary : GNOME Shell -- Development Files
Group : Development/Libraries/GNOME
Requires : %{name} = %{version}
%description devel
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.
2011-09-18 10:43:37 +02:00
%package browser-plugin
Summary : GNOME Shell Browser Plugin for the Extensions Repository
Group : System/GUI/GNOME
Requires : %{name} = %{version}
Supplements: packageand(%{name} :MozillaFirefox)
%description browser-plugin
The GNOME Shell Browser Plugin provides integration with gnome-shell
and the corresponding extensions repository. The plugin allows the
extensions repository to provide good integration, letting the website
know which extensions are enabled and disabled, and allowing the website
to enable, disable and install them.
2015-03-19 15:37:07 +01:00
%package calendar
Summary : Evolution Calendar support for GNOME Shell
Group : System/GUI/GNOME
Requires : %{name} = %{version}
# The clock / calendar applet in the panel requires e-d-s (bnc#795793).
Requires : evolution-data-server
Supplements: packageand(%{name} :evolution-data-server)
%description calendar
This package adds support for Evolution Calendar, such as appointments
into GNOME Shell calendar.
2009-09-04 00:55:13 +02:00
%lang_package
2009-08-05 00:44:20 +02:00
%prep
2009-08-17 15:33:39 +02:00
%setup -q
2014-10-05 19:36:35 +02:00
%patch1 -p1
2015-12-28 15:31:06 +01:00
%patch2 -p1
%patch3 -p1
2011-02-17 13:11:02 +01:00
translation-update-upstream
2009-08-05 00:44:20 +02:00
%build
2011-09-18 10:43:37 +02:00
export BROWSER_PLUGIN_DIR=%{_libdir} /browser-plugins
2009-08-05 00:44:20 +02:00
%configure \
2011-04-25 16:56:38 +02:00
--disable-static \
--libexecdir=%{_libexecdir} /%{name} \
2012-09-08 00:31:27 +02:00
--enable-compile-warnings=no
2011-04-25 16:56:38 +02:00
%__make %{?_smp_mflags} V=1
2009-08-05 00:44:20 +02:00
%install
%makeinstall
2010-09-13 14:11:14 +02:00
find %{buildroot} -type f -name " * . l a " -delete -print
2011-04-28 23:11:09 +02:00
# This is the directory where extensions get installed
install -d %{buildroot} %{_datadir} /gnome-shell/extensions
2012-02-25 15:39:20 +01:00
# This is the directory where search providers get installed
install -d %{buildroot} %{_datadir} /gnome-shell/search-providers
2011-02-13 23:56:07 +01:00
%find_lang %{name} %{?no_lang_C}
2009-08-17 15:33:39 +02:00
%suse_update_desktop_file %{name}
2014-08-23 13:52:08 +02:00
%suse_update_desktop_file gnome-shell-wayland
2012-02-08 20:55:31 +01:00
%suse_update_desktop_file gnome-shell-extension-prefs
2013-10-21 18:59:33 +02:00
# Work around race, as reported in bnc#844891 & bgo#709313.
install -d %{buildroot} %{_datadir} /gnome-shell/modes
2009-08-05 00:44:20 +02:00
%clean
2010-09-13 14:11:14 +02:00
rm -rf %{buildroot}
2009-08-05 00:44:20 +02:00
2010-09-13 14:11:14 +02:00
%post
%glib2_gsettings_schema_post
2011-02-13 23:56:07 +01:00
%desktop_database_post
2010-09-13 14:11:14 +02:00
%postun
%glib2_gsettings_schema_postun
2011-02-13 23:56:07 +01:00
%desktop_database_postun
2010-09-13 14:11:14 +02:00
2011-11-28 09:19:29 +01:00
%files
2009-08-05 00:44:20 +02:00
%defattr (-,root,root)
2011-09-18 10:43:37 +02:00
%doc COPYING README NEWS
2011-01-17 15:12:43 +01:00
%{_bindir} /gnome-shell
2012-02-08 20:55:31 +01:00
%{_bindir} /gnome-shell-extension-prefs
2015-03-19 15:37:07 +01:00
%exclude %{_libexecdir} /gnome-shell/gnome-shell-calendar-server
2011-01-17 15:12:43 +01:00
%{_libexecdir} /gnome-shell/
2009-08-05 00:44:20 +02:00
%if "%{_libdir}" != "%{_libexecdir}"
2011-01-17 15:12:43 +01:00
%{_libdir} /gnome-shell/
2009-08-05 00:44:20 +02:00
%endif
2012-01-24 12:21:29 +01:00
%dir %{_datadir} /GConf
%dir %{_datadir} /GConf/gsettings
%{_datadir} /GConf/gsettings/gnome-shell-overrides.convert
2011-01-17 15:12:43 +01:00
%{_datadir} /applications/gnome-shell.desktop
2012-02-08 20:55:31 +01:00
%{_datadir} /applications/gnome-shell-extension-prefs.desktop
2014-08-23 13:52:08 +02:00
%{_datadir} /applications/org.gnome.Shell.PortalHelper.desktop
2013-05-31 20:36:55 +02:00
%{_datadir} /dbus-1/interfaces/org.gnome.Shell.Screencast.xml
2013-03-13 23:41:01 +01:00
%{_datadir} /dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
2012-02-25 15:39:20 +01:00
%{_datadir} /dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
2013-03-13 23:41:01 +01:00
%{_datadir} /dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
2011-07-29 08:56:28 +02:00
%{_datadir} /dbus-1/services/org.gnome.Shell.HotplugSniffer.service
2014-08-23 13:52:08 +02:00
%{_datadir} /dbus-1/services/org.gnome.Shell.PortalHelper.service
2010-09-13 14:11:14 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.shell.gschema.xml
2012-09-21 21:21:31 +02:00
%{_datadir} /gnome-control-center/keybindings/50-gnome-shell-system.xml
2009-10-08 03:03:21 +02:00
%{_datadir} /gnome-shell/
2011-01-17 15:12:43 +01:00
%doc %{_mandir} /man?/gnome-shell.*
2011-12-21 15:56:54 +01:00
2014-04-15 17:28:04 +02:00
%files wayland
%defattr (-,root,root)
%{_datadir} /applications/gnome-shell-wayland.desktop
2011-12-21 15:56:54 +01:00
%files devel
%defattr (-,root,root)
2015-03-19 15:37:07 +01:00
%{_bindir} /gnome-shell-extension-tool
%{_bindir} /gnome-shell-perf-tool
2011-12-21 15:56:54 +01:00
%doc %{_datadir} /gtk-doc/html/st/
%doc %{_datadir} /gtk-doc/html/shell/
2009-08-05 00:44:20 +02:00
2011-09-18 10:43:37 +02:00
%files browser-plugin
%defattr (-,root,root)
%doc browser-plugin/README
%{_libdir} /browser-plugins/libgnome-shell-browser-plugin.*
2015-03-19 15:37:07 +01:00
%files calendar
%defattr (-,root,root)
%{_datadir} /applications/evolution-calendar.desktop
%{_libexecdir} /gnome-shell/gnome-shell-calendar-server
%{_datadir} /dbus-1/services/org.gnome.Shell.CalendarServer.service
2009-09-04 00:55:13 +02:00
%files lang -f %{name}.lang
2009-08-05 00:44:20 +02:00
%changelog