1 |
%define xulrunner_version %(rpm -q --queryformat %%{VERSION} xulrunner) |
2 |
|
3 |
Summary: Next generation GNOME desktop shell |
4 |
Name: gnome-shell |
5 |
Version: 3.2.1 |
6 |
Release: %mkrel 1 |
7 |
Source0: http://download.gnome.org/sources/%{name}/3.2/%{name}-%{version}.tar.xz |
8 |
Source1: gnome-shell-session |
9 |
Patch1: gnome-shell-3.1.4-bluetooth-libdir.patch |
10 |
Patch2: gnome-shell-3.1.90-gi-flags.patch |
11 |
License: GPLv2+ and LGPLv2+ |
12 |
Group: Graphical desktop/GNOME |
13 |
Url: http://live.gnome.org/GnomeShell |
14 |
BuildRequires: pkgconfig(clutter-1.0) |
15 |
BuildRequires: pkgconfig(clutter-glx-1.0) >= 1.7.5 |
16 |
BuildRequires: pkgconfig(clutter-x11-1.0) >= 1.7.5 |
17 |
BuildRequires: pkgconfig(dbus-glib-1) |
18 |
BuildRequires: pkgconfig(folks) >= 0.5.2 |
19 |
BuildRequires: pkgconfig(gconf-2.0) |
20 |
BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
21 |
BuildRequires: pkgconfig(gdk-x11-3.0) |
22 |
BuildRequires: pkgconfig(gio-2.0) >= 2.29.10 |
23 |
BuildRequires: pkgconfig(gio-unix-2.0) |
24 |
BuildRequires: pkgconfig(gjs-internals-1.0) >= 1.29.18 |
25 |
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.1.0 |
26 |
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.90.0 |
27 |
BuildRequires: pkgconfig(gnome-keyring-1) |
28 |
BuildRequires: pkgconfig(gobject-2.0) |
29 |
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1 |
30 |
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.1.7 |
31 |
BuildRequires: pkgconfig(gstreamer-0.10) >= 0.10.16 |
32 |
BuildRequires: pkgconfig(gtk+-3.0) |
33 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 |
34 |
BuildRequires: pkgconfig(libcanberra) |
35 |
BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.2 |
36 |
BuildRequires: pkgconfig(libecal-1.2) >= 2.32.0 |
37 |
BuildRequires: pkgconfig(libedataserver-1.2) >= 1.2.0 |
38 |
BuildRequires: pkgconfig(libedataserverui-3.0) >= 2.91.6 |
39 |
BuildRequires: pkgconfig(libgnome-menu-3.0) |
40 |
BuildRequires: pkgconfig(libmutter) >= 3.2.1 |
41 |
BuildRequires: pkgconfig(libnm-glib) |
42 |
BuildRequires: pkgconfig(libnm-util) |
43 |
BuildRequires: pkgconfig(libpulse) |
44 |
BuildRequires: pkgconfig(libpulse-mainloop-glib) |
45 |
BuildRequires: pkgconfig(libsoup-2.4) |
46 |
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11 |
47 |
BuildRequires: pkgconfig(libxml-2.0) |
48 |
BuildRequires: pkgconfig(polkit-agent-1) >= 0.100 |
49 |
BuildRequires: pkgconfig(telepathy-glib) >= 0.15.5 |
50 |
BuildRequires: pkgconfig(telepathy-logger-0.2) >= 0.2.4 |
51 |
BuildRequires: pkgconfig(x11) |
52 |
BuildRequires: pkgconfig(xfixes) |
53 |
BuildRequires: intltool >= 0.40.0 |
54 |
BuildRequires: gnome-common |
55 |
Requires: mutter |
56 |
Requires: gjs |
57 |
Requires: gir-repository |
58 |
Requires: glxinfo |
59 |
Requires: gnome-session |
60 |
Requires: gnome-icon-theme-symbolic |
61 |
Requires: %{_lib}xulrunner%{xulrunner_version} |
62 |
# For a GSettings schema |
63 |
Requires: gnome-settings-daemon |
64 |
Requires: gsettings-desktop-schemas |
65 |
Requires: packagekit-gtk3-module |
66 |
Requires: telepathy-mission-control |
67 |
|
68 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
69 |
|
70 |
%description |
71 |
The GNOME Shell redefines user interactions with the GNOME desktop. In |
72 |
particular, it offers new paradigms for launching applications, |
73 |
accessing documents, and organizing open windows in GNOME. Later, it |
74 |
will introduce a new applets eco-system and offer new solutions for |
75 |
other desktop features, such as notifications and contacts |
76 |
management. The GNOME Shell is intended to replace functions handled |
77 |
by the GNOME Panel and by the window manager in previous versions of |
78 |
GNOME. The GNOME Shell has rich visual effects enabled by new |
79 |
graphical technologies. |
80 |
|
81 |
%prep |
82 |
%setup -q |
83 |
%apply_patches |
84 |
|
85 |
%build |
86 |
NOCONFIGURE=yes gnome-autogen.sh |
87 |
export LD_LIBRARY_PATH=%{_libdir}/gnome-bluetooth |
88 |
%configure2_5x \ |
89 |
--enable-compile-warnings=no \ |
90 |
--disable-static \ |
91 |
--disable-schemas-install |
92 |
%make V=1 |
93 |
|
94 |
%install |
95 |
rm -rf %{buildroot} |
96 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std |
97 |
|
98 |
%find_lang %name |
99 |
|
100 |
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
101 |
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
102 |
|
103 |
find %{buildroot} -name '*.la' | xargs rm |
104 |
|
105 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
106 |
|
107 |
%clean |
108 |
rm -rf %{buildroot} |
109 |
|
110 |
%preun |
111 |
%preun_uninstall_gconf_schemas %{name} |
112 |
|
113 |
%files -f %name.lang |
114 |
%defattr(-,root,root) |
115 |
%doc README |
116 |
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
117 |
%{_bindir}/* |
118 |
%{_libdir}/%{name} |
119 |
%{_libexecdir}/gnome-shell-calendar-server |
120 |
%{_libexecdir}/gnome-shell-perf-helper |
121 |
%{_libexecdir}/gnome-shell-hotplug-sniffer |
122 |
%{_libdir}/mozilla/plugins/*.so |
123 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
124 |
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
125 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
126 |
%{_datadir}/applications/%{name}.desktop |
127 |
%{_datadir}/%{name} |
128 |
%{_mandir}/man1/%{name}.1* |