/[packages]/cauldron/gnome-shell/current/SPECS/gnome-shell.spec
ViewVC logotype

Contents of /cauldron/gnome-shell/current/SPECS/gnome-shell.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 113184 - (show annotations) (download)
Fri Jun 24 14:04:04 2011 UTC (12 years, 9 months ago) by mikala
File size: 3065 byte(s)
Add a requires on %{_lib}xulrunner (gnome-shell is using libmozjs.so)

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

  ViewVC Help
Powered by ViewVC 1.1.30