1 %define clutter_ver 1.21.5
2 %define evolution_data_server_ver 3.18.0
5 %define glib_ver 1:2.56.0
6 %define gnome_bluetooth_ver 3.9.0
7 %define gnome_desktop_ver 3.7.90
8 %define gsettings_desktop_schemas_ver 3.28.0
10 %define json_glib_ver 0.13.90
11 %define libcroco_ver 0.6.8
12 %define libsecret_ver 0.18
13 %define mutter_ver 3.32.0
14 %define NetworkManager_ver 1.10.4
15 %define polkit_ver 0.100
16 %define pulseaudio_ver 2.0
17 %define startup_notification_ver 0.11
19 Summary: Window manager and application launcher for GNOME
20 Summary(pl.UTF-8): Zarządca okien i uruchamiania aplikacji dla GNOME
25 Group: X11/Window Managers
26 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.34/%{name}-%{version}.tar.xz
27 # Source0-md5: 2e00c22673d069d6b919b2ca1b225d89
28 URL: http://live.gnome.org/GnomeShell
29 BuildRequires: NetworkManager-devel >= %{NetworkManager_ver}
30 BuildRequires: at-spi2-atk-devel
31 BuildRequires: clutter-devel >= %{clutter_ver}
32 BuildRequires: evolution-data-server-devel >= %{evolution_data_server_ver}
33 BuildRequires: gcr-devel >= %{gcr_ver}
34 BuildRequires: gdk-pixbuf2-devel
35 BuildRequires: gettext-tools >= 0.19.6
36 BuildRequires: gjs-devel >= %{gjs_ver}
37 BuildRequires: glib2-devel >= %{glib_ver}
38 BuildRequires: gnome-autoar-devel
39 BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_ver}
40 BuildRequires: gnome-control-center-devel
41 # for cldr2json.py (through pygobject->gi)
42 BuildRequires: gnome-desktop >= %{gnome_desktop_ver}
43 BuildRequires: gobject-introspection-devel >= 1.50.0
44 BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_ver}
45 BuildRequires: gstreamer-devel >= 1.0.0
46 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
47 BuildRequires: gtk+3-devel >= %{gtk_ver}
48 BuildRequires: gtk-doc >= 1.15
49 BuildRequires: ibus-devel >= 1.5.2
50 BuildRequires: json-glib-devel >= %{json_glib_ver}
51 BuildRequires: libcanberra-devel
52 BuildRequires: libcanberra-gtk3-devel
53 BuildRequires: libcroco-devel >= %{libcroco_ver}
54 BuildRequires: libsecret-devel >= %{libsecret_ver}
55 BuildRequires: libsoup-devel
56 BuildRequires: libxml2-devel >= 2.0
57 BuildRequires: libxslt-progs
58 BuildRequires: meson >= 0.47.0
59 BuildRequires: mutter-devel >= %{mutter_ver}
60 BuildRequires: ninja >= 1.5
61 BuildRequires: pkgconfig >= 1:0.22
62 BuildRequires: polkit-devel >= %{polkit_ver}
63 BuildRequires: pulseaudio-devel >= %{pulseaudio_ver}
64 BuildRequires: python3
65 BuildRequires: python3-pygobject3 >= 3
66 BuildRequires: rpm-pythonprov
67 BuildRequires: rpmbuild(macros) >= 1.601
69 BuildRequires: startup-notification-devel >= %{startup_notification_ver}
70 BuildRequires: systemd-devel
71 BuildRequires: tar >= 1:1.22
72 BuildRequires: xorg-lib-libX11-devel
73 BuildRequires: xorg-lib-libXfixes-devel
75 Requires(post,postun): glib2 >= 1:2.26.0
77 Requires: NetworkManager-gtk-lib >= %{NetworkManager_ver}
78 Requires: NetworkManager-libs >= %{NetworkManager_ver}
79 Requires: at-spi2-atk >= 2.4.0
80 Requires: clutter >= %{clutter_ver}
81 Requires: evolution-data-server >= %{evolution_data_server_ver}
82 Requires: gcr >= %{gcr_ver}
83 Requires: gjs >= %{gjs_ver}
84 Requires: glib2 >= %{glib_ver}
85 Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_ver}
86 Requires: gnome-desktop >= %{gnome_desktop_ver}
87 Requires: gnome-settings-daemon >= 3.8.0
88 Requires: gnome-themes-standard
89 Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_ver}
90 Requires: gtk+3 >= %{gtk_ver}
91 Requires: ibus >= 1.5.2
92 Requires: json-glib >= %{json_glib_ver}
93 Requires: libcroco >= %{libcroco_ver}
94 Requires: libsecret >= %{libsecret_ver}
95 Requires: mutter >= %{mutter_ver}
96 Requires: nautilus >= 3.8.0
97 Requires: polkit >= %{polkit_ver}
98 Requires: pulseaudio-libs >= %{pulseaudio_ver}
99 Requires: startup-notification >= %{startup_notification_ver}
100 # gjs->gir->TelepathyGLib
101 Requires: telepathy-glib >= 0.17.5
102 # gjs->gir->TelepathyLogger
103 Requires: telepathy-logger-libs >= 0.2
104 Requires: telepathy-mission-control
105 Suggests: gnome-contacts >= 3.2.0
106 Suggests: gnome-icon-theme-symbolic >= 3.8.0
107 Provides: gdm-wm = 3.8.0
108 Obsoletes: browser-plugin-gnome-shell < 3.32.2-1
109 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
112 GNOME Shell is the defining technology of the GNOME 3 desktop user
113 experience. It provides core interface functions like switching to
114 windows and launching applications. GNOME Shell takes advantage of the
115 capabilities of modern graphics hardware and introduces innovative
116 user interface concepts to provide a delightful and easy to use
119 %description -l pl.UTF-8
120 GNOME Shell to technologia definiująca doznania użytkownika środowiska
121 graficznego GNOME 3. Zapewnia podstawowe funkcje interfejsu, takie jak
122 przełączanie między oknami czy uruchamianie aplikacji. GNOME Shell
123 wykorzystuje mozliwości współczesnego sprzętu graficznego i wprowadza
124 innowacyjne koncepcje interfejsu użytkownika, zapewniające przyjemne
125 doznania i łatwość użycia.
128 Summary: Development files for GNOME Shell
129 Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell
130 Group: Development/Libraries
133 This package provides development files for GNOME Shell.
135 %description devel -l pl.UTF-8
136 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
139 Summary: GNOME Shell API documentation
140 Summary(pl.UTF-8): Dokumentacja API GNOME Shell
142 Requires: gtk-doc-common
143 %if "%{_rpmversion}" >= "5"
148 This package provides GNOME Shell API documentation.
150 %description apidocs -l pl.UTF-8
151 Ten pakiet dostarcza dokumentację API GNOME Shell.
159 %meson_build -C build
162 rm -rf $RPM_BUILD_ROOT
163 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
165 %meson_install -C build
167 # evolution already ships this file
168 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
170 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
175 rm -rf $RPM_BUILD_ROOT
178 %glib_compile_schemas
181 if [ "$1" = "0" ]; then
182 %glib_compile_schemas
185 %files -f %{name}.lang
186 %defattr(644,root,root,755)
188 %attr(755,root,root) %{_bindir}/gnome-extensions
189 %attr(755,root,root) %{_bindir}/gnome-shell
190 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
191 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
192 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
193 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
194 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
195 %attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh
196 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
197 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
198 %dir %{_libdir}/gnome-shell
199 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
200 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
201 %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
202 %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
203 %{_libdir}/gnome-shell/Gvc-1.0.typelib
204 %{_libdir}/gnome-shell/Shell-0.1.typelib
205 %{_libdir}/gnome-shell/St-1.0.typelib
206 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
207 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
208 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
209 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
210 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
211 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
212 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
213 %{_datadir}/gnome-control-center/keybindings/*.xml
214 %{_datadir}/gnome-shell
215 %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
216 %{_desktopdir}/gnome-shell-extension-prefs.desktop
217 %{_desktopdir}/org.gnome.Shell.desktop
218 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
219 %{_mandir}/man1/gnome-extensions.1*
220 %{_mandir}/man1/gnome-shell.1*
221 %{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
222 %{systemduserunitdir}/gnome-shell-disable-extensions.service
223 %{systemduserunitdir}/gnome-shell-wayland.service
224 %{systemduserunitdir}/gnome-shell-wayland.target
225 %{systemduserunitdir}/gnome-shell-x11.service
226 %{systemduserunitdir}/gnome-shell-x11.target
229 %defattr(644,root,root,755)
230 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
231 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
232 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
233 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
234 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
235 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
238 %defattr(644,root,root,755)