]> git.pld-linux.org Git - packages/gnome-shell.git/blob - gnome-shell.spec
- updated to 3.10.1
[packages/gnome-shell.git] / gnome-shell.spec
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.1
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.10.1
26 Release:        1
27 License:        GPL v2+
28 Group:          X11/Window Managers
29 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.10/%{name}-%{version}.tar.xz
30 # Source0-md5:  efcdecf3fff971c50b008ac75895b7ab
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-devel >= 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-control-center-devel
47 BuildRequires:  gnome-desktop-devel >= %{gnome_desktop_version}
48 BuildRequires:  gnome-menus-devel >= %{gnome_menus_version}
49 BuildRequires:  gobject-introspection-devel >= 0.10.1
50 BuildRequires:  gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
51 BuildRequires:  gstreamer-devel >= 1.0.0
52 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
53 BuildRequires:  gtk+3-devel >= 3.7.9
54 BuildRequires:  gtk-doc >= 1.15
55 BuildRequires:  intltool >= 0.40
56 BuildRequires:  json-glib-devel >= %{json_glib_version}
57 BuildRequires:  libcanberra-devel
58 BuildRequires:  libcanberra-gtk3-devel
59 BuildRequires:  libcroco-devel >= 0.6.8
60 BuildRequires:  libsecret-devel
61 BuildRequires:  libsoup-devel
62 BuildRequires:  libtool >= 2:2.2.6
63 BuildRequires:  libxml2-devel
64 BuildRequires:  libxslt-progs
65 BuildRequires:  mutter-devel >= %{mutter_version}
66 BuildRequires:  pkgconfig >= 1:0.22
67 BuildRequires:  polkit-devel >= %{polkit_version}
68 BuildRequires:  pulseaudio-devel >= %{pulseaudio_version}
69 BuildRequires:  python >= 2.5
70 BuildRequires:  rpm-pythonprov
71 BuildRequires:  rpmbuild(macros) >= 1.601
72 BuildRequires:  startup-notification-devel >= %{startup_notification_version}
73 BuildRequires:  tar >= 1:1.22
74 BuildRequires:  telepathy-glib-devel >= %{telepathy_glib_version}
75 BuildRequires:  xorg-lib-libX11-devel
76 BuildRequires:  xorg-lib-libXfixes-devel
77 BuildRequires:  xorg-lib-libXtst-devel
78 BuildRequires:  xz
79 Requires(post,postun):  glib2 >= 1:2.26.0
80 Requires:       NetworkManager-libs >= %{networkmanager_version}
81 Requires:       at-spi2-atk >= 2.4.0
82 Requires:       caribou >= %{caribou_version}
83 Requires:       clutter >= %{clutter_version}
84 Requires:       evolution-data-server >= %{evolution_data_server_version}
85 Requires:       gcr >= %{gcr_version}
86 Requires:       gjs >= %{gjs_version}
87 Requires:       glib2 >= %{glib2_version}
88 Requires:       gnome-bluetooth-libs >= %{gnome_bluetooth_version}
89 Requires:       gnome-desktop >= %{gnome_desktop_version}
90 Requires:       gnome-menus >= %{gnome_menus_version}
91 Requires:       gnome-settings-daemon >= 3.8.0
92 Requires:       gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
93 Requires:       gtk+3 >= %{gtk_version}
94 Requires:       json-glib >= %{json_glib_version}
95 Requires:       libcroco >= %{libcroco_version}
96 Requires:       mutter >= %{mutter_version}
97 Requires:       nautilus >= 3.8.0
98 Requires:       polkit >= %{polkit_version}
99 Requires:       pulseaudio-libs >= %{pulseaudio_version}
100 Requires:       startup-notification >= %{startup_notification_version}
101 Requires:       telepathy-glib >= %{telepathy_glib_version}
102 Requires:       telepathy-mission-control
103 Suggests:       gnome-contacts >= 3.2.0
104 Suggests:       gnome-icon-theme-symbolic >= 3.8.0
105 Provides:       gdm-wm = 3.8.0
106 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
107
108 %description
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.
115
116 %package apidocs
117 Summary:        GNOME Shell API documentation
118 Summary(pl.UTF-8):      Dokumentacja API GNOME Shell
119 Group:          Documentation
120 Requires:       gtk-doc-common
121
122 %description apidocs
123 This package provides GNOME Shell API documentation.
124
125 %description apidocs -l pl.UTF-8
126 Ten pakiet dostarcza dokumentację API GNOME Shell.
127
128 %package -n browser-plugin-%{name}
129 Summary:        gnome-shell plugin for WWW browsers
130 Summary(pl.UTF-8):      Wtyczka gnome-shell do przeglądarek WWW
131 Group:          X11/Libraries
132 Requires:       %{name} = %{version}-%{release}
133 Requires:       browser-plugins >= 2.0
134 Requires:       browser-plugins(%{_target_base_arch})
135
136 %description -n browser-plugin-%{name}
137 gnome-shell plugin for WWW browsers.
138
139 %description -n browser-plugin-%{name} -l pl.UTF-8
140 Wtyczka gnome-shell do przeglądarek WWW.
141
142 %prep
143 %setup -q
144 %patch0 -p1
145
146 %build
147 %{__intltoolize}
148 %{__libtoolize}
149 %{__aclocal} -I m4
150 %{__autoconf}
151 %{__autoheader}
152 %{__automake}
153 %configure \
154         --enable-gtk-doc \
155         --disable-silent-rules \
156         --disable-static \
157         --with-html-dir=%{_gtkdocdir}
158 %{__make} -j1
159
160 %install
161 rm -rf $RPM_BUILD_ROOT
162 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
163
164 %{__make} install \
165         INSTALL="install -p" \
166         install_sh="install -p" \
167         DESTDIR=$RPM_BUILD_ROOT \
168         mozillalibdir=%{_browserpluginsdir}
169
170 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \
171         $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
172 # evolution already ships this file
173 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
174
175 %find_lang %{name}
176
177 %clean
178 rm -rf $RPM_BUILD_ROOT
179
180 %post
181 %glib_compile_schemas
182
183 %postun
184 if [ "$1" = "0" ]; then
185         %glib_compile_schemas
186 fi
187
188 %post -n browser-plugin-%{name}
189 %update_browser_plugins
190
191 %postun -n browser-plugin-%{name}
192 if [ "$1" = 0 ]; then
193         %update_browser_plugins
194 fi
195
196 %files -f %{name}.lang
197 %defattr(644,root,root,755)
198 %attr(755,root,root) %{_bindir}/gnome-shell
199 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
200 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
201 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
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
205 %dir %{_libdir}/gnome-shell
206 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
207 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so
208 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
209 %{_libdir}/gnome-shell/Gvc-1.0.typelib
210 %{_libdir}/gnome-shell/Shell-0.1.typelib
211 %{_libdir}/gnome-shell/ShellJS-0.1.typelib
212 %{_libdir}/gnome-shell/St-1.0.typelib
213 %{_libdir}/gnome-shell/ShellMenu-0.1.typelib
214 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
215 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
216 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
217 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
218 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
219 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
220 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
221 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
222 %{_datadir}/gnome-control-center/keybindings/*.xml
223 %{_datadir}/gnome-shell
224 %{_desktopdir}/gnome-shell.desktop
225 %{_desktopdir}/gnome-shell-extension-prefs.desktop
226 %{_mandir}/man1/gnome-shell.1*
227
228 %files apidocs
229 %defattr(644,root,root,755)
230 %{_gtkdocdir}/shell
231 %{_gtkdocdir}/st
232
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.069316 seconds and 4 git commands to generate.