X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=gnome-shell.spec;h=2d0cb41d4d38a19627e16c2f355b7342af67c397;hb=3a0be96fa4c22067d718ab98c42ffe56e4333cb8;hp=9f51c9614667f6030a6c1cc27a280f8ce488d281;hpb=46d92bde180963b95c8a6d28d21e730a779feb9b;p=packages%2Fgnome-shell.git diff --git a/gnome-shell.spec b/gnome-shell.spec index 9f51c96..2d0cb41 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -1,54 +1,105 @@ Summary: Window manager and application launcher for GNOME Name: gnome-shell -Version: 3.0.2 -Release: 1 +Version: 3.8.0.1 +Release: 2 License: GPL v2+ Group: X11/Window Managers -Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.0/%{name}-%{version}.tar.bz2 -# Source0-md5: ea5194dc27301ca7ee00a97f5f3ab625 +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.8/%{name}-%{version}.tar.xz +# Source0-md5: f6511b663a9e3eda6f640bfab7a8fa08 URL: http://live.gnome.org/GnomeShell -BuildRequires: GConf2-devel -BuildRequires: NetworkManager-devel >= 0.8.999 +# +%define caribou_version 0.4.8 +%define clutter_version 1.13.4 +%define evolution_data_server_version 3.5.3 +%define gcr_version 3.3.90 +%define gjs_version 1.35.4 +%define glib2_version 1:2.35.0 +%define gnome_bluetooth_version 3.1.0 +%define gnome_desktop_version 3.7.90 +%define gnome_menus_version 3.5.3 +%define gsettings_desktop_schemas_version 3.7.4 +%define gtk_version 3.7.9 +%define json_glib_version 0.13.90 +%define libcroco_version 0.6.8 +%define mutter_version 3.8.0 +%define networkmanager_version 0.9.6 +%define polkit_version 0.100 +%define pulseaudio_version 2.0 +%define startup_notification_version 0.11 +%define telepathy_glib_version 0.17.5 +# +BuildRequires: NetworkManager-devel >= %{networkmanager_version} +BuildRequires: NetworkManager-gtk-lib-devel >= %{networkmanager_version} BuildRequires: autoconf >= 2.63 -BuildRequires: automake >= 1:1.10 -BuildRequires: clutter-devel >= 1.6.0 -BuildRequires: dbus-glib-devel -BuildRequires: evolution-data-server-devel >= 3.0.0 -BuildRequires: gettext-devel -BuildRequires: gjs-devel >= 0.7.11 -BuildRequires: glib2-devel >= 1:2.28.0 -BuildRequires: gnome-bluetooth-devel >= 3.0.0 -BuildRequires: gnome-desktop-devel >= 3.0.0 -BuildRequires: gnome-menus-devel +BuildRequires: automake >= 1:1.11 +BuildRequires: caribou-devel >= %{caribou_version} +BuildRequires: clutter-devel >= %{clutter_version} +BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version} +BuildRequires: gcr-devel >= %{gcr_version} +BuildRequires: gdk-pixbuf2-devel +BuildRequires: gettext-devel >= 0.17 +BuildRequires: gjs-devel >= %{gjs_version} +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_version} +BuildRequires: gnome-control-center-devel +BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} +BuildRequires: gnome-menus-devel >= %{gnome_menus_version} BuildRequires: gobject-introspection-devel >= 0.10.1 -BuildRequires: gsettings-desktop-schemas-devel >= 3.0.0 -BuildRequires: gstreamer-devel >= 0.10.21 -BuildRequires: gstreamer-plugins-base-devel >= 0.10.21 -BuildRequires: gtk+3-devel >= 3.0.0 -BuildRequires: intltool >= 0.26 +BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version} +BuildRequires: gstreamer-devel >= 1.0.0 +BuildRequires: gstreamer-plugins-base-devel >= 1.0.0 +BuildRequires: gtk+3-devel >= 3.7.9 +BuildRequires: gtk-doc >= 1.15 +BuildRequires: intltool >= 0.40 +BuildRequires: json-glib-devel >= %{json_glib_version} BuildRequires: libcanberra-devel -BuildRequires: libcroco-devel +BuildRequires: libcanberra-gtk3-devel +BuildRequires: libcroco-devel >= 0.6.8 +BuildRequires: libsecret-devel +BuildRequires: libsoup-devel BuildRequires: libtool >= 2:2.2.6 BuildRequires: libxml2-devel -BuildRequires: mutter-devel >= 3.0.1 +BuildRequires: libxslt-progs +BuildRequires: mutter-devel >= %{mutter_version} BuildRequires: pkgconfig >= 1:0.22 -BuildRequires: polkit-devel >= 0.100 -BuildRequires: pulseaudio-devel +BuildRequires: polkit-devel >= %{polkit_version} +BuildRequires: pulseaudio-devel >= %{pulseaudio_version} +BuildRequires: python >= 2.5 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.601 -BuildRequires: startup-notification-devel -BuildRequires: telepathy-glib-devel >= 0.14.0 -BuildRequires: telepathy-logger-devel >= 0.2.4 +BuildRequires: startup-notification-devel >= %{startup_notification_version} +BuildRequires: tar >= 1:1.22 +BuildRequires: telepathy-glib-devel >= %{telepathy_glib_version} +BuildRequires: xorg-lib-libX11-devel BuildRequires: xorg-lib-libXfixes-devel -# for libmozjs.so -BuildRequires: xulrunner-libs +BuildRequires: xz Requires(post,postun): glib2 >= 1:2.26.0 -Requires(post,preun): GConf2 -Requires: gnome-bluetooth-libs >= 3.0.0 -Requires: gnome-settings-daemon >= 3.0.0 -Requires: gsettings-desktop-schemas >= 0.1.7 -Requires: mutter >= 3.0.1 -%requires_eq xulrunner-libs +Requires: NetworkManager-libs >= %{networkmanager_version} +Requires: at-spi2-atk >= 2.4.0 +Requires: caribou >= %{caribou_version} +Requires: clutter >= %{clutter_version} +Requires: evolution-data-server >= %{evolution_data_server_version} +Requires: gcr >= %{gcr_version} +Requires: gjs >= %{gjs_version} +Requires: glib2 >= %{glib2_version} +Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_version} +Requires: gnome-desktop >= %{gnome_desktop_version} +Requires: gnome-menus >= %{gnome_menus_version} +Requires: gnome-settings-daemon >= 3.8.0 +Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version} +Requires: gtk+3 >= %{gtk_version} +Requires: json-glib >= %{json_glib_version} +Requires: libcroco >= %{libcroco_version} +Requires: mutter >= %{mutter_version} +Requires: nautilus >= 3.8.0 +Requires: polkit >= %{polkit_version} +Requires: pulseaudio-libs >= %{pulseaudio_version} +Requires: startup-notification >= %{startup_notification_version} +Requires: telepathy-glib >= %{telepathy_glib_version} +Requires: telepathy-mission-control +Suggests: gnome-contacts >= 3.2.0 +Suggests: gnome-icon-theme-symbolic >= 3.8.0 +Provides: gdm-wm = 3.8.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -59,6 +110,36 @@ capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a delightful and easy to use experience. +%package apidocs +Summary: GNOME Shell API documentation +Summary(pl.UTF-8): Dokumentacja API GNOME Shell +Group: Documentation +Requires: gtk-doc-common + +%description apidocs +This package provides GNOME Shell API documentation. + +%description apidocs -l pl.UTF-8 +Ten pakiet dostarcza dokumentację API GNOME Shell. + +%package -n browser-plugin-%{name} +Summary: gnome-shell plugin for WWW browsers +Summary(pl.UTF-8): Wtyczka gnome-shell do przeglądarek WWW +Group: X11/Libraries +Requires: %{name} = %{version}-%{release} +Requires: browser-plugins >= 2.0 +Requires: browser-plugins(%{_target_base_arch}) +Provides: mozilla-firefox-plugin-gnome-shell = %{version}-%{release} +Provides: mozilla-plugin-gnome-shell = %{version}-%{release} +Obsoletes: mozilla-firefox-plugin-gnome-shell < %{version}-%{release} +Obsoletes: mozilla-plugin-gnome-shell < %{version}-%{release} + +%description -n browser-plugin-%{name} +gnome-shell plugin for WWW browsers. + +%description -n browser-plugin-%{name} -l pl.UTF-8 +Wtyczka gnome-shell do przeglądarek WWW. + %prep %setup -q @@ -69,29 +150,27 @@ experience. %{__autoconf} %{__autoheader} %{__automake} -export LD_LIBRARY_PATH=%{_libdir}/xulrunner %configure \ - --disable-schemas-install \ + --enable-gtk-doc \ --disable-silent-rules \ - --disable-static + --disable-static \ + --with-html-dir=%{_gtkdocdir} %{__make} -j1 %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers} %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT + INSTALL="install -p" \ + install_sh="install -p" \ + DESTDIR=$RPM_BUILD_ROOT \ + mozillalibdir=%{_browserpluginsdir} -mv $RPM_BUILD_ROOT%{_bindir}/gnome-shell{,.bin} -cat > $RPM_BUILD_ROOT%{_bindir}/gnome-shell <<'EOF' -#!/bin/sh -LD_LIBRARY_PATH=%{_libdir}/xulrunner -export LD_LIBRARY_PATH -exec %{_bindir}/gnome-shell.bin "${@}" -EOF -chmod a+rx $RPM_BUILD_ROOT%{_bindir}/gnome-shell - -%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \ + $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la +# evolution already ships this file +%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop %find_lang %{name} @@ -99,33 +178,55 @@ chmod a+rx $RPM_BUILD_ROOT%{_bindir}/gnome-shell rm -rf $RPM_BUILD_ROOT %post -%gconf_schema_install gnome-shell.schemas %glib_compile_schemas -%preun -%gconf_schema_uninstall gnome-shell.schemas - %postun if [ "$1" = "0" ]; then %glib_compile_schemas fi +%post -n browser-plugin-%{name} +%update_browser_plugins + +%postun -n browser-plugin-%{name} +if [ "$1" = 0 ]; then + %update_browser_plugins +fi + %files -f %{name}.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/gnome-shell -%attr(755,root,root) %{_bindir}/gnome-shell.bin +%attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool -%attr(755,root,root) %{_libdir}/gnome-shell-calendar-server -%attr(755,root,root) %{_libdir}/gnome-shell-perf-helper -%{_sysconfdir}/gconf/schemas/gnome-shell.schemas +%attr(755,root,root) %{_bindir}/gnome-shell-perf-tool +%attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server +%attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer +%attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper %dir %{_libdir}/gnome-shell %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so -%{_libdir}/gnome-shell/Gdm-1.0.typelib +%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so %{_libdir}/gnome-shell/Gvc-1.0.typelib %{_libdir}/gnome-shell/Shell-0.1.typelib +%{_libdir}/gnome-shell/ShellJS-0.1.typelib %{_libdir}/gnome-shell/St-1.0.typelib +%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert +%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml +%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml +%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml %{_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-control-center/keybindings/*.xml %{_datadir}/gnome-shell %{_desktopdir}/gnome-shell.desktop +%{_desktopdir}/gnome-shell-extension-prefs.desktop %{_mandir}/man1/gnome-shell.1* + +%files apidocs +%defattr(644,root,root,755) +%{_gtkdocdir}/shell +%{_gtkdocdir}/st + +%files -n browser-plugin-%{name} +%defattr(644,root,root,755) +%attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so