1 |
%define xulrunner_version %(rpm -q --queryformat %%{VERSION} xulrunner) |
2 |
|
3 |
Summary: Next generation GNOME desktop shell |
4 |
Name: gnome-shell |
5 |
Version: 3.0.2 |
6 |
Release: %mkrel 9 |
7 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 |
8 |
Source1: gnome-shell-session |
9 |
Patch0: gnome-shell-3.0.2-check-pointer.patch |
10 |
License: GPLv2+ and LGPLv2+ |
11 |
Group: Graphical desktop/GNOME |
12 |
Url: http://live.gnome.org/GnomeShell |
13 |
BuildRequires: mutter-devel >= 3.0.0 |
14 |
BuildRequires: gjs-devel >= 0.7.11 |
15 |
BuildRequires: libgstreamer-plugins-base-devel >= 0.10.16 |
16 |
BuildRequires: clutter-devel >= 1.5.15 |
17 |
BuildRequires: gnome-menus-devel |
18 |
BuildRequires: dbus-glib-devel |
19 |
BuildRequires: gnome-desktop3-devel >= 2.90.0 |
20 |
BuildRequires: libtelepathy-glib-devel >= 0.13.12 |
21 |
BuildRequires: libtelepathy-logger-devel >= 0.2.4 |
22 |
BuildRequires: gtk+3.0-devel >= 3.0.0 |
23 |
BuildRequires: evolution-data-server-devel >= 1.2.0 |
24 |
BuildRequires: gsettings-desktop-schemas-devel >= 0.1.7 |
25 |
BuildRequires: intltool |
26 |
BuildRequires: polkit-1-devel |
27 |
BuildRequires: libcanberra-devel |
28 |
BuildRequires: pulseaudio-devel |
29 |
BuildRequires: gnutls-devel |
30 |
Requires: mutter |
31 |
Requires: gjs |
32 |
Requires: gir-repository |
33 |
Requires: glxinfo |
34 |
Requires: gnome-session |
35 |
Requires: gnome-icon-theme-symbolic |
36 |
Requires: %{_lib}xulrunner = %{xulrunner_version} |
37 |
# For a GSettings schema |
38 |
Requires: gnome-settings-daemon |
39 |
Requires: gsettings-desktop-schemas |
40 |
Requires: gnome-python-gconf |
41 |
Requires: python-gobject |
42 |
|
43 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
44 |
|
45 |
%description |
46 |
The GNOME Shell redefines user interactions with the GNOME desktop. In |
47 |
particular, it offers new paradigms for launching applications, |
48 |
accessing documents, and organizing open windows in GNOME. Later, it |
49 |
will introduce a new applets eco-system and offer new solutions for |
50 |
other desktop features, such as notifications and contacts |
51 |
management. The GNOME Shell is intended to replace functions handled |
52 |
by the GNOME Panel and by the window manager in previous versions of |
53 |
GNOME. The GNOME Shell has rich visual effects enabled by new |
54 |
graphical technologies. |
55 |
|
56 |
%prep |
57 |
%setup -q |
58 |
%apply_patches |
59 |
|
60 |
%build |
61 |
export LD_LIBRARY_PATH=%xulrunner_mozappdir |
62 |
%configure2_5x --enable-compile-warnings=no \ |
63 |
--disable-static --disable-schemas-install |
64 |
%make |
65 |
|
66 |
%install |
67 |
rm -rf %{buildroot} |
68 |
%makeinstall_std |
69 |
%find_lang %name |
70 |
|
71 |
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
72 |
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
73 |
|
74 |
rm -rf %{buildroot}/%{_libdir}/mutter/plugins/*.la |
75 |
|
76 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
77 |
|
78 |
%clean |
79 |
rm -rf %{buildroot} |
80 |
|
81 |
%define schemas gnome-shell |
82 |
|
83 |
%preun |
84 |
%preun_uninstall_gconf_schemas %schemas |
85 |
|
86 |
%files -f %name.lang |
87 |
%defattr(-,root,root) |
88 |
%doc README |
89 |
%_sysconfdir/gconf/schemas/gnome-shell.schemas |
90 |
%_bindir/* |
91 |
%_libdir/%name |
92 |
%{_libexecdir}/gnome-shell-calendar-server |
93 |
%{_libexecdir}/gnome-shell-perf-helper |
94 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
95 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
96 |
%_datadir/applications/%name.desktop |
97 |
%_datadir/%name |
98 |
%_mandir/man1/%name.1* |
99 |
|