1 |
mikala |
113184 |
%define xulrunner_version %(rpm -q --queryformat %%{VERSION} xulrunner) |
2 |
dmorgan |
113274 |
|
3 |
wally |
130253 |
Summary: Next generation GNOME desktop shell |
4 |
|
|
Name: gnome-shell |
5 |
|
|
Version: 3.1.4 |
6 |
fwang |
134999 |
Release: %mkrel 5 |
7 |
wally |
130253 |
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 |
fwang |
131858 |
Patch1: gnome-shell-3.1.4-bluetooth-libdir.patch |
11 |
wally |
130253 |
License: GPLv2+ and LGPLv2+ |
12 |
|
|
Group: Graphical desktop/GNOME |
13 |
|
|
Url: http://live.gnome.org/GnomeShell |
14 |
|
|
BuildRequires: mutter-devel >= 3.0.0 |
15 |
|
|
BuildRequires: gjs-devel >= 0.7.11 |
16 |
|
|
BuildRequires: libgstreamer-plugins-base-devel >= 0.10.16 |
17 |
|
|
BuildRequires: clutter-devel >= 1.5.15 |
18 |
|
|
BuildRequires: gnome-menus-devel |
19 |
|
|
BuildRequires: dbus-glib-devel |
20 |
|
|
BuildRequires: gnome-desktop3-devel >= 2.90.0 |
21 |
colin |
131721 |
BuildRequires: gnome-bluetooth-devel |
22 |
wally |
130253 |
BuildRequires: libtelepathy-glib-devel >= 0.15.3 |
23 |
|
|
BuildRequires: libtelepathy-logger-devel >= 0.2.4 |
24 |
|
|
BuildRequires: gtk+3.0-devel >= 3.0.0 |
25 |
|
|
BuildRequires: evolution-data-server-devel >= 1.2.0 |
26 |
|
|
BuildRequires: gsettings-desktop-schemas-devel >= 0.1.7 |
27 |
|
|
BuildRequires: intltool |
28 |
|
|
BuildRequires: polkit-1-devel |
29 |
|
|
BuildRequires: libcanberra-devel |
30 |
|
|
BuildRequires: pulseaudio-devel |
31 |
|
|
BuildRequires: gnutls-devel |
32 |
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11 |
33 |
fwang |
131859 |
BuildRequires: gnome-common |
34 |
wally |
130253 |
Requires: mutter |
35 |
|
|
Requires: gjs |
36 |
|
|
Requires: gir-repository |
37 |
|
|
Requires: glxinfo |
38 |
|
|
Requires: gnome-session |
39 |
|
|
Requires: gnome-icon-theme-symbolic |
40 |
fwang |
134999 |
Requires: %xulrunner_libname |
41 |
dmorgan |
109522 |
# For a GSettings schema |
42 |
wally |
130253 |
Requires: gnome-settings-daemon |
43 |
|
|
Requires: gsettings-desktop-schemas |
44 |
|
|
Requires: packagekit-gtk3-module |
45 |
dmorgan |
119733 |
|
46 |
wally |
130253 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
47 |
dmorgan |
113274 |
|
48 |
tv |
72303 |
%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 |
fwang |
131858 |
NOCONFIGURE=yes gnome-autogen.sh |
65 |
fwang |
131861 |
export LD_LIBRARY_PATH=%{_libdir}/gnome-bluetooth |
66 |
wally |
130253 |
%configure2_5x \ |
67 |
|
|
--enable-compile-warnings=no \ |
68 |
|
|
--disable-static \ |
69 |
|
|
--disable-schemas-install |
70 |
colin |
131776 |
%make V=1 |
71 |
tv |
72303 |
|
72 |
|
|
%install |
73 |
|
|
rm -rf %{buildroot} |
74 |
dmorgan |
101673 |
%makeinstall_std |
75 |
wally |
130253 |
|
76 |
tv |
72303 |
%find_lang %name |
77 |
|
|
|
78 |
|
|
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
79 |
|
|
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
80 |
|
|
|
81 |
dmorgan |
101790 |
rm -rf %{buildroot}/%{_libdir}/mutter/plugins/*.la |
82 |
|
|
|
83 |
tv |
72303 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
84 |
|
|
|
85 |
|
|
%clean |
86 |
|
|
rm -rf %{buildroot} |
87 |
|
|
|
88 |
|
|
%define schemas gnome-shell |
89 |
|
|
|
90 |
|
|
%preun |
91 |
|
|
%preun_uninstall_gconf_schemas %schemas |
92 |
|
|
|
93 |
|
|
%files -f %name.lang |
94 |
|
|
%defattr(-,root,root) |
95 |
|
|
%doc README |
96 |
wally |
130253 |
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas |
97 |
|
|
%{_bindir}/* |
98 |
|
|
%{_libdir}/%{name} |
99 |
dmorgan |
101673 |
%{_libexecdir}/gnome-shell-calendar-server |
100 |
|
|
%{_libexecdir}/gnome-shell-perf-helper |
101 |
wally |
130253 |
%{_libexecdir}/gnome-shell-hotplug-sniffer |
102 |
dmorgan |
101673 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
103 |
wally |
130253 |
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
104 |
dmorgan |
101673 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
105 |
wally |
130253 |
%{_datadir}/applications/%{name}.desktop |
106 |
|
|
%{_datadir}/%{name} |
107 |
|
|
%{_mandir}/man1/%{name}.1* |