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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 72303 - (hide annotations) (download)
Wed Mar 16 07:12:48 2011 UTC (13 years, 1 month ago) by tv
File size: 3103 byte(s)
imported package gnome-shell
1 tv 72303 %define name gnome-shell
2     %define version 2.29.1
3     %define release %mkrel 8
4    
5     Summary: Next generation GNOME desktop shell
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}
9     Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
10     Source1: gnome-shell-session
11     # different fix for https://bugzilla.gnome.org/show_bug.cgi?id=573413
12     Patch0: gnome-shell-2.29.0-fix-xulrunner-libdir.patch
13     License: GPLv2+ and LGPLv2+
14     Group: Graphical desktop/GNOME
15     Url: http://live.gnome.org/GnomeShell
16     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17     BuildRequires: mutter-devel >= 2.28.0
18     BuildRequires: gjs-devel >= 0.6
19     BuildRequires: libgstreamer-plugins-base-devel >= 0.10.16
20     BuildRequires: clutter-gtk-devel
21     BuildRequires: librsvg-devel
22     BuildRequires: gnome-menus-devel
23     BuildRequires: dbus-glib-devel
24     BuildRequires: gnome-desktop-devel
25     BuildRequires: intltool
26     Requires: mutter
27     Requires: gjs
28     Requires: gir-repository
29     Requires: glxinfo
30     Requires: gnome-session
31     BuildRequires: xulrunner-devel
32     %{?xulrunner_libname:Requires: %xulrunner_libname}
33    
34     %description
35     The GNOME Shell redefines user interactions with the GNOME desktop. In
36     particular, it offers new paradigms for launching applications,
37     accessing documents, and organizing open windows in GNOME. Later, it
38     will introduce a new applets eco-system and offer new solutions for
39     other desktop features, such as notifications and contacts
40     management. The GNOME Shell is intended to replace functions handled
41     by the GNOME Panel and by the window manager in previous versions of
42     GNOME. The GNOME Shell has rich visual effects enabled by new
43     graphical technologies.
44    
45     %prep
46     %setup -q
47     %apply_patches
48     sed -i "s^xXULRUNNERDIRx^%xulrunner_mozappdir^" src/gnome-shell.in
49    
50     %build
51     #gw else it does not find libmozjs.so
52     export LD_LIBRARY_PATH=%xulrunner_mozappdir
53     %configure2_5x --enable-compile-warnings=no \
54     --disable-static
55     %make
56    
57     %install
58     rm -rf %{buildroot}
59     GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std
60     %find_lang %name
61    
62     mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart
63     cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart
64    
65     install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/
66    
67     # wmsession session file
68     mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmsession.d
69     cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmsession.d/11GNOME3
70     NAME=GNOME 3 Preview
71     ICON=gnome-logo-icon-transparent.png
72     DESC=GNOME Environment
73     EXEC=%{_datadir}/gnome-shell/gnome-shell-session
74     SCRIPT:
75     exec %{_datadir}/gnome-shell/gnome-shell-session
76     EOF
77    
78    
79     %clean
80     rm -rf %{buildroot}
81    
82     %define schemas gnome-shell
83    
84     %if %mdkversion < 200900
85     %post
86     %post_install_gconf_schemas %schemas
87     %endif
88    
89     %preun
90     %preun_uninstall_gconf_schemas %schemas
91    
92    
93     %files -f %name.lang
94     %defattr(-,root,root)
95     %doc README
96     %_sysconfdir/gconf/schemas/gnome-shell.schemas
97     %_sysconfdir/X11/wmsession.d/*
98     %_bindir/%name
99     %_libdir/%name
100     %_libdir/mutter/plugins/libgnome-shell.la
101     %_libdir/mutter/plugins/libgnome-shell.so
102     %_datadir/applications/%name.desktop
103     %_datadir/%name
104     %_mandir/man1/%name.1*
105    
106    

  ViewVC Help
Powered by ViewVC 1.1.30