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.13.3 |
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.14.1 |
13 |
Release: %mkrel 3 |
14 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
15 |
Source1: gnome-shell-session |
16 |
Patch1: 0001-screenShield-Allow-for-custom-backgrounds-on-lock-lo.patch |
17 |
Patch100: gnome-shell-3.6.3.1-fix-evolution-calendar.patch |
18 |
|
19 |
License: GPLv2+ and LGPLv2+ |
20 |
Group: Graphical desktop/GNOME |
21 |
Url: https://wiki.gnome.org/GnomeShell |
22 |
BuildRequires: pkgconfig(clutter-1.0) |
23 |
BuildRequires: pkgconfig(clutter-glx-1.0) >= 1.7.5 |
24 |
BuildRequires: pkgconfig(clutter-x11-1.0) >= 1.7.5 |
25 |
BuildRequires: pkgconfig(folks) >= 0.5.2 |
26 |
BuildRequires: pkgconfig(gcr-3) >= 3.8.0 |
27 |
BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
28 |
BuildRequires: pkgconfig(gdk-x11-3.0) |
29 |
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.31.6 |
30 |
BuildRequires: pkgconfig(gjs-internals-1.0) >= 1.29.18 |
31 |
BuildRequires: pkgconfig(gl) |
32 |
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.1.0 |
33 |
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.90.0 |
34 |
BuildRequires: pkgconfig(gnome-keyring-1) |
35 |
BuildRequires: pkgconfig(gnome-keybindings) |
36 |
BuildRequires: pkgconfig(gobject-2.0) |
37 |
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1 |
38 |
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.1.7 |
39 |
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.92 |
40 |
BuildRequires: pkgconfig(gstreamer-base-1.0) |
41 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.9 |
42 |
BuildRequires: pkgconfig(gtk-doc) |
43 |
BuildRequires: pkgconfig(libcanberra) |
44 |
BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.2 |
45 |
BuildRequires: pkgconfig(libecal-1.2) >= 2.32.0 |
46 |
BuildRequires: pkgconfig(libedataserver-1.2) >= 1.2.0 |
47 |
BuildRequires: pkgconfig(libgnome-menu-3.0) |
48 |
BuildRequires: pkgconfig(libmutter) >= %{mutter_ver} |
49 |
# ovitters: experimental Wayland |
50 |
BuildRequires: pkgconfig(libnm-glib) |
51 |
BuildRequires: pkgconfig(libnm-util) |
52 |
BuildRequires: pkgconfig(libnm-gtk) |
53 |
BuildRequires: pkgconfig(libpulse) |
54 |
BuildRequires: pkgconfig(libpulse-mainloop-glib) |
55 |
BuildRequires: pkgconfig(libsoup-2.4) |
56 |
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11 |
57 |
BuildRequires: pkgconfig(libxml-2.0) |
58 |
BuildRequires: pkgconfig(polkit-agent-1) >= 0.100 |
59 |
BuildRequires: pkgconfig(libsystemd-login) |
60 |
BuildRequires: pkgconfig(libsystemd-daemon) |
61 |
BuildRequires: pkgconfig(telepathy-glib) >= 0.17.5 |
62 |
BuildRequires: pkgconfig(telepathy-logger-0.2) >= 0.2.4 |
63 |
BuildRequires: pkgconfig(x11) |
64 |
BuildRequires: pkgconfig(xfixes) |
65 |
BuildRequires: pkgconfig(caribou-1.0) |
66 |
BuildRequires: intltool >= 0.40.0 |
67 |
BuildRequires: gnome-common |
68 |
BuildRequires: gettext-devel |
69 |
Requires: mutter >= %{mutter_ver} |
70 |
Requires: gjs |
71 |
Requires: glxinfo |
72 |
Requires: gnome-session |
73 |
Requires: adwaita-icon-theme |
74 |
# For a GSettings schema |
75 |
Requires: gnome-settings-daemon |
76 |
Requires: gsettings-desktop-schemas >= 3.9.2 |
77 |
Requires: packagekit-gtk3-module |
78 |
Requires: telepathy-mission-control |
79 |
Requires: gnome-control-center |
80 |
# mga#11640 when there are multiple keyboard layouts, "Show Keyboard Layouts" option |
81 |
Requires: libgnomekbd-common |
82 |
|
83 |
# gnome-shell handles notifications natively, no notification-daemon needed |
84 |
Provides: virtual-notification-daemon |
85 |
# and ditto for polkit authorisation dialogs |
86 |
Provides: polkit-agent |
87 |
|
88 |
#Requires for login |
89 |
Requires: %{_lib}mutter-gir3.0 |
90 |
# (tv) not automatically required, fix: |
91 |
# gnome-session[1580]: (gnome-shell:2080): Gjs-WARNING **: JS ERROR: Error: Requiring Gcr, version none: Typelib file for namespace 'Gck', version '1' not found |
92 |
Requires: typelib(Gcr) |
93 |
|
94 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
95 |
|
96 |
%description |
97 |
GNOME Shell provides core user interface functions for the GNOME 3 |
98 |
desktop, like switching to windows and launching applications. GNOME |
99 |
Shell takes advantage of the capabilities of modern graphics hardware |
100 |
and introduces innovative user interface concepts to provide a |
101 |
visually attractive and easy to use experience. |
102 |
|
103 |
%package docs |
104 |
Summary: Documentation for %{name} |
105 |
Group: Documentation |
106 |
BuildArch: noarch |
107 |
|
108 |
%description docs |
109 |
This package contains the documentation for %{name}. |
110 |
|
111 |
%prep |
112 |
%setup -q |
113 |
%apply_patches |
114 |
|
115 |
%build |
116 |
%configure2_5x \ |
117 |
--enable-compile-warnings=no \ |
118 |
--disable-static --disable-schemas-compile |
119 |
%make V=1 |
120 |
|
121 |
%install |
122 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std |
123 |
|
124 |
%find_lang %name |
125 |
|
126 |
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
127 |
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
128 |
|
129 |
find %{buildroot} -name '*.la' -delete |
130 |
|
131 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
132 |
|
133 |
%files -f %name.lang |
134 |
%doc README |
135 |
%{_bindir}/* |
136 |
%{_libdir}/%{name} |
137 |
%{_libexecdir}/gnome-shell-calendar-server |
138 |
%{_libexecdir}/gnome-shell-perf-helper |
139 |
%{_libexecdir}/gnome-shell-hotplug-sniffer |
140 |
%{_libexecdir}/gnome-shell-portal-helper |
141 |
%{_libdir}/mozilla/plugins/*.so |
142 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
143 |
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
144 |
%{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service |
145 |
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml |
146 |
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml |
147 |
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml |
148 |
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml |
149 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
150 |
%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert |
151 |
%{_datadir}/applications/%{name}.desktop |
152 |
# ovitters: Experimental Wayland support |
153 |
%{_datadir}/applications/%{name}-wayland.desktop |
154 |
%{_datadir}/applications/evolution-calendar.desktop |
155 |
%{_datadir}/applications/gnome-shell-extension-prefs.desktop |
156 |
%{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop |
157 |
%{_datadir}/gnome-control-center/keybindings/*%{name}*.xml |
158 |
%{_datadir}/%{name} |
159 |
%{_mandir}/man1/%{name}.1* |
160 |
|
161 |
%files docs |
162 |
%{_datadir}/gtk-doc/html/shell |
163 |
%{_datadir}/gtk-doc/html/st |