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