1 |
%define xulrunner_version %(rpm -q --queryformat %%{VERSION} xulrunner) |
2 |
|
3 |
Summary: Next generation GNOME desktop shell |
4 |
Name: gnome-shell |
5 |
Version: 3.1.3 |
6 |
Release: %mkrel 3 |
7 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.xz |
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 |
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11 |
31 |
Requires: mutter |
32 |
Requires: gjs |
33 |
Requires: gir-repository |
34 |
Requires: glxinfo |
35 |
Requires: gnome-session |
36 |
Requires: gnome-icon-theme-symbolic |
37 |
Requires: %{_lib}xulrunner%{xulrunner_version} |
38 |
# For a GSettings schema |
39 |
Requires: gnome-settings-daemon |
40 |
Requires: gsettings-desktop-schemas |
41 |
Requires: gnome-python-gconf |
42 |
Requires: python-gobject |
43 |
Requires: packagekit-gtk3-module |
44 |
|
45 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
46 |
|
47 |
%description |
48 |
The GNOME Shell redefines user interactions with the GNOME desktop. In |
49 |
particular, it offers new paradigms for launching applications, |
50 |
accessing documents, and organizing open windows in GNOME. Later, it |
51 |
will introduce a new applets eco-system and offer new solutions for |
52 |
other desktop features, such as notifications and contacts |
53 |
management. The GNOME Shell is intended to replace functions handled |
54 |
by the GNOME Panel and by the window manager in previous versions of |
55 |
GNOME. The GNOME Shell has rich visual effects enabled by new |
56 |
graphical technologies. |
57 |
|
58 |
%prep |
59 |
%setup -q |
60 |
%apply_patches |
61 |
|
62 |
%build |
63 |
export LD_LIBRARY_PATH=%xulrunner_mozappdir |
64 |
%configure2_5x --enable-compile-warnings=no \ |
65 |
--disable-static --disable-schemas-install |
66 |
%make |
67 |
|
68 |
%install |
69 |
rm -rf %{buildroot} |
70 |
%makeinstall_std |
71 |
%find_lang %name |
72 |
|
73 |
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
74 |
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
75 |
|
76 |
rm -rf %{buildroot}/%{_libdir}/mutter/plugins/*.la |
77 |
|
78 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
79 |
|
80 |
%clean |
81 |
rm -rf %{buildroot} |
82 |
|
83 |
%define schemas gnome-shell |
84 |
|
85 |
%preun |
86 |
%preun_uninstall_gconf_schemas %schemas |
87 |
|
88 |
%files -f %name.lang |
89 |
%defattr(-,root,root) |
90 |
%doc README |
91 |
%_sysconfdir/gconf/schemas/gnome-shell.schemas |
92 |
%_bindir/* |
93 |
%_libdir/%name |
94 |
%{_libexecdir}/gnome-shell-calendar-server |
95 |
%{_libexecdir}/gnome-shell-perf-helper |
96 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
97 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
98 |
%_datadir/applications/%name.desktop |
99 |
%_datadir/%name |
100 |
%_mandir/man1/%name.1* |
101 |
|