1 %define caribou_version 0.4.8
2 %define clutter_version 1.21.5
3 %define evolution_data_server_version 3.18.0
4 %define gcr_version 3.7.5
5 %define gjs_version 1.47.0
6 %define glib2_version 1:2.46.0
7 %define gnome_bluetooth_version 3.9.0
8 %define gnome_desktop_version 3.7.90
9 %define gnome_menus_version 3.5.3
10 %define gsettings_desktop_schemas_version 3.22.0
11 %define gtk_version 3.15.0
12 %define json_glib_version 0.13.90
13 %define libcroco_version 0.6.8
14 %define mutter_version 3.30.0
15 %define networkmanager_version 0.9.8
16 %define polkit_version 0.100
17 %define pulseaudio_version 2.0
18 %define startup_notification_version 0.11
19 %define telepathy_glib_version 0.17.5
21 Summary: Window manager and application launcher for GNOME
26 Group: X11/Window Managers
27 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.32/%{name}-%{version}.tar.xz
28 # Source0-md5: 632b67075ebdc183f94461fa05a8505b
29 URL: http://live.gnome.org/GnomeShell
30 BuildRequires: NetworkManager-devel >= %{networkmanager_version}
31 BuildRequires: NetworkManager-gtk-lib-devel >= %{networkmanager_version}
32 BuildRequires: clutter-devel >= %{clutter_version}
33 BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version}
34 BuildRequires: gcr-devel >= %{gcr_version}
35 BuildRequires: gdk-pixbuf2-devel
36 BuildRequires: gettext-tools >= 0.19.6
37 BuildRequires: gjs-devel >= %{gjs_version}
38 BuildRequires: glib2-devel >= %{glib2_version}
39 BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_version}
40 BuildRequires: gnome-common
41 BuildRequires: gnome-control-center-devel
42 BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version}
43 BuildRequires: gnome-menus-devel >= %{gnome_menus_version}
44 BuildRequires: gobject-introspection-devel >= 1.50.0
45 BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
46 BuildRequires: gstreamer-devel >= 1.0.0
47 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
48 BuildRequires: gtk+3-devel >= %{gtk_version}
49 BuildRequires: gtk-doc >= 1.15
50 BuildRequires: ibus-devel
51 BuildRequires: json-glib-devel >= %{json_glib_version}
52 BuildRequires: libcanberra-devel
53 BuildRequires: libcanberra-gtk3-devel
54 BuildRequires: libcroco-devel >= 0.6.8
55 BuildRequires: libsecret-devel >= 0.18
56 BuildRequires: libsoup-devel
57 BuildRequires: libxml2-devel
58 BuildRequires: libxslt-progs
59 BuildRequires: meson >= 0.42.0
60 BuildRequires: mutter-devel >= %{mutter_version}
62 BuildRequires: pkgconfig >= 1:0.22
63 BuildRequires: polkit-devel >= %{polkit_version}
64 BuildRequires: pulseaudio-devel >= %{pulseaudio_version}
65 BuildRequires: python3
66 BuildRequires: rpm-pythonprov
67 BuildRequires: rpmbuild(macros) >= 1.601
68 BuildRequires: ruby-sass
70 BuildRequires: startup-notification-devel >= %{startup_notification_version}
71 BuildRequires: systemd-devel
72 BuildRequires: tar >= 1:1.22
73 BuildRequires: telepathy-glib-devel >= %{telepathy_glib_version}
74 BuildRequires: xorg-lib-libX11-devel
75 BuildRequires: xorg-lib-libXfixes-devel
77 Requires(post,postun): glib2 >= 1:2.26.0
78 Requires: NetworkManager-libs >= %{networkmanager_version}
79 Requires: at-spi2-atk >= 2.4.0
80 Requires: caribou-libs >= %{caribou_version}
81 Requires: clutter >= %{clutter_version}
82 Requires: evolution-data-server >= %{evolution_data_server_version}
83 Requires: gcr >= %{gcr_version}
84 Requires: gjs >= %{gjs_version}
85 Requires: glib2 >= %{glib2_version}
86 Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_version}
87 Requires: gnome-desktop >= %{gnome_desktop_version}
88 Requires: gnome-menus >= %{gnome_menus_version}
89 Requires: gnome-settings-daemon >= 3.8.0
90 Requires: gnome-themes-standard
91 Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
92 Requires: gtk+3 >= %{gtk_version}
93 Requires: json-glib >= %{json_glib_version}
94 Requires: libcroco >= %{libcroco_version}
95 Requires: mutter >= %{mutter_version}
96 Requires: nautilus >= 3.8.0
97 Requires: polkit >= %{polkit_version}
98 Requires: pulseaudio-libs >= %{pulseaudio_version}
99 Requires: startup-notification >= %{startup_notification_version}
100 Requires: telepathy-glib >= %{telepathy_glib_version}
101 Requires: telepathy-logger-libs >= 0.2
102 Requires: telepathy-mission-control
103 Suggests: gnome-contacts >= 3.2.0
104 Suggests: gnome-icon-theme-symbolic >= 3.8.0
105 Provides: gdm-wm = 3.8.0
106 Obsoletes: browser-plugin-gnome-shell < 3.32.2-1
107 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
110 GNOME Shell is the defining technology of the GNOME 3 desktop user
111 experience. It provides core interface functions like switching to
112 windows and launching applications. GNOME Shell takes advantage of the
113 capabilities of modern graphics hardware and introduces innovative
114 user interface concepts to provide a delightful and easy to use
118 Summary: Development files for GNOME Shell
119 Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell
120 Group: Development/Libraries
123 This package provides development files for GNOME Shell.
125 %description devel -l pl.UTF-8
126 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
129 Summary: GNOME Shell API documentation
130 Summary(pl.UTF-8): Dokumentacja API GNOME Shell
132 Requires: gtk-doc-common
133 %if "%{_rpmversion}" >= "5"
138 This package provides GNOME Shell API documentation.
140 %description apidocs -l pl.UTF-8
141 Ten pakiet dostarcza dokumentacjÄ™ API GNOME Shell.
149 %meson_build -C build
152 rm -rf $RPM_BUILD_ROOT
153 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
155 %meson_install -C build
157 # evolution already ships this file
158 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
160 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
165 rm -rf $RPM_BUILD_ROOT
168 %glib_compile_schemas
171 if [ "$1" = "0" ]; then
172 %glib_compile_schemas
175 %files -f %{name}.lang
176 %defattr(644,root,root,755)
177 %attr(755,root,root) %{_bindir}/gnome-shell
178 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
179 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
180 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
181 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
182 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
183 %attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh
184 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
185 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
186 %dir %{_libdir}/gnome-shell
187 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
188 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
189 %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
190 %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
191 %{_libdir}/gnome-shell/Gvc-1.0.typelib
192 %{_libdir}/gnome-shell/Shell-0.1.typelib
193 %{_libdir}/gnome-shell/St-1.0.typelib
194 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
195 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
196 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
197 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
198 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
199 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
200 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
201 %{_datadir}/gnome-control-center/keybindings/*.xml
202 %{_datadir}/gnome-shell
203 %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
204 %{_desktopdir}/gnome-shell-extension-prefs.desktop
205 %{_desktopdir}/org.gnome.Shell.desktop
206 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
207 %{_mandir}/man1/gnome-shell.1*
208 %{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
209 %{systemduserunitdir}/gnome-shell-wayland.target
210 %{systemduserunitdir}/gnome-shell-x11.target
211 %{systemduserunitdir}/gnome-shell.service
214 %defattr(644,root,root,755)
215 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
216 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
217 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
218 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
219 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
220 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
223 %defattr(644,root,root,755)