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.32/%{name}-%{version}.tar.xz
27 # Source0-md5: 632b67075ebdc183f94461fa05a8505b
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-bluetooth-devel >= %{gnome_bluetooth_ver}
39 BuildRequires: gnome-control-center-devel
40 # for cldr2json.py (through pygobject->gi)
41 BuildRequires: gnome-desktop >= %{gnome_desktop_ver}
42 BuildRequires: gobject-introspection-devel >= 1.50.0
43 BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_ver}
44 BuildRequires: gstreamer-devel >= 1.0.0
45 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
46 BuildRequires: gtk+3-devel >= %{gtk_ver}
47 BuildRequires: gtk-doc >= 1.15
48 BuildRequires: ibus-devel >= 1.5.2
49 BuildRequires: json-glib-devel >= %{json_glib_ver}
50 BuildRequires: libcanberra-devel
51 BuildRequires: libcanberra-gtk3-devel
52 BuildRequires: libcroco-devel >= %{libcroco_ver}
53 BuildRequires: libsecret-devel >= %{libsecret_ver}
54 BuildRequires: libsoup-devel
55 BuildRequires: libxml2-devel >= 2.0
56 BuildRequires: libxslt-progs
57 BuildRequires: meson >= 0.47.0
58 BuildRequires: mutter-devel >= %{mutter_ver}
59 BuildRequires: ninja >= 1.5
60 BuildRequires: pkgconfig >= 1:0.22
61 BuildRequires: polkit-devel >= %{polkit_ver}
62 BuildRequires: pulseaudio-devel >= %{pulseaudio_ver}
63 BuildRequires: python3
64 BuildRequires: python3-pygobject3 >= 3
65 BuildRequires: rpm-pythonprov
66 BuildRequires: rpmbuild(macros) >= 1.601
68 BuildRequires: startup-notification-devel >= %{startup_notification_ver}
69 BuildRequires: systemd-devel
70 BuildRequires: tar >= 1:1.22
71 BuildRequires: xorg-lib-libX11-devel
72 BuildRequires: xorg-lib-libXfixes-devel
74 Requires(post,postun): glib2 >= 1:2.26.0
76 Requires: NetworkManager-gtk-lib >= %{NetworkManager_ver}
77 Requires: NetworkManager-libs >= %{NetworkManager_ver}
78 Requires: at-spi2-atk >= 2.4.0
79 Requires: clutter >= %{clutter_ver}
80 Requires: evolution-data-server >= %{evolution_data_server_ver}
81 Requires: gcr >= %{gcr_ver}
82 Requires: gjs >= %{gjs_ver}
83 Requires: glib2 >= %{glib_ver}
84 Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_ver}
85 Requires: gnome-desktop >= %{gnome_desktop_ver}
86 Requires: gnome-settings-daemon >= 3.8.0
87 Requires: gnome-themes-standard
88 Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_ver}
89 Requires: gtk+3 >= %{gtk_ver}
90 Requires: ibus >= 1.5.2
91 Requires: json-glib >= %{json_glib_ver}
92 Requires: libcroco >= %{libcroco_ver}
93 Requires: libsecret >= %{libsecret_ver}
94 Requires: mutter >= %{mutter_ver}
95 Requires: nautilus >= 3.8.0
96 Requires: polkit >= %{polkit_ver}
97 Requires: pulseaudio-libs >= %{pulseaudio_ver}
98 Requires: startup-notification >= %{startup_notification_ver}
99 # gjs->gir->TelepathyGLib
100 Requires: telepathy-glib >= 0.17.5
101 # gjs->gir->TelepathyLogger
102 Requires: telepathy-logger-libs >= 0.2
103 Requires: telepathy-mission-control
104 Suggests: gnome-contacts >= 3.2.0
105 Suggests: gnome-icon-theme-symbolic >= 3.8.0
106 Provides: gdm-wm = 3.8.0
107 Obsoletes: browser-plugin-gnome-shell < 3.32.2-1
108 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
111 GNOME Shell is the defining technology of the GNOME 3 desktop user
112 experience. It provides core interface functions like switching to
113 windows and launching applications. GNOME Shell takes advantage of the
114 capabilities of modern graphics hardware and introduces innovative
115 user interface concepts to provide a delightful and easy to use
118 %description -l pl.UTF-8
119 GNOME Shell to technologia definiująca doznania użytkownika środowiska
120 graficznego GNOME 3. Zapewnia podstawowe funkcje interfejsu, takie jak
121 przełączanie między oknami czy uruchamianie aplikacji. GNOME Shell
122 wykorzystuje mozliwości współczesnego sprzętu graficznego i wprowadza
123 innowacyjne koncepcje interfejsu użytkownika, zapewniające przyjemne
124 doznania i łatwość użycia.
127 Summary: Development files for GNOME Shell
128 Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell
129 Group: Development/Libraries
132 This package provides development files for GNOME Shell.
134 %description devel -l pl.UTF-8
135 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
138 Summary: GNOME Shell API documentation
139 Summary(pl.UTF-8): Dokumentacja API GNOME Shell
141 Requires: gtk-doc-common
142 %if "%{_rpmversion}" >= "5"
147 This package provides GNOME Shell API documentation.
149 %description apidocs -l pl.UTF-8
150 Ten pakiet dostarcza dokumentację API GNOME Shell.
158 %meson_build -C build
161 rm -rf $RPM_BUILD_ROOT
162 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
164 %meson_install -C build
166 # evolution already ships this file
167 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
169 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
174 rm -rf $RPM_BUILD_ROOT
177 %glib_compile_schemas
180 if [ "$1" = "0" ]; then
181 %glib_compile_schemas
184 %files -f %{name}.lang
185 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_bindir}/gnome-shell
188 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
189 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
190 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
191 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
192 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
193 %attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh
194 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
195 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
196 %dir %{_libdir}/gnome-shell
197 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
198 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
199 %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
200 %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
201 %{_libdir}/gnome-shell/Gvc-1.0.typelib
202 %{_libdir}/gnome-shell/Shell-0.1.typelib
203 %{_libdir}/gnome-shell/St-1.0.typelib
204 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
205 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
206 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
207 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
208 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
209 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
210 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
211 %{_datadir}/gnome-control-center/keybindings/*.xml
212 %{_datadir}/gnome-shell
213 %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
214 %{_desktopdir}/gnome-shell-extension-prefs.desktop
215 %{_desktopdir}/org.gnome.Shell.desktop
216 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
217 %{_mandir}/man1/gnome-shell.1*
218 %{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
219 %{systemduserunitdir}/gnome-shell-wayland.target
220 %{systemduserunitdir}/gnome-shell-x11.target
221 %{systemduserunitdir}/gnome-shell.service
224 %defattr(644,root,root,755)
225 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
226 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
227 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
228 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
229 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
230 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
233 %defattr(644,root,root,755)