1 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
2 |
|
3 |
%define mutter_ver %(echo %{version}|cut -d. -f1,2,3) |
4 |
# To make GNOME Shell extensions load, we need to get rid of DT_RUNPATH on /usr/bin/gnome-shell |
5 |
# (see glibc bug #13945, GNOME bug #670477, Mageia bug #4523) |
6 |
%define _disable_ld_enable_new_dtags 1 |
7 |
|
8 |
Summary: Core user interface for the GNOME 3 desktop |
9 |
Name: gnome-shell |
10 |
Version: 3.14.3 |
11 |
Release: %mkrel 7 |
12 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
13 |
Source1: gnome-shell-session |
14 |
Patch1: 0001-screenShield-Allow-for-custom-backgrounds-on-lock-lo.patch |
15 |
Patch2: gnome-shell-system-Fix-visibility-of-suspend-button.patch |
16 |
Patch3: gnome-shell-Refresh-all-background-instances-after-suspend-if-needed.patch |
17 |
Patch4: gnome-shell-authPrompt-Fix-hang-if-user-types-password-really-fast.patch |
18 |
Patch5: gnome-shell-Delay-caribou-daemon-invocation.patch |
19 |
Patch100: gnome-shell-3.6.3.1-fix-evolution-calendar.patch |
20 |
|
21 |
License: GPLv2+ and LGPLv2+ |
22 |
Group: Graphical desktop/GNOME |
23 |
Url: https://wiki.gnome.org/GnomeShell |
24 |
BuildRequires: pkgconfig(clutter-1.0) |
25 |
BuildRequires: pkgconfig(clutter-glx-1.0) >= 1.7.5 |
26 |
BuildRequires: pkgconfig(clutter-x11-1.0) >= 1.7.5 |
27 |
BuildRequires: pkgconfig(folks) >= 0.5.2 |
28 |
BuildRequires: pkgconfig(gcr-3) >= 3.8.0 |
29 |
BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
30 |
BuildRequires: pkgconfig(gdk-x11-3.0) |
31 |
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.31.6 |
32 |
BuildRequires: pkgconfig(gjs-internals-1.0) >= 1.29.18 |
33 |
BuildRequires: pkgconfig(gl) |
34 |
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.1.0 |
35 |
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.90.0 |
36 |
BuildRequires: pkgconfig(gnome-keyring-1) |
37 |
BuildRequires: pkgconfig(gnome-keybindings) |
38 |
BuildRequires: pkgconfig(gobject-2.0) |
39 |
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1 |
40 |
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.1.7 |
41 |
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.92 |
42 |
BuildRequires: pkgconfig(gstreamer-base-1.0) |
43 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.9 |
44 |
BuildRequires: pkgconfig(gtk-doc) |
45 |
BuildRequires: pkgconfig(libcanberra) |
46 |
BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.2 |
47 |
BuildRequires: pkgconfig(libecal-1.2) >= 2.32.0 |
48 |
BuildRequires: pkgconfig(libedataserver-1.2) >= 1.2.0 |
49 |
BuildRequires: pkgconfig(libgnome-menu-3.0) |
50 |
BuildRequires: pkgconfig(libmutter) >= %{mutter_ver} |
51 |
# ovitters: experimental Wayland |
52 |
BuildRequires: pkgconfig(libnm-glib) |
53 |
BuildRequires: pkgconfig(libnm-util) |
54 |
BuildRequires: pkgconfig(libnm-gtk) |
55 |
BuildRequires: pkgconfig(libpulse) |
56 |
BuildRequires: pkgconfig(libpulse-mainloop-glib) |
57 |
BuildRequires: pkgconfig(libsoup-2.4) |
58 |
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11 |
59 |
BuildRequires: pkgconfig(libxml-2.0) |
60 |
BuildRequires: pkgconfig(polkit-agent-1) >= 0.100 |
61 |
BuildRequires: pkgconfig(libsystemd-login) |
62 |
BuildRequires: pkgconfig(libsystemd-daemon) |
63 |
BuildRequires: pkgconfig(telepathy-glib) >= 0.17.5 |
64 |
BuildRequires: pkgconfig(telepathy-logger-0.2) >= 0.2.4 |
65 |
BuildRequires: pkgconfig(x11) |
66 |
BuildRequires: pkgconfig(xfixes) |
67 |
BuildRequires: pkgconfig(caribou-1.0) |
68 |
BuildRequires: intltool >= 0.40.0 |
69 |
BuildRequires: gnome-common |
70 |
BuildRequires: gettext-devel |
71 |
Requires: mutter >= %{mutter_ver} |
72 |
Requires: gjs |
73 |
Requires: glxinfo |
74 |
Requires: gnome-session |
75 |
Requires: adwaita-icon-theme |
76 |
# For a GSettings schema |
77 |
Requires: gnome-settings-daemon |
78 |
Requires: gsettings-desktop-schemas >= 3.9.2 |
79 |
Requires: packagekit-gtk3-module |
80 |
Requires: telepathy-mission-control |
81 |
Requires: gnome-control-center |
82 |
# mga#11640 when there are multiple keyboard layouts, "Show Keyboard Layouts" option |
83 |
Requires: libgnomekbd-common |
84 |
# (tmb) require both libs providing typelib(Meta) so it always work (reported by tv) |
85 |
Requires: %{_lib}mutter-gir3.0 |
86 |
Requires: %{_lib}mutter-wayland-gir3.0 |
87 |
|
88 |
# gnome-shell handles notifications natively, no notification-daemon needed |
89 |
Provides: virtual-notification-daemon |
90 |
# and ditto for polkit authorisation dialogs |
91 |
Provides: polkit-agent |
92 |
|
93 |
# --- gir/typelibs not automatically required --- |
94 |
# mga#14269 I don't think this is needed, but Mageia 5 should get out |
95 |
Requires: typelib(GcrUi) |
96 |
|
97 |
# (cg) gnome-shell needs schemas defined/shipped with gdm and needs gdm for |
98 |
# screen locking. Technically, this could be relaxed upstream and the schema |
99 |
# moved to gsettings-desktop-schemas, so if that happens, the dep can be relaxed |
100 |
# https://bugs.mageia.org/show_bug.cgi?id=14430 |
101 |
Requires: gdm |
102 |
|
103 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
104 |
|
105 |
%description |
106 |
GNOME Shell provides core user interface functions for the GNOME 3 |
107 |
desktop, like switching to windows and launching applications. GNOME |
108 |
Shell takes advantage of the capabilities of modern graphics hardware |
109 |
and introduces innovative user interface concepts to provide a |
110 |
visually attractive and easy to use experience. |
111 |
|
112 |
%package docs |
113 |
Summary: Documentation for %{name} |
114 |
Group: Documentation |
115 |
BuildArch: noarch |
116 |
|
117 |
%description docs |
118 |
This package contains the documentation for %{name}. |
119 |
|
120 |
%prep |
121 |
%setup -q |
122 |
%apply_patches |
123 |
|
124 |
%build |
125 |
%configure2_5x \ |
126 |
--enable-compile-warnings=no \ |
127 |
--disable-static --disable-schemas-compile |
128 |
%make V=1 |
129 |
|
130 |
%install |
131 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std |
132 |
|
133 |
%find_lang %name |
134 |
|
135 |
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
136 |
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
137 |
|
138 |
find %{buildroot} -name '*.la' -delete |
139 |
|
140 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
141 |
|
142 |
%files -f %name.lang |
143 |
%doc README |
144 |
%{_bindir}/* |
145 |
%{_libdir}/%{name} |
146 |
%{_libexecdir}/gnome-shell-calendar-server |
147 |
%{_libexecdir}/gnome-shell-perf-helper |
148 |
%{_libexecdir}/gnome-shell-hotplug-sniffer |
149 |
%{_libexecdir}/gnome-shell-portal-helper |
150 |
%{_libdir}/mozilla/plugins/*.so |
151 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
152 |
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
153 |
%{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service |
154 |
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml |
155 |
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml |
156 |
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml |
157 |
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml |
158 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
159 |
%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert |
160 |
%{_datadir}/applications/%{name}.desktop |
161 |
# ovitters: Experimental Wayland support |
162 |
%{_datadir}/applications/%{name}-wayland.desktop |
163 |
%{_datadir}/applications/evolution-calendar.desktop |
164 |
%{_datadir}/applications/gnome-shell-extension-prefs.desktop |
165 |
%{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop |
166 |
%{_datadir}/gnome-control-center/keybindings/*%{name}*.xml |
167 |
%{_datadir}/%{name} |
168 |
%{_mandir}/man1/%{name}.1* |
169 |
|
170 |
%files docs |
171 |
%{_datadir}/gtk-doc/html/shell |
172 |
%{_datadir}/gtk-doc/html/st |