1 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
2 |
|
3 |
%define mutter_ver %(echo %{version}|cut -d. -f1,2,3) |
4 |
#define mutter_wayland_ver %(echo %{version}|cut -d. -f1,2,3) |
5 |
%define mutter_wayland_ver 3.10.1 |
6 |
# To make GNOME Shell extensions load, we need to get rid of DT_RUNPATH on /usr/bin/gnome-shell |
7 |
# (see glibc bug #13945, GNOME bug #670477, Mageia bug #4523) |
8 |
%define _disable_ld_enable_new_dtags 1 |
9 |
|
10 |
Summary: Core user interface for the GNOME 3 desktop |
11 |
Name: gnome-shell |
12 |
Version: 3.13.3 |
13 |
Release: %mkrel 1 |
14 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
15 |
Source1: gnome-shell-session |
16 |
Patch1: gnome-shell-3.6.3.1-fix-evolution-calendar.patch |
17 |
Patch3: gnome-shell-3.10.0.1-allow-per-screen-backgrounds.patch |
18 |
Patch4: gnome-shell-3.10.0.1-set-mageia-background.patch |
19 |
|
20 |
License: GPLv2+ and LGPLv2+ |
21 |
Group: Graphical desktop/GNOME |
22 |
Url: https://wiki.gnome.org/GnomeShell |
23 |
BuildRequires: pkgconfig(clutter-1.0) |
24 |
BuildRequires: pkgconfig(clutter-glx-1.0) >= 1.7.5 |
25 |
BuildRequires: pkgconfig(clutter-x11-1.0) >= 1.7.5 |
26 |
BuildRequires: pkgconfig(folks) >= 0.5.2 |
27 |
BuildRequires: pkgconfig(gcr-3) >= 3.8.0 |
28 |
BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
29 |
BuildRequires: pkgconfig(gdk-x11-3.0) |
30 |
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.31.6 |
31 |
BuildRequires: pkgconfig(gjs-internals-1.0) >= 1.29.18 |
32 |
BuildRequires: pkgconfig(gl) |
33 |
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.1.0 |
34 |
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.90.0 |
35 |
BuildRequires: pkgconfig(gnome-keyring-1) |
36 |
BuildRequires: pkgconfig(gnome-keybindings) |
37 |
BuildRequires: pkgconfig(gobject-2.0) |
38 |
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1 |
39 |
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.1.7 |
40 |
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.92 |
41 |
BuildRequires: pkgconfig(gstreamer-base-1.0) |
42 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.9 |
43 |
BuildRequires: pkgconfig(gtk-doc) |
44 |
BuildRequires: pkgconfig(libcanberra) |
45 |
BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.2 |
46 |
BuildRequires: pkgconfig(libecal-1.2) >= 2.32.0 |
47 |
BuildRequires: pkgconfig(libedataserver-1.2) >= 1.2.0 |
48 |
BuildRequires: pkgconfig(libgnome-menu-3.0) |
49 |
BuildRequires: pkgconfig(libmutter) >= %{mutter_ver} |
50 |
# ovitters: experimental Wayland |
51 |
BuildRequires: pkgconfig(libmutter-wayland) >= %{mutter_wayland_ver} |
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 |
# fix "(gnome-shell:13455): Gjs-WARNING **: JS ERROR: Error: Requiring GjsPrivate, version none: Typelib file for namespace 'GjsPrivate' (any version) not found": |
85 |
Requires: typelib(GjsPrivate) |
86 |
# fix "Gjs-Message: JS LOG: Error: Requiring IBus, version none: Typelib file for namespace 'IBus' (any version) not found": |
87 |
Requires: typelib(IBus) |
88 |
# fix "gnome-session[13807]: (gnome-shell:14017): Gjs-WARNING **: JS ERROR: Error: Requiring Gdm, version none: Typelib file for namespace 'Gdm' (any version) not found": |
89 |
Requires: typelib(Gdm) = 1.0 |
90 |
# fix "(gnome-shell:15160): Gjs-WARNING **: JS ERROR: Error: Requiring GnomeBluetooth, version none: Typelib file for namespace 'GnomeBluetooth' (any version) not found": |
91 |
Requires: typelib(GnomeBluetooth) |
92 |
# fix "(gnome-shell:15958): Gjs-WARNING **: JS ERROR: Error: Requiring UPowerGlib, version none: Typelib file for namespace 'UPowerGlib' (any version) not found": |
93 |
Requires: typelib(UPowerGlib) |
94 |
# fix "gnome-session[16312]: (gnome-shell:16555): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found": |
95 |
Requires: typelib(Polkit) |
96 |
# fix "(gnome-shell:22189): Gjs-WARNING **: JS ERROR: Error: Requiring TelepathyLogger, version none: Typelib file for namespace 'TelepathyLogger' (any version) not fou": |
97 |
Requires: typelib(TelepathyLogger) |
98 |
# fix "gnome-session[22359]: (gnome-shell:22636): Gjs-WARNING **: JS ERROR: Error: Requiring Gcr, version none: Typelib file for namespace 'Gcr' (any version) not found": |
99 |
Requires: typelib(Gcr) |
100 |
#fix "gnome-session[7744]: (gnome-shell:7775): Gjs-WARNING **: JS ERROR: Error: Requiring AccountsService, version none: Typelib file for namespace 'AccountsService' (any version) not found" |
101 |
Requires: typelib(AccountsService) |
102 |
|
103 |
# gnome-shell handles notifications natively, no notification-daemon needed |
104 |
Provides: virtual-notification-daemon |
105 |
# and ditto for polkit authorisation dialogs |
106 |
Provides: polkit-agent |
107 |
|
108 |
#Requires for login |
109 |
Requires: %{_lib}mutter-gir3.0 |
110 |
|
111 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
112 |
|
113 |
%description |
114 |
GNOME Shell provides core user interface functions for the GNOME 3 |
115 |
desktop, like switching to windows and launching applications. GNOME |
116 |
Shell takes advantage of the capabilities of modern graphics hardware |
117 |
and introduces innovative user interface concepts to provide a |
118 |
visually attractive and easy to use experience. |
119 |
|
120 |
%package docs |
121 |
Summary: Documentation for %{name} |
122 |
Group: Documentation |
123 |
BuildArch: noarch |
124 |
|
125 |
%description docs |
126 |
This package contains the documentation for %{name}. |
127 |
|
128 |
%prep |
129 |
%setup -q |
130 |
%apply_patches |
131 |
|
132 |
%build |
133 |
%configure2_5x \ |
134 |
--enable-compile-warnings=no \ |
135 |
--disable-static --disable-schemas-compile |
136 |
%make V=1 |
137 |
|
138 |
%install |
139 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std |
140 |
|
141 |
%find_lang %name |
142 |
|
143 |
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
144 |
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
145 |
|
146 |
find %{buildroot} -name '*.la' -delete |
147 |
|
148 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
149 |
|
150 |
%files -f %name.lang |
151 |
%doc README |
152 |
%{_bindir}/* |
153 |
%{_libdir}/%{name} |
154 |
%{_libexecdir}/gnome-shell-calendar-server |
155 |
%{_libexecdir}/gnome-shell-perf-helper |
156 |
%{_libexecdir}/gnome-shell-hotplug-sniffer |
157 |
%{_libdir}/mozilla/plugins/*.so |
158 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
159 |
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
160 |
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml |
161 |
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml |
162 |
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml |
163 |
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml |
164 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
165 |
%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert |
166 |
%{_datadir}/applications/%{name}.desktop |
167 |
# ovitters: Experimental Wayland support |
168 |
%{_datadir}/applications/%{name}-wayland.desktop |
169 |
%{_datadir}/applications/evolution-calendar.desktop |
170 |
%{_datadir}/applications/gnome-shell-extension-prefs.desktop |
171 |
%{_datadir}/gnome-control-center/keybindings/*%{name}*.xml |
172 |
%{_datadir}/%{name} |
173 |
%{_mandir}/man1/%{name}.1* |
174 |
|
175 |
%files docs |
176 |
%{_datadir}/gtk-doc/html/shell |
177 |
%{_datadir}/gtk-doc/html/st |