1 # TODO: wayland support
3 %define caribou_version 0.4.8
4 %define clutter_version 1.21.5
5 %define evolution_data_server_version 3.13.90
6 %define gcr_version 3.7.5
7 %define gjs_version 1.40.0
8 %define glib2_version 1:2.37.0
9 %define gnome_bluetooth_version 3.9.0
10 %define gnome_desktop_version 3.7.90
11 %define gnome_menus_version 3.5.3
12 %define gsettings_desktop_schemas_version 3.13.1
13 %define gtk_version 3.15.0
14 %define json_glib_version 0.13.90
15 %define libcroco_version 0.6.8
16 %define mutter_version 3.16.0
17 %define networkmanager_version 0.9.8
18 %define polkit_version 0.100
19 %define pulseaudio_version 2.0
20 %define startup_notification_version 0.11
21 %define telepathy_glib_version 0.17.5
23 Summary: Window manager and application launcher for GNOME
28 Group: X11/Window Managers
29 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.16/%{name}-%{version}.tar.xz
30 # Source0-md5: e98d5ead445430d70dba772276a499db
32 URL: http://live.gnome.org/GnomeShell
33 BuildRequires: NetworkManager-devel >= %{networkmanager_version}
34 BuildRequires: NetworkManager-gtk-lib-devel >= %{networkmanager_version}
35 BuildRequires: autoconf >= 2.63
36 BuildRequires: automake >= 1:1.11
37 BuildRequires: clutter-devel >= %{clutter_version}
38 BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version}
39 BuildRequires: gcr-devel >= %{gcr_version}
40 BuildRequires: gdk-pixbuf2-devel
41 BuildRequires: gettext-tools >= 0.17
42 BuildRequires: gjs-devel >= %{gjs_version}
43 BuildRequires: glib2-devel >= %{glib2_version}
44 BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_version}
45 BuildRequires: gnome-common
46 BuildRequires: gnome-control-center-devel
47 BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version}
48 BuildRequires: gnome-menus-devel >= %{gnome_menus_version}
49 BuildRequires: gobject-introspection-devel >= 0.10.1
50 BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
51 BuildRequires: gstreamer-devel >= 1.0.0
52 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
53 BuildRequires: gtk+3-devel >= %{gtk_version}
54 BuildRequires: gtk-doc >= 1.15
55 BuildRequires: intltool >= 0.40
56 BuildRequires: json-glib-devel >= %{json_glib_version}
57 BuildRequires: libcanberra-devel
58 BuildRequires: libcanberra-gtk3-devel
59 BuildRequires: libcroco-devel >= 0.6.8
60 BuildRequires: libsecret-devel
61 BuildRequires: libsoup-devel
62 BuildRequires: libtool >= 2:2.2.6
63 BuildRequires: libxml2-devel
64 BuildRequires: libxslt-progs
65 BuildRequires: mutter-devel >= %{mutter_version}
66 BuildRequires: pkgconfig >= 1:0.22
67 BuildRequires: polkit-devel >= %{polkit_version}
68 BuildRequires: pulseaudio-devel >= %{pulseaudio_version}
69 BuildRequires: python3
70 BuildRequires: rpm-pythonprov
71 BuildRequires: rpmbuild(macros) >= 1.601
72 BuildRequires: ruby-sass
73 BuildRequires: startup-notification-devel >= %{startup_notification_version}
74 BuildRequires: systemd-devel
75 BuildRequires: tar >= 1:1.22
76 BuildRequires: telepathy-glib-devel >= %{telepathy_glib_version}
77 BuildRequires: xorg-lib-libX11-devel
78 BuildRequires: xorg-lib-libXfixes-devel
80 Requires(post,postun): glib2 >= 1:2.26.0
81 Requires: NetworkManager-libs >= %{networkmanager_version}
82 Requires: at-spi2-atk >= 2.4.0
83 Requires: caribou >= %{caribou_version}
84 Requires: clutter >= %{clutter_version}
85 Requires: evolution-data-server >= %{evolution_data_server_version}
86 Requires: gcr >= %{gcr_version}
87 Requires: gjs >= %{gjs_version}
88 Requires: glib2 >= %{glib2_version}
89 Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_version}
90 Requires: gnome-desktop >= %{gnome_desktop_version}
91 Requires: gnome-menus >= %{gnome_menus_version}
92 Requires: gnome-settings-daemon >= 3.8.0
93 Requires: gnome-themes-standard
94 Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
95 Requires: gtk+3 >= %{gtk_version}
96 Requires: json-glib >= %{json_glib_version}
97 Requires: libcroco >= %{libcroco_version}
98 Requires: mutter >= %{mutter_version}
99 Requires: nautilus >= 3.8.0
100 Requires: polkit >= %{polkit_version}
101 Requires: pulseaudio-libs >= %{pulseaudio_version}
102 Requires: startup-notification >= %{startup_notification_version}
103 Requires: telepathy-glib >= %{telepathy_glib_version}
104 Requires: telepathy-logger-libs >= 0.2
105 Requires: telepathy-mission-control
106 Suggests: gnome-contacts >= 3.2.0
107 Suggests: gnome-icon-theme-symbolic >= 3.8.0
108 Provides: gdm-wm = 3.8.0
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
120 Summary: Development files for GNOME Shell
121 Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell
122 Group: Development/Libraries
125 This package provides development files for GNOME Shell.
127 %description devel -l pl.UTF-8
128 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
131 Summary: GNOME Shell API documentation
132 Summary(pl.UTF-8): Dokumentacja API GNOME Shell
134 Requires: gtk-doc-common
135 %if "%{_rpmversion}" >= "5"
140 This package provides GNOME Shell API documentation.
142 %description apidocs -l pl.UTF-8
143 Ten pakiet dostarcza dokumentację API GNOME Shell.
145 %package -n browser-plugin-%{name}
146 Summary: gnome-shell plugin for WWW browsers
147 Summary(pl.UTF-8): Wtyczka gnome-shell do przeglądarek WWW
149 Requires: %{name} = %{version}-%{release}
150 Requires: browser-plugins >= 2.0
151 Requires: browser-plugins(%{_target_base_arch})
153 %description -n browser-plugin-%{name}
154 gnome-shell plugin for WWW browsers.
156 %description -n browser-plugin-%{name} -l pl.UTF-8
157 Wtyczka gnome-shell do przeglądarek WWW.
172 --disable-silent-rules \
174 --with-html-dir=%{_gtkdocdir}
178 rm -rf $RPM_BUILD_ROOT
179 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
182 INSTALL="install -p" \
183 install_sh="install -p" \
184 DESTDIR=$RPM_BUILD_ROOT \
185 mozillalibdir=%{_browserpluginsdir}
187 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \
188 $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
189 # evolution already ships this file
190 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
195 rm -rf $RPM_BUILD_ROOT
198 %glib_compile_schemas
201 if [ "$1" = "0" ]; then
202 %glib_compile_schemas
205 %post -n browser-plugin-%{name}
206 %update_browser_plugins
208 %postun -n browser-plugin-%{name}
209 if [ "$1" = 0 ]; then
210 %update_browser_plugins
213 %files -f %{name}.lang
214 %defattr(644,root,root,755)
215 %attr(755,root,root) %{_bindir}/gnome-shell
216 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
217 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
218 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
219 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
220 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
221 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
222 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
223 %dir %{_libdir}/gnome-shell
224 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
225 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so
226 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
227 %{_libdir}/gnome-shell/Gvc-1.0.typelib
228 %{_libdir}/gnome-shell/Shell-0.1.typelib
229 %{_libdir}/gnome-shell/ShellJS-0.1.typelib
230 %{_libdir}/gnome-shell/St-1.0.typelib
231 %{_libdir}/gnome-shell/ShellMenu-0.1.typelib
232 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
233 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
234 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
235 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
236 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
237 %{_datadir}/gnome-control-center/keybindings/*.xml
238 %{_datadir}/gnome-shell
239 %{_desktopdir}/gnome-shell.desktop
240 %{_desktopdir}/gnome-shell-extension-prefs.desktop
241 %{_desktopdir}/gnome-shell-wayland.desktop
242 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
243 %{_mandir}/man1/gnome-shell.1*
246 %defattr(644,root,root,755)
247 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
248 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
249 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
250 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
253 %defattr(644,root,root,755)
257 %files -n browser-plugin-%{name}
258 %defattr(644,root,root,755)
259 %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so