2009-08-05 00:44:20 +02:00
|
|
|
#
|
2010-09-09 23:18:36 +02:00
|
|
|
# spec file for package gnome-shell (Version 2.31.5)
|
2009-08-05 00:44:20 +02:00
|
|
|
#
|
2010-02-19 16:30:32 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-08-05 00:44:20 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: gnome-shell
|
2010-09-09 23:18:36 +02:00
|
|
|
Version: 2.31.5
|
|
|
|
Release: 1
|
|
|
|
License: GPLv2+
|
|
|
|
Summary: GNOME Shell
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
# To integrate a preview mode in GDM.
|
|
|
|
# Note: this also explains the Requires on gnome-session below.
|
|
|
|
Source1: gnome-shell-session
|
|
|
|
Source2: gnome3.desktop
|
|
|
|
# PATCH-FIX-OPENSUSE gnome-shell-libmozjs.patch vuntz@novell.com -- LD_LIBRARY_PATH neeeds to be set on 11.1
|
|
|
|
Patch99: gnome-shell-libmozjs.patch
|
2009-08-05 00:44:20 +02:00
|
|
|
BuildRequires: clutter-devel
|
|
|
|
BuildRequires: dbus-1-glib-devel
|
|
|
|
BuildRequires: gconf2-devel
|
|
|
|
BuildRequires: gir-repository
|
2009-09-04 00:55:13 +02:00
|
|
|
BuildRequires: gnome-desktop-devel
|
2009-08-05 00:44:20 +02:00
|
|
|
BuildRequires: gnome-menus-devel
|
|
|
|
BuildRequires: gstreamer-0_10-devel
|
|
|
|
BuildRequires: gstreamer-0_10-plugins-base-devel
|
2009-09-04 00:55:13 +02:00
|
|
|
BuildRequires: intltool
|
2009-08-05 00:44:20 +02:00
|
|
|
BuildRequires: libgjs-devel
|
|
|
|
BuildRequires: librsvg-devel
|
|
|
|
BuildRequires: mutter-devel
|
2010-09-09 23:18:36 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(libcroco-0.6)
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
2009-08-17 15:33:39 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2009-08-05 00:44:20 +02:00
|
|
|
BuildRequires: xorg-x11-devel
|
2009-09-04 00:55:13 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2009-10-08 03:03:21 +02:00
|
|
|
Requires: gnome-session
|
2009-08-05 00:44:20 +02:00
|
|
|
# mutter-devel doesn't automatically bring mutter
|
|
|
|
Requires: mutter
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%gconf_schemas_prereq
|
2010-09-09 23:18:36 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2009-08-05 00:44:20 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The GNOME Shell redefines user interactions with the GNOME desktop. In
|
|
|
|
particular, it offers new paradigms for launching applications, accessing
|
|
|
|
documents, and organizing open windows in GNOME.
|
|
|
|
|
2009-09-04 00:55:13 +02:00
|
|
|
%lang_package
|
2009-08-05 00:44:20 +02:00
|
|
|
%prep
|
2009-08-17 15:33:39 +02:00
|
|
|
%setup -q
|
2009-08-05 00:44:20 +02:00
|
|
|
%if %suse_version <= 1110
|
|
|
|
%patch99 -p1
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
2010-03-24 02:18:31 +01:00
|
|
|
autoreconf -fi
|
2009-08-05 00:44:20 +02:00
|
|
|
%if %suse_version <= 1110
|
|
|
|
# ugly workaround for a build failure on 11.1. The same workaround seems to be needed on Ubuntu.
|
|
|
|
export LD_LIBRARY_PATH=%{_libdir}/xulrunner-1.9
|
|
|
|
%endif
|
|
|
|
%configure \
|
|
|
|
--libexecdir=%{_libexecdir}/%{name} \
|
2010-02-19 16:30:32 +01:00
|
|
|
--disable-static \
|
|
|
|
--enable-compile-warnings=no
|
2010-09-09 23:18:36 +02:00
|
|
|
%__make %{?_smp_mflags}
|
2009-08-05 00:44:20 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2010-09-09 23:18:36 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2009-09-04 00:55:13 +02:00
|
|
|
%find_lang %{name}
|
2009-08-17 15:33:39 +02:00
|
|
|
%suse_update_desktop_file %{name}
|
2009-08-05 00:44:20 +02:00
|
|
|
%find_gconf_schemas
|
2009-10-08 03:03:21 +02:00
|
|
|
# Preview mode for GNOME 3
|
|
|
|
install -m755 %{S:1} %{buildroot}%{_libexecdir}/%{name}/
|
|
|
|
install -d -m755 %{buildroot}%{_datadir}/xsessions
|
|
|
|
install -m644 %{S:2} %{buildroot}%{_datadir}/xsessions/
|
|
|
|
%suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/gnome3.desktop
|
2010-09-09 23:18:36 +02:00
|
|
|
%suse_update_desktop_file gnome-shell-clock-preferences
|
2009-10-08 03:03:21 +02:00
|
|
|
install -d -m755 %{buildroot}%{_datadir}/gnome-shell/xdg-override/autostart
|
|
|
|
cp %{buildroot}%{_datadir}/applications/gnome-shell.desktop %{buildroot}%{_datadir}/gnome-shell/xdg-override/autostart/
|
2009-08-05 00:44:20 +02:00
|
|
|
|
|
|
|
%clean
|
2010-09-09 23:18:36 +02:00
|
|
|
rm -rf %{buildroot}
|
2009-08-05 00:44:20 +02:00
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
|
2010-09-09 23:18:36 +02:00
|
|
|
%post
|
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
|
2009-08-05 00:44:20 +02:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
|
2009-08-17 15:33:39 +02:00
|
|
|
%files -f %{name}.schemas_list
|
2009-08-05 00:44:20 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libexecdir}/gnome-shell
|
|
|
|
%if "%{_libdir}" != "%{_libexecdir}"
|
|
|
|
%{_libdir}/gnome-shell
|
|
|
|
%endif
|
|
|
|
%{_libdir}/mutter/plugins/*.so
|
2009-08-17 15:33:39 +02:00
|
|
|
%{_datadir}/applications/*.desktop
|
2010-09-09 23:18:36 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
|
2009-10-08 03:03:21 +02:00
|
|
|
%{_datadir}/gnome-shell/
|
|
|
|
%{_datadir}/xsessions/*.desktop
|
2010-09-09 23:18:36 +02:00
|
|
|
%{_sysconfdir}/xdg/menus/gs-applications.menu
|
2010-03-24 02:18:31 +01:00
|
|
|
%doc %{_mandir}/man?/*.*
|
2009-08-05 00:44:20 +02:00
|
|
|
|
2009-09-04 00:55:13 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2009-08-05 00:44:20 +02:00
|
|
|
%changelog
|