Dominique Leuenberger
8b085774fe
Add patch to link to libGL OBS-URL: https://build.opensuse.org/request/show/100550 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=95
191 lines
6.6 KiB
RPMSpec
191 lines
6.6 KiB
RPMSpec
#
|
|
# spec file for package gnome-shell
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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
|
|
Version: 3.3.3
|
|
Release: 0
|
|
Summary: GNOME Shell
|
|
License: GPL-2.0+
|
|
Group: System/GUI/GNOME
|
|
Url: http://live.gnome.org/GnomeShell
|
|
Source: http://download.gnome.org/sources/gnome-shell/3.3/%{name}-%{version}.tar.xz
|
|
# PATCH-FIX-UPSTREAM gnome-shell-link-gl.patch vuntz@opensuse.org -- Explicitly link to GL, taken from git
|
|
Patch0: gnome-shell-link-gl.patch
|
|
# needed for patch0
|
|
BuildRequires: gnome-common
|
|
BuildRequires: intltool
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
# needed for directory ownership
|
|
BuildRequires: dbus-1
|
|
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
|
|
BuildRequires: xz
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.7.5
|
|
BuildRequires: pkgconfig(folks) >= 0.5.2
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.31.0
|
|
BuildRequires: pkgconfig(gjs-1.0) >= 1.29.18
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.1.0
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
BuildRequires: pkgconfig(gnome-keyring-1)
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1
|
|
BuildRequires: pkgconfig(gstreamer-0.10) >= 0.10.16
|
|
BuildRequires: pkgconfig(gstreamer-base-0.10)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 0.13.2
|
|
BuildRequires: pkgconfig(libcanberra)
|
|
BuildRequires: pkgconfig(libcroco-0.6)
|
|
BuildRequires: pkgconfig(libedataserver-1.2) >= 1.2.0
|
|
BuildRequires: pkgconfig(libgnome-menu-3.0)
|
|
BuildRequires: pkgconfig(libmutter) >= 3.3.3
|
|
BuildRequires: pkgconfig(libnm-glib)
|
|
BuildRequires: pkgconfig(libnm-util)
|
|
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11
|
|
BuildRequires: pkgconfig(mutter-plugins)
|
|
BuildRequires: pkgconfig(polkit-agent-1) >= 0.100
|
|
BuildRequires: pkgconfig(telepathy-glib) >= 0.15.5
|
|
BuildRequires: pkgconfig(telepathy-logger-0.2) >= 0.2.4
|
|
BuildRequires: pkgconfig(xfixes)
|
|
Requires: gdk-pixbuf-loader-rsvg
|
|
# To open contacts that have been searched for
|
|
Requires: gnome-contacts
|
|
Requires: gnome-icon-theme-symbolic
|
|
Requires: gnome-session
|
|
# For a GSettings schema and power system icon
|
|
Requires: gnome-settings-daemon
|
|
Requires: gsettings-desktop-schemas
|
|
## Finally, dependencies for session services that are needed for system icons and the user menu
|
|
# bluetooth system icon
|
|
Requires: gnome-bluetooth
|
|
# "System settings" menu item
|
|
Requires: gnome-control-center
|
|
# "High Contrast" in accessibility status icon
|
|
Requires: gnome-themes-accessibility
|
|
# "Lock screen" menu item
|
|
Requires: gnome-screensaver
|
|
# network system icon
|
|
Requires: NetworkManager-gnome
|
|
# 11.4 doesn't have typelib dependency
|
|
%if 0%{?suse_version} < 1210
|
|
Requires: libaccountsservice0
|
|
Requires: libcaribou0
|
|
Requires: libgdmgreeter1
|
|
%endif
|
|
Recommends: %{name}-browser-plugin
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%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.
|
|
|
|
%package devel
|
|
Summary: GNOME Shell -- Development Files
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
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.
|
|
|
|
%package browser-plugin
|
|
Summary: GNOME Shell Browser Plugin for the Extensions Repository
|
|
Group: System/GUI/GNOME
|
|
Requires: %{name} = %{version}
|
|
Supplements: packageand(%{name}:MozillaFirefox)
|
|
|
|
%description browser-plugin
|
|
The GNOME Shell Browser Plugin provides integration with gnome-shell
|
|
and the corresponding extensions repository. The plugin allows the
|
|
extensions repository to provide good integration, letting the website
|
|
know which extensions are enabled and disabled, and allowing the website
|
|
to enable, disable and install them.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
%patch0 -p1
|
|
|
|
%build
|
|
# needed for patch0
|
|
NOCONFIGURE=1 gnome-autogen.sh
|
|
export BROWSER_PLUGIN_DIR=%{_libdir}/browser-plugins
|
|
%configure \
|
|
--disable-static \
|
|
--libexecdir=%{_libexecdir}/%{name} \
|
|
--disable-schemas-install \
|
|
--enable-compile-warnings=no \
|
|
--with-ca-certificates=%{_sysconfdir}/ssl/ca-bundle.pem
|
|
%__make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
# This is the directory where extensions get installed
|
|
install -d %{buildroot}%{_datadir}/gnome-shell/extensions
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%suse_update_desktop_file %{name}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%desktop_database_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING README NEWS
|
|
%{_bindir}/gnome-shell
|
|
%{_bindir}/gnome-shell-extension-tool
|
|
%{_libexecdir}/gnome-shell/
|
|
%if "%{_libdir}" != "%{_libexecdir}"
|
|
%{_libdir}/gnome-shell/
|
|
%endif
|
|
%{_datadir}/applications/gnome-shell.desktop
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
|
|
%{_datadir}/gnome-shell/
|
|
%dir %{_datadir}/gnome-shell/extensions
|
|
%doc %{_mandir}/man?/gnome-shell.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc %{_datadir}/gtk-doc/html/st/
|
|
%doc %{_datadir}/gtk-doc/html/shell/
|
|
|
|
%files browser-plugin
|
|
%defattr(-,root,root)
|
|
%doc browser-plugin/README
|
|
%{_libdir}/browser-plugins/libgnome-shell-browser-plugin.*
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|