]>
Commit | Line | Data |
---|---|---|
18eae144 | 1 | %define caribou_version 0.4.8 |
6db74852 | 2 | %define clutter_version 1.21.5 |
3d391a6b | 3 | %define evolution_data_server_version 3.18.0 |
2b953177 | 4 | %define gcr_version 3.7.5 |
d655008b | 5 | %define gjs_version 1.47.0 |
3d391a6b | 6 | %define glib2_version 1:2.46.0 |
2b953177 | 7 | %define gnome_bluetooth_version 3.9.0 |
18eae144 AF |
8 | %define gnome_desktop_version 3.7.90 |
9 | %define gnome_menus_version 3.5.3 | |
1a06835a | 10 | %define gsettings_desktop_schemas_version 3.22.0 |
6db74852 | 11 | %define gtk_version 3.15.0 |
18eae144 AF |
12 | %define json_glib_version 0.13.90 |
13 | %define libcroco_version 0.6.8 | |
d655008b | 14 | %define mutter_version 3.24.0 |
2b953177 | 15 | %define networkmanager_version 0.9.8 |
18eae144 AF |
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 | |
9eff3152 ER |
20 | |
21 | Summary: Window manager and application launcher for GNOME | |
22 | Name: gnome-shell | |
d95992d6 | 23 | Version: 3.24.1 |
23451bc9 | 24 | Release: 1 |
9eff3152 ER |
25 | License: GPL v2+ |
26 | Group: X11/Window Managers | |
fe1e97fa | 27 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.24/%{name}-%{version}.tar.xz |
d95992d6 | 28 | # Source0-md5: ba84d4100e77cbda8eccd0eca1e12c39 |
2b953177 | 29 | Patch0: link.patch |
9eff3152 | 30 | URL: http://live.gnome.org/GnomeShell |
18eae144 AF |
31 | BuildRequires: NetworkManager-devel >= %{networkmanager_version} |
32 | BuildRequires: NetworkManager-gtk-lib-devel >= %{networkmanager_version} | |
80f1cab6 | 33 | BuildRequires: autoconf >= 2.63 |
293b02ce | 34 | BuildRequires: automake >= 1:1.11 |
18eae144 AF |
35 | BuildRequires: clutter-devel >= %{clutter_version} |
36 | BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version} | |
37 | BuildRequires: gcr-devel >= %{gcr_version} | |
38 | BuildRequires: gdk-pixbuf2-devel | |
d655008b | 39 | BuildRequires: gettext-tools >= 0.19.6 |
18eae144 AF |
40 | BuildRequires: gjs-devel >= %{gjs_version} |
41 | BuildRequires: glib2-devel >= %{glib2_version} | |
42 | BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_version} | |
fa065de0 | 43 | BuildRequires: gnome-common |
18eae144 AF |
44 | BuildRequires: gnome-control-center-devel |
45 | BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} | |
46 | BuildRequires: gnome-menus-devel >= %{gnome_menus_version} | |
1a06835a | 47 | BuildRequires: gobject-introspection-devel >= 1.50.0 |
18eae144 | 48 | BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version} |
1255cf42 ŁK |
49 | BuildRequires: gstreamer-devel >= 1.0.0 |
50 | BuildRequires: gstreamer-plugins-base-devel >= 1.0.0 | |
6db74852 | 51 | BuildRequires: gtk+3-devel >= %{gtk_version} |
d588dcc3 | 52 | BuildRequires: gtk-doc >= 1.15 |
18eae144 AF |
53 | BuildRequires: json-glib-devel >= %{json_glib_version} |
54 | BuildRequires: libcanberra-devel | |
6e495a72 ŁK |
55 | BuildRequires: libcanberra-gtk3-devel |
56 | BuildRequires: libcroco-devel >= 0.6.8 | |
57 | BuildRequires: libsecret-devel | |
293b02ce | 58 | BuildRequires: libsoup-devel |
80f1cab6 ŁK |
59 | BuildRequires: libtool >= 2:2.2.6 |
60 | BuildRequires: libxml2-devel | |
cfbe7068 | 61 | BuildRequires: libxslt-progs |
18eae144 | 62 | BuildRequires: mutter-devel >= %{mutter_version} |
80f1cab6 | 63 | BuildRequires: pkgconfig >= 1:0.22 |
18eae144 AF |
64 | BuildRequires: polkit-devel >= %{polkit_version} |
65 | BuildRequires: pulseaudio-devel >= %{pulseaudio_version} | |
6db74852 | 66 | BuildRequires: python3 |
a985b63a | 67 | BuildRequires: rpm-pythonprov |
80f1cab6 | 68 | BuildRequires: rpmbuild(macros) >= 1.601 |
6db74852 | 69 | BuildRequires: ruby-sass |
18eae144 | 70 | BuildRequires: startup-notification-devel >= %{startup_notification_version} |
fa065de0 | 71 | BuildRequires: systemd-devel |
293b02ce | 72 | BuildRequires: tar >= 1:1.22 |
18eae144 AF |
73 | BuildRequires: telepathy-glib-devel >= %{telepathy_glib_version} |
74 | BuildRequires: xorg-lib-libX11-devel | |
75 | BuildRequires: xorg-lib-libXfixes-devel | |
293b02ce | 76 | BuildRequires: xz |
18eae144 AF |
77 | Requires(post,postun): glib2 >= 1:2.26.0 |
78 | Requires: NetworkManager-libs >= %{networkmanager_version} | |
90f9906f | 79 | Requires: at-spi2-atk >= 2.4.0 |
c54c5b2b | 80 | Requires: caribou-libs >= %{caribou_version} |
18eae144 AF |
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 | |
219c1876 | 90 | Requires: gnome-themes-standard |
18eae144 AF |
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} | |
e8594913 | 101 | Requires: telepathy-logger-libs >= 0.2 |
90f9906f | 102 | Requires: telepathy-mission-control |
21482538 | 103 | Suggests: gnome-contacts >= 3.2.0 |
18eae144 | 104 | Suggests: gnome-icon-theme-symbolic >= 3.8.0 |
6e495a72 | 105 | Provides: gdm-wm = 3.8.0 |
1a7ebb2b | 106 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
107 | ||
108 | %description | |
80f1cab6 ŁK |
109 | GNOME Shell is the defining technology of the GNOME 3 desktop user |
110 | experience. It provides core interface functions like switching to | |
111 | windows and launching applications. GNOME Shell takes advantage of the | |
112 | capabilities of modern graphics hardware and introduces innovative | |
113 | user interface concepts to provide a delightful and easy to use | |
114 | experience. | |
1a7ebb2b | 115 | |
7e95cc9d MB |
116 | %package devel |
117 | Summary: Development files for GNOME Shell | |
118 | Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell | |
119 | Group: Development/Libraries | |
120 | ||
121 | %description devel | |
122 | This package provides development files for GNOME Shell. | |
123 | ||
124 | %description devel -l pl.UTF-8 | |
125 | Ten pakiet dostarcza pliki programistyczne dla GNOME Shell. | |
126 | ||
a860f861 ŁK |
127 | %package apidocs |
128 | Summary: GNOME Shell API documentation | |
129 | Summary(pl.UTF-8): Dokumentacja API GNOME Shell | |
130 | Group: Documentation | |
131 | Requires: gtk-doc-common | |
290d34a8 ER |
132 | %if "%{_rpmversion}" >= "5" |
133 | BuildArch: noarch | |
134 | %endif | |
a860f861 ŁK |
135 | |
136 | %description apidocs | |
137 | This package provides GNOME Shell API documentation. | |
138 | ||
139 | %description apidocs -l pl.UTF-8 | |
140 | Ten pakiet dostarcza dokumentację API GNOME Shell. | |
141 | ||
293b02ce ŁK |
142 | %package -n browser-plugin-%{name} |
143 | Summary: gnome-shell plugin for WWW browsers | |
144 | Summary(pl.UTF-8): Wtyczka gnome-shell do przeglądarek WWW | |
145 | Group: X11/Libraries | |
146 | Requires: %{name} = %{version}-%{release} | |
147 | Requires: browser-plugins >= 2.0 | |
148 | Requires: browser-plugins(%{_target_base_arch}) | |
293b02ce ŁK |
149 | |
150 | %description -n browser-plugin-%{name} | |
151 | gnome-shell plugin for WWW browsers. | |
152 | ||
153 | %description -n browser-plugin-%{name} -l pl.UTF-8 | |
154 | Wtyczka gnome-shell do przeglądarek WWW. | |
155 | ||
1a7ebb2b | 156 | %prep |
157 | %setup -q | |
2b953177 | 158 | %patch0 -p1 |
1a7ebb2b | 159 | |
160 | %build | |
80f1cab6 | 161 | %{__libtoolize} |
f5486c89 | 162 | %{__aclocal} -I m4 |
80f1cab6 ŁK |
163 | %{__autoconf} |
164 | %{__autoheader} | |
165 | %{__automake} | |
1a7ebb2b | 166 | %configure \ |
a860f861 | 167 | --enable-gtk-doc \ |
184c4ba1 | 168 | --disable-silent-rules \ |
a860f861 | 169 | --disable-static \ |
a860f861 | 170 | --with-html-dir=%{_gtkdocdir} |
80f1cab6 | 171 | %{__make} -j1 |
1a7ebb2b | 172 | |
173 | %install | |
174 | rm -rf $RPM_BUILD_ROOT | |
d5cb8e80 | 175 | install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers} |
1a7ebb2b | 176 | |
177 | %{__make} install \ | |
43e0fed8 ER |
178 | INSTALL="install -p" \ |
179 | install_sh="install -p" \ | |
293b02ce ŁK |
180 | DESTDIR=$RPM_BUILD_ROOT \ |
181 | mozillalibdir=%{_browserpluginsdir} | |
1a7ebb2b | 182 | |
a860f861 | 183 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \ |
293b02ce | 184 | $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la |
2d8a9ea1 AF |
185 | # evolution already ships this file |
186 | %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop | |
80f1cab6 ŁK |
187 | |
188 | %find_lang %{name} | |
1a7ebb2b | 189 | |
190 | %clean | |
191 | rm -rf $RPM_BUILD_ROOT | |
192 | ||
193 | %post | |
80f1cab6 | 194 | %glib_compile_schemas |
1a7ebb2b | 195 | |
80f1cab6 ŁK |
196 | %postun |
197 | if [ "$1" = "0" ]; then | |
198 | %glib_compile_schemas | |
199 | fi | |
1a7ebb2b | 200 | |
293b02ce ŁK |
201 | %post -n browser-plugin-%{name} |
202 | %update_browser_plugins | |
203 | ||
204 | %postun -n browser-plugin-%{name} | |
205 | if [ "$1" = 0 ]; then | |
206 | %update_browser_plugins | |
207 | fi | |
208 | ||
1a7ebb2b | 209 | %files -f %{name}.lang |
210 | %defattr(644,root,root,755) | |
9f710482 | 211 | %attr(755,root,root) %{_bindir}/gnome-shell |
a860f861 | 212 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs |
80f1cab6 | 213 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool |
1255cf42 | 214 | %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool |
293b02ce ŁK |
215 | %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server |
216 | %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer | |
217 | %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper | |
5b242c4e | 218 | %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper |
80f1cab6 ŁK |
219 | %dir %{_libdir}/gnome-shell |
220 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so | |
2b953177 | 221 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so |
80f1cab6 ŁK |
222 | %{_libdir}/gnome-shell/Gvc-1.0.typelib |
223 | %{_libdir}/gnome-shell/Shell-0.1.typelib | |
224 | %{_libdir}/gnome-shell/St-1.0.typelib | |
2b953177 | 225 | %{_libdir}/gnome-shell/ShellMenu-0.1.typelib |
a860f861 | 226 | %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert |
80f1cab6 | 227 | %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
293b02ce | 228 | %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
5b242c4e | 229 | %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service |
80f1cab6 | 230 | %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
18eae144 | 231 | %{_datadir}/gnome-control-center/keybindings/*.xml |
80f1cab6 | 232 | %{_datadir}/gnome-shell |
1a06835a | 233 | %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal |
a860f861 | 234 | %{_desktopdir}/gnome-shell-extension-prefs.desktop |
046d4523 | 235 | %{_desktopdir}/org.gnome.Shell.desktop |
5b242c4e | 236 | %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop |
80f1cab6 | 237 | %{_mandir}/man1/gnome-shell.1* |
293b02ce | 238 | |
7e95cc9d MB |
239 | %files devel |
240 | %defattr(644,root,root,755) | |
d655008b | 241 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml |
7e95cc9d MB |
242 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml |
243 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml | |
244 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml | |
245 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml | |
246 | ||
a860f861 ŁK |
247 | %files apidocs |
248 | %defattr(644,root,root,755) | |
249 | %{_gtkdocdir}/shell | |
250 | %{_gtkdocdir}/st | |
251 | ||
293b02ce ŁK |
252 | %files -n browser-plugin-%{name} |
253 | %defattr(644,root,root,755) | |
254 | %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so |