]>
Commit | Line | Data |
---|---|---|
9eff3152 | 1 | |
18eae144 AF |
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 | |
9d13c9b5 | 15 | %define mutter_version 3.8.1 |
18eae144 AF |
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 | |
9eff3152 ER |
21 | |
22 | Summary: Window manager and application launcher for GNOME | |
23 | Name: gnome-shell | |
9d13c9b5 MB |
24 | Version: 3.8.1 |
25 | Release: 1 | |
9eff3152 ER |
26 | License: GPL v2+ |
27 | Group: X11/Window Managers | |
28 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.8/%{name}-%{version}.tar.xz | |
9d13c9b5 | 29 | # Source0-md5: f225e73c40fd695ae1755ceff54fea0f |
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: 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 | |
293b02ce | 40 | BuildRequires: gettext-devel >= 0.17 |
18eae144 AF |
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} | |
80f1cab6 | 47 | BuildRequires: gobject-introspection-devel >= 0.10.1 |
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 | |
6e495a72 | 51 | BuildRequires: gtk+3-devel >= 3.7.9 |
d588dcc3 | 52 | BuildRequires: gtk-doc >= 1.15 |
293b02ce | 53 | BuildRequires: intltool >= 0.40 |
18eae144 AF |
54 | BuildRequires: json-glib-devel >= %{json_glib_version} |
55 | BuildRequires: libcanberra-devel | |
6e495a72 ŁK |
56 | BuildRequires: libcanberra-gtk3-devel |
57 | BuildRequires: libcroco-devel >= 0.6.8 | |
58 | BuildRequires: libsecret-devel | |
293b02ce | 59 | BuildRequires: libsoup-devel |
80f1cab6 ŁK |
60 | BuildRequires: libtool >= 2:2.2.6 |
61 | BuildRequires: libxml2-devel | |
cfbe7068 | 62 | BuildRequires: libxslt-progs |
18eae144 | 63 | BuildRequires: mutter-devel >= %{mutter_version} |
80f1cab6 | 64 | BuildRequires: pkgconfig >= 1:0.22 |
18eae144 AF |
65 | BuildRequires: polkit-devel >= %{polkit_version} |
66 | BuildRequires: pulseaudio-devel >= %{pulseaudio_version} | |
67 | BuildRequires: python >= 2.5 | |
a985b63a | 68 | BuildRequires: rpm-pythonprov |
80f1cab6 | 69 | BuildRequires: rpmbuild(macros) >= 1.601 |
18eae144 | 70 | BuildRequires: startup-notification-devel >= %{startup_notification_version} |
293b02ce | 71 | BuildRequires: tar >= 1:1.22 |
18eae144 AF |
72 | BuildRequires: telepathy-glib-devel >= %{telepathy_glib_version} |
73 | BuildRequires: xorg-lib-libX11-devel | |
74 | BuildRequires: xorg-lib-libXfixes-devel | |
293b02ce | 75 | BuildRequires: xz |
18eae144 AF |
76 | Requires(post,postun): glib2 >= 1:2.26.0 |
77 | Requires: NetworkManager-libs >= %{networkmanager_version} | |
90f9906f | 78 | Requires: at-spi2-atk >= 2.4.0 |
18eae144 AF |
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} | |
90f9906f | 99 | Requires: telepathy-mission-control |
21482538 | 100 | Suggests: gnome-contacts >= 3.2.0 |
18eae144 | 101 | Suggests: gnome-icon-theme-symbolic >= 3.8.0 |
6e495a72 | 102 | Provides: gdm-wm = 3.8.0 |
1a7ebb2b | 103 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
104 | ||
105 | %description | |
80f1cab6 ŁK |
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 | |
111 | experience. | |
1a7ebb2b | 112 | |
a860f861 ŁK |
113 | %package apidocs |
114 | Summary: GNOME Shell API documentation | |
115 | Summary(pl.UTF-8): Dokumentacja API GNOME Shell | |
116 | Group: Documentation | |
117 | Requires: gtk-doc-common | |
118 | ||
119 | %description apidocs | |
120 | This package provides GNOME Shell API documentation. | |
121 | ||
122 | %description apidocs -l pl.UTF-8 | |
123 | Ten pakiet dostarcza dokumentację API GNOME Shell. | |
124 | ||
293b02ce ŁK |
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 | |
128 | Group: X11/Libraries | |
129 | Requires: %{name} = %{version}-%{release} | |
130 | Requires: browser-plugins >= 2.0 | |
131 | Requires: browser-plugins(%{_target_base_arch}) | |
293b02ce ŁK |
132 | |
133 | %description -n browser-plugin-%{name} | |
134 | gnome-shell plugin for WWW browsers. | |
135 | ||
136 | %description -n browser-plugin-%{name} -l pl.UTF-8 | |
137 | Wtyczka gnome-shell do przeglądarek WWW. | |
138 | ||
1a7ebb2b | 139 | %prep |
140 | %setup -q | |
141 | ||
142 | %build | |
80f1cab6 ŁK |
143 | %{__intltoolize} |
144 | %{__libtoolize} | |
f5486c89 | 145 | %{__aclocal} -I m4 |
80f1cab6 ŁK |
146 | %{__autoconf} |
147 | %{__autoheader} | |
148 | %{__automake} | |
1a7ebb2b | 149 | %configure \ |
a860f861 | 150 | --enable-gtk-doc \ |
184c4ba1 | 151 | --disable-silent-rules \ |
a860f861 | 152 | --disable-static \ |
a860f861 | 153 | --with-html-dir=%{_gtkdocdir} |
80f1cab6 | 154 | %{__make} -j1 |
1a7ebb2b | 155 | |
156 | %install | |
157 | rm -rf $RPM_BUILD_ROOT | |
d5cb8e80 | 158 | install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers} |
1a7ebb2b | 159 | |
160 | %{__make} install \ | |
43e0fed8 ER |
161 | INSTALL="install -p" \ |
162 | install_sh="install -p" \ | |
293b02ce ŁK |
163 | DESTDIR=$RPM_BUILD_ROOT \ |
164 | mozillalibdir=%{_browserpluginsdir} | |
1a7ebb2b | 165 | |
a860f861 | 166 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \ |
293b02ce | 167 | $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la |
2d8a9ea1 AF |
168 | # evolution already ships this file |
169 | %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop | |
80f1cab6 ŁK |
170 | |
171 | %find_lang %{name} | |
1a7ebb2b | 172 | |
173 | %clean | |
174 | rm -rf $RPM_BUILD_ROOT | |
175 | ||
176 | %post | |
80f1cab6 | 177 | %glib_compile_schemas |
1a7ebb2b | 178 | |
80f1cab6 ŁK |
179 | %postun |
180 | if [ "$1" = "0" ]; then | |
181 | %glib_compile_schemas | |
182 | fi | |
1a7ebb2b | 183 | |
293b02ce ŁK |
184 | %post -n browser-plugin-%{name} |
185 | %update_browser_plugins | |
186 | ||
187 | %postun -n browser-plugin-%{name} | |
188 | if [ "$1" = 0 ]; then | |
189 | %update_browser_plugins | |
190 | fi | |
191 | ||
1a7ebb2b | 192 | %files -f %{name}.lang |
193 | %defattr(644,root,root,755) | |
9f710482 | 194 | %attr(755,root,root) %{_bindir}/gnome-shell |
a860f861 | 195 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs |
80f1cab6 | 196 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool |
1255cf42 | 197 | %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool |
293b02ce ŁK |
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 | |
80f1cab6 ŁK |
201 | %dir %{_libdir}/gnome-shell |
202 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so | |
a860f861 | 203 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so |
80f1cab6 ŁK |
204 | %{_libdir}/gnome-shell/Gvc-1.0.typelib |
205 | %{_libdir}/gnome-shell/Shell-0.1.typelib | |
a860f861 | 206 | %{_libdir}/gnome-shell/ShellJS-0.1.typelib |
80f1cab6 | 207 | %{_libdir}/gnome-shell/St-1.0.typelib |
a860f861 | 208 | %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert |
6e495a72 | 209 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml |
a860f861 | 210 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml |
6e495a72 | 211 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml |
80f1cab6 | 212 | %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
293b02ce | 213 | %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
80f1cab6 | 214 | %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
18eae144 | 215 | %{_datadir}/gnome-control-center/keybindings/*.xml |
80f1cab6 ŁK |
216 | %{_datadir}/gnome-shell |
217 | %{_desktopdir}/gnome-shell.desktop | |
a860f861 | 218 | %{_desktopdir}/gnome-shell-extension-prefs.desktop |
80f1cab6 | 219 | %{_mandir}/man1/gnome-shell.1* |
293b02ce | 220 | |
a860f861 ŁK |
221 | %files apidocs |
222 | %defattr(644,root,root,755) | |
223 | %{_gtkdocdir}/shell | |
224 | %{_gtkdocdir}/st | |
225 | ||
293b02ce ŁK |
226 | %files -n browser-plugin-%{name} |
227 | %defattr(644,root,root,755) | |
228 | %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so |