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

  ViewVC Help
Powered by ViewVC 1.1.30