]> git.pld-linux.org Git - packages/gnome-shell.git/blobdiff - gnome-shell.spec
- updated to 3.36.3
[packages/gnome-shell.git] / gnome-shell.spec
index 19ca23e1ec13a9b6033b9a9dbddd311941c5f194..6468a8868e8581f4e5012beb8614e9bec88a50b7 100644 (file)
+%define                clutter_ver                     1.21.5
+# max(ecal_req, eds_req)
+%define                evolution_data_server_ver       3.33.1
+%define                gcr_ver                         3.7.5
+%define                gjs_ver                         1.63.2
+%define                glib_ver                        1:2.56.0
+%define                gnome_bluetooth_ver             3.9.0
+%define                gnome_desktop_ver               3.36.0
+%define                gsettings_desktop_schemas_ver   3.33.1
+%define                gtk_ver                         3.15.0
+%define                json_glib_ver                   0.13.90
+%define                libcroco_ver                    0.6.8
+%define                libsecret_ver                   0.18
+%define                mutter_ver                      3.36.0
+%define                NetworkManager_ver              1.10.4
+%define                polkit_ver                      0.100
+%define                pulseaudio_ver                  2.0
+%define                startup_notification_ver        0.11
+
 Summary:       Window manager and application launcher for GNOME
+Summary(pl.UTF-8):     Zarządca okien i uruchamiania aplikacji dla GNOME
 Name:          gnome-shell
-Version:       3.2.1
-Release:       4
+Version:       3.36.3
+Release:       1
 License:       GPL v2+
 Group:         X11/Window Managers
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.2/%{name}-%{version}.tar.xz
-# Source0-md5: 9519921d31d8c43d054dbc11e1f0733b
-Patch0:                browser-plugin-webkit.patch
-URL:           http://live.gnome.org/GnomeShell
-BuildRequires: GConf2-devel
-BuildRequires: NetworkManager-devel >= 0.8.999
-BuildRequires: autoconf >= 2.63
-BuildRequires: automake >= 1:1.11
-BuildRequires: clutter-devel >= 1.7.5
-BuildRequires: dbus-glib-devel
-BuildRequires: evolution-data-server-devel >= 3.1.90
-BuildRequires: folks-devel >= 0.6.1
-BuildRequires: gettext-devel >= 0.17
-BuildRequires: gjs-devel >= 1.29.18
-BuildRequires: glib2-devel >= 1:2.29.10
-BuildRequires: gnome-bluetooth-devel >= 3.1.0
-BuildRequires: gnome-desktop-devel >= 3.1.90
-BuildRequires: gnome-menus-devel >= 3.1.90
-BuildRequires: gobject-introspection-devel >= 0.10.1
-BuildRequires: gsettings-desktop-schemas-devel >= 3.1.90
-BuildRequires: gstreamer-devel >= 0.10.21
-BuildRequires: gstreamer-plugins-base-devel >= 0.10.21
-BuildRequires: gtk+3-devel >= 3.0.0
-BuildRequires: intltool >= 0.40
-BuildRequires: json-glib-devel >= 0.13.90
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.36/%{name}-%{version}.tar.xz
+# Source0-md5: 9a86d5ff375c58e007cbc0f9e2ca82e4
+URL:           https://wiki.gnome.org/Projects/GnomeShell
+BuildRequires: NetworkManager-devel >= %{NetworkManager_ver}
+BuildRequires: at-spi2-atk-devel
+BuildRequires: clutter-devel >= %{clutter_ver}
+BuildRequires: evolution-data-server-devel >= %{evolution_data_server_ver}
+BuildRequires: gcr-devel >= %{gcr_ver}
+BuildRequires: gdk-pixbuf2-devel >= 2.0
+BuildRequires: gettext-tools >= 0.19.6
+BuildRequires: gjs-devel >= %{gjs_ver}
+BuildRequires: glib2-devel >= %{glib_ver}
+BuildRequires: gnome-autoar-devel
+BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_ver}
+BuildRequires: gnome-control-center-devel
+# for cldr2json.py (through pygobject->gi)
+BuildRequires: gnome-desktop >= %{gnome_desktop_ver}
+BuildRequires: gobject-introspection-devel >= 1.50.0
+BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_ver}
+BuildRequires: gstreamer-devel >= 1.0.0
+BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
+BuildRequires: gtk+3-devel >= %{gtk_ver}
+BuildRequires: gtk-doc >= 1.15
+BuildRequires: ibus-devel >= 1.5.2
+BuildRequires: json-glib-devel >= %{json_glib_ver}
 BuildRequires: libcanberra-devel
-BuildRequires: libcroco-devel >= 0.6.2
-BuildRequires: libgnome-keyring-devel
+BuildRequires: libcanberra-gtk3-devel
+BuildRequires: libcroco-devel >= %{libcroco_ver}
+BuildRequires: libsecret-devel >= %{libsecret_ver}
 BuildRequires: libsoup-devel
-BuildRequires: libtool >= 2:2.2.6
-BuildRequires: libxml2-devel
-BuildRequires: mutter-devel >= 3.2.1
+BuildRequires: libxml2-devel >= 2.0
+BuildRequires: libxslt-progs
+BuildRequires: meson >= 0.47.0
+BuildRequires: mutter-devel >= %{mutter_ver}
+BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig >= 1:0.22
-BuildRequires: polkit-devel >= 0.100
-BuildRequires: pulseaudio-devel
+BuildRequires: polkit-devel >= %{polkit_ver}
+BuildRequires: pulseaudio-devel >= %{pulseaudio_ver}
+BuildRequires: python3 >= 3
+BuildRequires: python3-pygobject3 >= 3
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.601
-BuildRequires: startup-notification-devel >= 0.11
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: sassc
+BuildRequires: sed >= 4.0
+BuildRequires: startup-notification-devel >= %{startup_notification_ver}
+BuildRequires: systemd-devel
 BuildRequires: tar >= 1:1.22
-BuildRequires: telepathy-glib-devel >= 0.15.5
-BuildRequires: telepathy-logger-devel >= 0.2.4
+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:      caribou >= 0.3.5
-Requires:      evolution-data-server >= 3.1.90
-Requires:      gnome-bluetooth-libs >= 3.1.0
-Requires:      gnome-menus >= 3.1.90
-Requires:      gnome-settings-daemon >= 3.1.90
-Requires:      gsettings-desktop-schemas >= 3.1.90
-Requires:      mutter >= 3.2.1
-Requires:      nautilus >= 3.2.0
-Requires:      telepathy-logger >= 0.2.4
-%requires_eq   xulrunner-libs
+# gjs->gi->NMA.gir
+Requires:      NetworkManager-libs >= %{NetworkManager_ver}
+Requires:      adwaita-icon-theme
+Requires:      at-spi2-atk >= 2.4.0
+Requires:      clutter >= %{clutter_ver}
+Requires:      evolution-data-server >= %{evolution_data_server_ver}
+Requires:      gcr >= %{gcr_ver}
+Requires:      gjs >= %{gjs_ver}
+Requires:      glib2 >= %{glib_ver}
+Requires:      gnome-bluetooth-libs >= %{gnome_bluetooth_ver}
+Requires:      gnome-desktop >= %{gnome_desktop_ver}
+Requires:      gnome-settings-daemon >= 3.8.0
+Requires:      gsettings-desktop-schemas >= %{gsettings_desktop_schemas_ver}
+Requires:      gtk+3 >= %{gtk_ver}
+Requires:      ibus >= 1.5.2
+Requires:      json-glib >= %{json_glib_ver}
+Requires:      libcroco >= %{libcroco_ver}
+Requires:      libsecret >= %{libsecret_ver}
+Requires:      mutter >= %{mutter_ver}
+Requires:      nautilus >= 3.8.0
+Requires:      polkit >= %{polkit_ver}
+Requires:      pulseaudio-libs >= %{pulseaudio_ver}
+Requires:      startup-notification >= %{startup_notification_ver}
+# gjs->gir->TelepathyGLib
+Requires:      telepathy-glib >= 0.17.5
+# gjs->gir->TelepathyLogger
+Requires:      telepathy-logger-libs >= 0.2
+Requires:      telepathy-mission-control
 Suggests:      gnome-contacts >= 3.2.0
-Suggests:      gnome-icon-theme-symbolic >= 3.0.0
-Provides:      gdm-wm = 3.2.1-1
+Suggests:      gnome-icon-theme-symbolic >= 3.8.0
+Provides:      gdm-wm = 3.8.0
+Obsoletes:     browser-plugin-gnome-shell < 3.32.2-1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -74,65 +117,61 @@ capabilities of modern graphics hardware and introduces innovative
 user interface concepts to provide a delightful and easy to use
 experience.
 
-%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 -l pl.UTF-8
+GNOME Shell to technologia definiująca doznania użytkownika środowiska
+graficznego GNOME 3. Zapewnia podstawowe funkcje interfejsu, takie jak
+przełączanie między oknami czy uruchamianie aplikacji. GNOME Shell
+wykorzystuje mozliwości współczesnego sprzętu graficznego i wprowadza
+innowacyjne koncepcje interfejsu użytkownika, zapewniające przyjemne
+doznania i łatwość użycia.
+
+%package devel
+Summary:       Development files for GNOME Shell
+Summary(pl.UTF-8):     Pliki programistyczne dla GNOME Shell
+Group:         Development/Libraries
+
+%description devel
+This package provides development files for GNOME Shell.
+
+%description devel -l pl.UTF-8
+Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
 
-%description -n browser-plugin-%{name}
-gnome-shell plugin for WWW browsers.
+%package apidocs
+Summary:       GNOME Shell API documentation
+Summary(pl.UTF-8):     Dokumentacja API GNOME Shell
+Group:         Documentation
+Requires:      gtk-doc-common
+%if "%{_rpmversion}" >= "4.6"
+BuildArch:     noarch
+%endif
 
-%description -n browser-plugin-%{name} -l pl.UTF-8
-Wtyczka gnome-shell do przeglądarek WWW.
+%description apidocs
+This package provides GNOME Shell API documentation.
+
+%description apidocs -l pl.UTF-8
+Ten pakiet dostarcza dokumentację API GNOME Shell.
 
 %prep
 %setup -q
-%patch0 -p1
+
+%{__sed} -i -e '/^libshew =/ s/ library/ shared_library/' subprojects/shew/src/meson.build
 
 %build
-%{__intltoolize}
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-export LD_LIBRARY_PATH=%{_libdir}/xulrunner
-%configure \
-       --with-ca-certificates=/etc/certs/ca-certificates.crt \
-       --disable-schemas-install \
-       --disable-silent-rules \
-       --disable-static
-%{__make} -j1
+%meson build \
+       -Dgtk_doc=true
+
+%meson_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions
-
-%{__make} install \
-       INSTALL="install -p" \
-       install_sh="install -p" \
-       DESTDIR=$RPM_BUILD_ROOT \
-       mozillalibdir=%{_browserpluginsdir}
-
-# TODO use rpath at link time instead of this hack
-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 \
-       $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
+install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
+
+%meson_install -C build
+
+# evolution already ships this file
+%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
 
 %find_lang %{name}
 
@@ -140,46 +179,80 @@ 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)
+%doc NEWS README.md
+%attr(755,root,root) %{_bindir}/gnome-extensions
+%attr(755,root,root) %{_bindir}/gnome-extensions-app
 %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) %{_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-overrides-migration.sh
 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
-%{_sysconfdir}/gconf/schemas/gnome-shell.schemas
+%attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
 %dir %{_libdir}/gnome-shell
 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
+%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
+%attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
+%attr(755,root,root) %{_libdir}/gnome-shell/libshew-0.so
+%attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
 %{_libdir}/gnome-shell/Gvc-1.0.typelib
 %{_libdir}/gnome-shell/Shell-0.1.typelib
 %{_libdir}/gnome-shell/St-1.0.typelib
+%dir %{_libdir}/gnome-shell/girepository-1.0
+%{_libdir}/gnome-shell/girepository-1.0/Shew-0.typelib
+%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
+%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
+%{_datadir}/dbus-1/services/org.gnome.Extensions.service
 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
+%{_datadir}/dbus-1/services/org.gnome.Shell.Extensions.service
 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
+%{_datadir}/dbus-1/services/org.gnome.Shell.Notifications.service
+%{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
+%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
+%{_datadir}/gnome-control-center/keybindings/*.xml
 %{_datadir}/gnome-shell
-%{_desktopdir}/gnome-shell.desktop
+%{_datadir}/metainfo/org.gnome.Extensions.metainfo.xml
+%{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
+%{_desktopdir}/org.gnome.Extensions.desktop
+%{_desktopdir}/org.gnome.Shell.desktop
+%{_desktopdir}/org.gnome.Shell.Extensions.desktop
+%{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.Devel.svg
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.svg
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg
+%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Extensions-symbolic.svg
+%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg
+%{_mandir}/man1/gnome-extensions.1*
 %{_mandir}/man1/gnome-shell.1*
+%{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
+%{systemduserunitdir}/gnome-shell-disable-extensions.service
+%{systemduserunitdir}/gnome-shell-wayland.service
+%{systemduserunitdir}/gnome-shell-wayland.target
+%{systemduserunitdir}/gnome-shell-x11.service
+%{systemduserunitdir}/gnome-shell-x11.target
+
+%files devel
+%defattr(644,root,root,755)
+%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
+%{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
+%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
+%{_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
 
-%files -n browser-plugin-%{name}
+%files apidocs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so
+%{_gtkdocdir}/shell
+%{_gtkdocdir}/st
This page took 0.106579 seconds and 4 git commands to generate.