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