2 %define caribou_version 0.4.8
3 %define clutter_version 1.13.4
4 %define evolution_data_server_version 3.5.3
5 %define gcr_version 3.3.90
6 %define gjs_version 1.35.4
7 %define glib2_version 1:2.35.0
8 %define gnome_bluetooth_version 3.1.0
9 %define gnome_desktop_version 3.7.90
10 %define gnome_menus_version 3.5.3
11 %define gsettings_desktop_schemas_version 3.7.4
12 %define gtk_version 3.7.9
13 %define json_glib_version 0.13.90
14 %define libcroco_version 0.6.8
15 %define mutter_version 3.8.3
16 %define networkmanager_version 0.9.6
17 %define polkit_version 0.100
18 %define pulseaudio_version 2.0
19 %define startup_notification_version 0.11
20 %define telepathy_glib_version 0.17.5
22 Summary: Window manager and application launcher for GNOME
27 Group: X11/Window Managers
28 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.8/%{name}-%{version}.tar.xz
29 # Source0-md5: 8c317621e5621f2eb2bc21f1ec9962b7
30 URL: http://live.gnome.org/GnomeShell
31 BuildRequires: NetworkManager-devel >= %{networkmanager_version}
32 BuildRequires: NetworkManager-gtk-lib-devel >= %{networkmanager_version}
33 BuildRequires: autoconf >= 2.63
34 BuildRequires: automake >= 1:1.11
35 BuildRequires: caribou-devel >= %{caribou_version}
36 BuildRequires: clutter-devel >= %{clutter_version}
37 BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version}
38 BuildRequires: gcr-devel >= %{gcr_version}
39 BuildRequires: gdk-pixbuf2-devel
40 BuildRequires: gettext-devel >= 0.17
41 BuildRequires: gjs-devel >= %{gjs_version}
42 BuildRequires: glib2-devel >= %{glib2_version}
43 BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_version}
44 BuildRequires: gnome-control-center-devel
45 BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version}
46 BuildRequires: gnome-menus-devel >= %{gnome_menus_version}
47 BuildRequires: gobject-introspection-devel >= 0.10.1
48 BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
49 BuildRequires: gstreamer-devel >= 1.0.0
50 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
51 BuildRequires: gtk+3-devel >= 3.7.9
52 BuildRequires: gtk-doc >= 1.15
53 BuildRequires: intltool >= 0.40
54 BuildRequires: json-glib-devel >= %{json_glib_version}
55 BuildRequires: libcanberra-devel
56 BuildRequires: libcanberra-gtk3-devel
57 BuildRequires: libcroco-devel >= 0.6.8
58 BuildRequires: libsecret-devel
59 BuildRequires: libsoup-devel
60 BuildRequires: libtool >= 2:2.2.6
61 BuildRequires: libxml2-devel
62 BuildRequires: libxslt-progs
63 BuildRequires: mutter-devel >= %{mutter_version}
64 BuildRequires: pkgconfig >= 1:0.22
65 BuildRequires: polkit-devel >= %{polkit_version}
66 BuildRequires: pulseaudio-devel >= %{pulseaudio_version}
67 BuildRequires: python >= 2.5
68 BuildRequires: rpm-pythonprov
69 BuildRequires: rpmbuild(macros) >= 1.601
70 BuildRequires: startup-notification-devel >= %{startup_notification_version}
71 BuildRequires: tar >= 1:1.22
72 BuildRequires: telepathy-glib-devel >= %{telepathy_glib_version}
73 BuildRequires: xorg-lib-libX11-devel
74 BuildRequires: xorg-lib-libXfixes-devel
76 Requires(post,postun): glib2 >= 1:2.26.0
77 Requires: NetworkManager-libs >= %{networkmanager_version}
78 Requires: at-spi2-atk >= 2.4.0
79 Requires: caribou >= %{caribou_version}
80 Requires: clutter >= %{clutter_version}
81 Requires: evolution-data-server >= %{evolution_data_server_version}
82 Requires: gcr >= %{gcr_version}
83 Requires: gjs >= %{gjs_version}
84 Requires: glib2 >= %{glib2_version}
85 Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_version}
86 Requires: gnome-desktop >= %{gnome_desktop_version}
87 Requires: gnome-menus >= %{gnome_menus_version}
88 Requires: gnome-settings-daemon >= 3.8.0
89 Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
90 Requires: gtk+3 >= %{gtk_version}
91 Requires: json-glib >= %{json_glib_version}
92 Requires: libcroco >= %{libcroco_version}
93 Requires: mutter >= %{mutter_version}
94 Requires: nautilus >= 3.8.0
95 Requires: polkit >= %{polkit_version}
96 Requires: pulseaudio-libs >= %{pulseaudio_version}
97 Requires: startup-notification >= %{startup_notification_version}
98 Requires: telepathy-glib >= %{telepathy_glib_version}
99 Requires: telepathy-mission-control
100 Suggests: gnome-contacts >= 3.2.0
101 Suggests: gnome-icon-theme-symbolic >= 3.8.0
102 Provides: gdm-wm = 3.8.0
103 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
106 GNOME Shell is the defining technology of the GNOME 3 desktop user
107 experience. It provides core interface functions like switching to
108 windows and launching applications. GNOME Shell takes advantage of the
109 capabilities of modern graphics hardware and introduces innovative
110 user interface concepts to provide a delightful and easy to use
114 Summary: GNOME Shell API documentation
115 Summary(pl.UTF-8): Dokumentacja API GNOME Shell
117 Requires: gtk-doc-common
120 This package provides GNOME Shell API documentation.
122 %description apidocs -l pl.UTF-8
123 Ten pakiet dostarcza dokumentację API GNOME Shell.
125 %package -n browser-plugin-%{name}
126 Summary: gnome-shell plugin for WWW browsers
127 Summary(pl.UTF-8): Wtyczka gnome-shell do przeglądarek WWW
129 Requires: %{name} = %{version}-%{release}
130 Requires: browser-plugins >= 2.0
131 Requires: browser-plugins(%{_target_base_arch})
133 %description -n browser-plugin-%{name}
134 gnome-shell plugin for WWW browsers.
136 %description -n browser-plugin-%{name} -l pl.UTF-8
137 Wtyczka gnome-shell do przeglądarek WWW.
151 --disable-silent-rules \
153 --with-html-dir=%{_gtkdocdir}
157 rm -rf $RPM_BUILD_ROOT
158 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
161 INSTALL="install -p" \
162 install_sh="install -p" \
163 DESTDIR=$RPM_BUILD_ROOT \
164 mozillalibdir=%{_browserpluginsdir}
166 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \
167 $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
168 # evolution already ships this file
169 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
174 rm -rf $RPM_BUILD_ROOT
177 %glib_compile_schemas
180 if [ "$1" = "0" ]; then
181 %glib_compile_schemas
184 %post -n browser-plugin-%{name}
185 %update_browser_plugins
187 %postun -n browser-plugin-%{name}
188 if [ "$1" = 0 ]; then
189 %update_browser_plugins
192 %files -f %{name}.lang
193 %defattr(644,root,root,755)
194 %attr(755,root,root) %{_bindir}/gnome-shell
195 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
196 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
197 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
198 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
199 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
200 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
201 %dir %{_libdir}/gnome-shell
202 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
203 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so
204 %{_libdir}/gnome-shell/Gvc-1.0.typelib
205 %{_libdir}/gnome-shell/Shell-0.1.typelib
206 %{_libdir}/gnome-shell/ShellJS-0.1.typelib
207 %{_libdir}/gnome-shell/St-1.0.typelib
208 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
209 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
210 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
211 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
212 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
213 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
214 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
215 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
216 %{_datadir}/gnome-control-center/keybindings/*.xml
217 %{_datadir}/gnome-shell
218 %{_desktopdir}/gnome-shell.desktop
219 %{_desktopdir}/gnome-shell-extension-prefs.desktop
220 %{_mandir}/man1/gnome-shell.1*
223 %defattr(644,root,root,755)
227 %files -n browser-plugin-%{name}
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so