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