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
#
2013-01-13 15:13:44 +01:00
# Copyright (c) 2013 SUSE LINUX Products 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
2013-07-31 20:56:33 +02:00
Version : 3.9.5
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
2013-05-05 14:00:27 +02:00
Source : http://download.gnome.org/sources/gnome-shell/3.9/%{name} -%{version} .tar.xz
2013-03-13 23:41:01 +01:00
# PATCH-NEEDS-REBASE PATCH-FIX-UPSTREAM gnome-shell-private-connection.patch bnc#751211 bgo#646187 dimstar@opensuse.org -- create private connections if the user is not authorized
Patch1 : gnome-shell-private-connection.patch
2012-11-18 16:23:08 +01:00
BuildRequires : docbook-xsl-stylesheets
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
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)
2013-03-13 23:41:01 +01:00
BuildRequires : pkgconfig(caribou-1.0) >= 0.4.8
BuildRequires : pkgconfig(clutter-1.0) >= 1.13.4
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)
2013-05-05 14:00:27 +02:00
BuildRequires : pkgconfig(gio-2.0) >= 2.37.0
2012-09-08 00:20:57 +02:00
BuildRequires : pkgconfig(gjs-1.0) >= 1.33.2
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)
2011-08-08 16:38:09 +02:00
BuildRequires : pkgconfig(gobject-introspection-1.0) >= 0.10.1
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)
2012-01-24 12:21:29 +01:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.3.9
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
2013-07-31 20:56:33 +02:00
BuildRequires : pkgconfig(libmutter) >= 3.9.5
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
2012-02-25 15:39:20 +01:00
BuildRequires : pkgconfig(libsystemd-daemon)
BuildRequires : pkgconfig(libsystemd-login)
2010-09-13 14:11:14 +02:00
BuildRequires : pkgconfig(mutter-plugins)
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
2010-09-13 14:11:14 +02:00
BuildRequires : pkgconfig(xfixes)
2013-01-13 15:13:44 +01:00
# The clock / calendar applet in the panel requires e-d-s (bnc#795793).
Requires : evolution-data-server
2011-02-13 23:56:07 +01:00
Requires : gdk-pixbuf-loader-rsvg
Requires : gnome-icon-theme-symbolic
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-07-02 12:32:04 +02:00
# network system icon
Requires : NetworkManager-gnome
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
2010-09-13 14:11:14 +02:00
Recommends: %{name} -lang
2012-02-29 08:15:52 +01:00
# Wanda makes use of this.
Recommends: fortune
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
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.
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.
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
2013-03-13 23:41:01 +01:00
#patch1 -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} \
2013-02-11 21:39:40 +01:00
--with-nmlibexecdir=%{_libexecdir} \
2010-09-13 14:11:14 +02:00
--disable-schemas-install \
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}
2012-02-08 20:55:31 +01:00
%suse_update_desktop_file gnome-shell-extension-prefs
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
2011-04-25 16:56:38 +02:00
%{_bindir} /gnome-shell-extension-tool
2012-09-08 00:20:57 +02:00
%{_bindir} /gnome-shell-perf-tool
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
2012-09-08 00:20:57 +02:00
%{_datadir} /applications/evolution-calendar.desktop
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
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-04-25 17:09:45 +02:00
%{_datadir} /dbus-1/services/org.gnome.Shell.CalendarServer.service
2011-07-29 08:56:28 +02:00
%{_datadir} /dbus-1/services/org.gnome.Shell.HotplugSniffer.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-screenshot.xml
%{_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
%files devel
%defattr (-,root,root)
%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.*
2009-09-04 00:55:13 +02:00
%files lang -f %{name}.lang
2009-08-05 00:44:20 +02:00
%changelog