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