]> git.pld-linux.org Git - packages/gnome-shell.git/blob - gnome-shell.spec
- telepathy-logger-libs is reuired: "Error: Requiring TelepathyLogger, version 0...
[packages/gnome-shell.git] / gnome-shell.spec
1 # TODO: wayland support
2 #
3 %define         caribou_version 0.4.8
4 %define         clutter_version 1.16.0
5 %define         evolution_data_server_version 3.5.3
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.7.4
13 %define         gtk_version 3.14.0
14 %define         json_glib_version 0.13.90
15 %define         libcroco_version 0.6.8
16 %define         mutter_version 3.14.3
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
22
23 Summary:        Window manager and application launcher for GNOME
24 Name:           gnome-shell
25 Version:        3.14.3
26 Release:        2
27 License:        GPL v2+
28 Group:          X11/Window Managers
29 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.14/%{name}-%{version}.tar.xz
30 # Source0-md5:  3c380179c79f19b21e7947a2e3455e96
31 Patch0:         link.patch
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:  caribou-devel >= %{caribou_version}
38 BuildRequires:  clutter-devel >= %{clutter_version}
39 BuildRequires:  evolution-data-server-devel >= %{evolution_data_server_version}
40 BuildRequires:  gcr-devel >= %{gcr_version}
41 BuildRequires:  gdk-pixbuf2-devel
42 BuildRequires:  gettext-tools >= 0.17
43 BuildRequires:  gjs-devel >= %{gjs_version}
44 BuildRequires:  glib2-devel >= %{glib2_version}
45 BuildRequires:  gnome-bluetooth-devel >= %{gnome_bluetooth_version}
46 BuildRequires:  gnome-common
47 BuildRequires:  gnome-control-center-devel
48 BuildRequires:  gnome-desktop-devel >= %{gnome_desktop_version}
49 BuildRequires:  gnome-menus-devel >= %{gnome_menus_version}
50 BuildRequires:  gobject-introspection-devel >= 0.10.1
51 BuildRequires:  gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
52 BuildRequires:  gstreamer-devel >= 1.0.0
53 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
54 BuildRequires:  gtk+3-devel >= 3.7.9
55 BuildRequires:  gtk-doc >= 1.15
56 BuildRequires:  intltool >= 0.40
57 BuildRequires:  json-glib-devel >= %{json_glib_version}
58 BuildRequires:  libcanberra-devel
59 BuildRequires:  libcanberra-gtk3-devel
60 BuildRequires:  libcroco-devel >= 0.6.8
61 BuildRequires:  libsecret-devel
62 BuildRequires:  libsoup-devel
63 BuildRequires:  libtool >= 2:2.2.6
64 BuildRequires:  libxml2-devel
65 BuildRequires:  libxslt-progs
66 BuildRequires:  mutter-devel >= %{mutter_version}
67 BuildRequires:  pkgconfig >= 1:0.22
68 BuildRequires:  polkit-devel >= %{polkit_version}
69 BuildRequires:  pulseaudio-devel >= %{pulseaudio_version}
70 BuildRequires:  python >= 2.5
71 BuildRequires:  rpm-pythonprov
72 BuildRequires:  rpmbuild(macros) >= 1.601
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
79 BuildRequires:  xorg-lib-libXtst-devel
80 BuildRequires:  xz
81 Requires(post,postun):  glib2 >= 1:2.26.0
82 Requires:       NetworkManager-libs >= %{networkmanager_version}
83 Requires:       at-spi2-atk >= 2.4.0
84 Requires:       caribou >= %{caribou_version}
85 Requires:       clutter >= %{clutter_version}
86 Requires:       evolution-data-server >= %{evolution_data_server_version}
87 Requires:       gcr >= %{gcr_version}
88 Requires:       gjs >= %{gjs_version}
89 Requires:       glib2 >= %{glib2_version}
90 Requires:       gnome-bluetooth-libs >= %{gnome_bluetooth_version}
91 Requires:       gnome-desktop >= %{gnome_desktop_version}
92 Requires:       gnome-menus >= %{gnome_menus_version}
93 Requires:       gnome-settings-daemon >= 3.8.0
94 Requires:       gnome-themes-standard
95 Requires:       gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
96 Requires:       gtk+3 >= %{gtk_version}
97 Requires:       json-glib >= %{json_glib_version}
98 Requires:       libcroco >= %{libcroco_version}
99 Requires:       mutter >= %{mutter_version}
100 Requires:       nautilus >= 3.8.0
101 Requires:       polkit >= %{polkit_version}
102 Requires:       pulseaudio-libs >= %{pulseaudio_version}
103 Requires:       startup-notification >= %{startup_notification_version}
104 Requires:       telepathy-glib >= %{telepathy_glib_version}
105 Requires:       telepathy-logger-libs >= 0.2
106 Requires:       telepathy-mission-control
107 Suggests:       gnome-contacts >= 3.2.0
108 Suggests:       gnome-icon-theme-symbolic >= 3.8.0
109 Provides:       gdm-wm = 3.8.0
110 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
111
112 %description
113 GNOME Shell is the defining technology of the GNOME 3 desktop user
114 experience. It provides core interface functions like switching to
115 windows and launching applications. GNOME Shell takes advantage of the
116 capabilities of modern graphics hardware and introduces innovative
117 user interface concepts to provide a delightful and easy to use
118 experience.
119
120 %package devel
121 Summary:        Development files for GNOME Shell
122 Summary(pl.UTF-8):      Pliki programistyczne dla GNOME Shell
123 Group:          Development/Libraries
124
125 %description devel
126 This package provides development files for GNOME Shell.
127
128 %description devel -l pl.UTF-8
129 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
130
131 %package apidocs
132 Summary:        GNOME Shell API documentation
133 Summary(pl.UTF-8):      Dokumentacja API GNOME Shell
134 Group:          Documentation
135 Requires:       gtk-doc-common
136 %if "%{_rpmversion}" >= "5"
137 BuildArch:      noarch
138 %endif
139
140 %description apidocs
141 This package provides GNOME Shell API documentation.
142
143 %description apidocs -l pl.UTF-8
144 Ten pakiet dostarcza dokumentację API GNOME Shell.
145
146 %package -n browser-plugin-%{name}
147 Summary:        gnome-shell plugin for WWW browsers
148 Summary(pl.UTF-8):      Wtyczka gnome-shell do przeglądarek WWW
149 Group:          X11/Libraries
150 Requires:       %{name} = %{version}-%{release}
151 Requires:       browser-plugins >= 2.0
152 Requires:       browser-plugins(%{_target_base_arch})
153
154 %description -n browser-plugin-%{name}
155 gnome-shell plugin for WWW browsers.
156
157 %description -n browser-plugin-%{name} -l pl.UTF-8
158 Wtyczka gnome-shell do przeglądarek WWW.
159
160 %prep
161 %setup -q
162 %patch0 -p1
163
164 %build
165 %{__intltoolize}
166 %{__libtoolize}
167 %{__aclocal} -I m4
168 %{__autoconf}
169 %{__autoheader}
170 %{__automake}
171 %configure \
172         --enable-gtk-doc \
173         --disable-silent-rules \
174         --disable-static \
175         --with-html-dir=%{_gtkdocdir}
176 %{__make} -j1
177
178 %install
179 rm -rf $RPM_BUILD_ROOT
180 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
181
182 %{__make} install \
183         INSTALL="install -p" \
184         install_sh="install -p" \
185         DESTDIR=$RPM_BUILD_ROOT \
186         mozillalibdir=%{_browserpluginsdir}
187
188 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \
189         $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
190 # evolution already ships this file
191 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
192
193 %find_lang %{name}
194
195 %clean
196 rm -rf $RPM_BUILD_ROOT
197
198 %post
199 %glib_compile_schemas
200
201 %postun
202 if [ "$1" = "0" ]; then
203         %glib_compile_schemas
204 fi
205
206 %post -n browser-plugin-%{name}
207 %update_browser_plugins
208
209 %postun -n browser-plugin-%{name}
210 if [ "$1" = 0 ]; then
211         %update_browser_plugins
212 fi
213
214 %files -f %{name}.lang
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_bindir}/gnome-shell
217 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
218 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
219 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
220 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
221 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
222 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
223 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
224 %dir %{_libdir}/gnome-shell
225 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
226 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so
227 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
228 %{_libdir}/gnome-shell/Gvc-1.0.typelib
229 %{_libdir}/gnome-shell/Shell-0.1.typelib
230 %{_libdir}/gnome-shell/ShellJS-0.1.typelib
231 %{_libdir}/gnome-shell/St-1.0.typelib
232 %{_libdir}/gnome-shell/ShellMenu-0.1.typelib
233 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
234 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
235 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
236 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
237 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
238 %{_datadir}/gnome-control-center/keybindings/*.xml
239 %{_datadir}/gnome-shell
240 %{_desktopdir}/gnome-shell.desktop
241 %{_desktopdir}/gnome-shell-extension-prefs.desktop
242 %{_desktopdir}/gnome-shell-wayland.desktop
243 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
244 %{_mandir}/man1/gnome-shell.1*
245
246 %files devel
247 %defattr(644,root,root,755)
248 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
249 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
250 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
251 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
252
253 %files apidocs
254 %defattr(644,root,root,755)
255 %{_gtkdocdir}/shell
256 %{_gtkdocdir}/st
257
258 %files -n browser-plugin-%{name}
259 %defattr(644,root,root,755)
260 %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so
This page took 0.05715 seconds and 4 git commands to generate.