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 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: 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-gtk-module |
44 |
|
45 |
# Look if we can remove with next rpm-mageia-setup |
46 |
Requires: %{_lib}atk-gir1.0 |
47 |
|
48 |
Obsoletes: gnome-applet-netspeed < 3.0.2 |
49 |
|
50 |
%description |
51 |
The GNOME Shell redefines user interactions with the GNOME desktop. In |
52 |
particular, it offers new paradigms for launching applications, |
53 |
accessing documents, and organizing open windows in GNOME. Later, it |
54 |
will introduce a new applets eco-system and offer new solutions for |
55 |
other desktop features, such as notifications and contacts |
56 |
management. The GNOME Shell is intended to replace functions handled |
57 |
by the GNOME Panel and by the window manager in previous versions of |
58 |
GNOME. The GNOME Shell has rich visual effects enabled by new |
59 |
graphical technologies. |
60 |
|
61 |
%prep |
62 |
%setup -q |
63 |
%apply_patches |
64 |
|
65 |
%build |
66 |
export LD_LIBRARY_PATH=%xulrunner_mozappdir |
67 |
%configure2_5x --enable-compile-warnings=no \ |
68 |
--disable-static --disable-schemas-install |
69 |
%make |
70 |
|
71 |
%install |
72 |
rm -rf %{buildroot} |
73 |
%makeinstall_std |
74 |
%find_lang %name |
75 |
|
76 |
mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
77 |
cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart |
78 |
|
79 |
rm -rf %{buildroot}/%{_libdir}/mutter/plugins/*.la |
80 |
|
81 |
install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/ |
82 |
|
83 |
%clean |
84 |
rm -rf %{buildroot} |
85 |
|
86 |
%define schemas gnome-shell |
87 |
|
88 |
%preun |
89 |
%preun_uninstall_gconf_schemas %schemas |
90 |
|
91 |
%files -f %name.lang |
92 |
%defattr(-,root,root) |
93 |
%doc README |
94 |
%_sysconfdir/gconf/schemas/gnome-shell.schemas |
95 |
%_bindir/* |
96 |
%_libdir/%name |
97 |
%{_libexecdir}/gnome-shell-calendar-server |
98 |
%{_libexecdir}/gnome-shell-perf-helper |
99 |
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
100 |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
101 |
%_datadir/applications/%name.desktop |
102 |
%_datadir/%name |
103 |
%_mandir/man1/%name.1* |
104 |
|