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