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