]> git.pld-linux.org Git - packages/gnome-shell.git/blob - gnome-shell.spec
Update to 3.28.0
[packages/gnome-shell.git] / gnome-shell.spec
1 %define         caribou_version 0.4.8
2 %define         clutter_version 1.21.5
3 %define         evolution_data_server_version 3.18.0
4 %define         gcr_version 3.7.5
5 %define         gjs_version 1.47.0
6 %define         glib2_version 1:2.46.0
7 %define         gnome_bluetooth_version 3.9.0
8 %define         gnome_desktop_version 3.7.90
9 %define         gnome_menus_version 3.5.3
10 %define         gsettings_desktop_schemas_version 3.22.0
11 %define         gtk_version 3.15.0
12 %define         json_glib_version 0.13.90
13 %define         libcroco_version 0.6.8
14 %define         mutter_version 3.28.0
15 %define         networkmanager_version 0.9.8
16 %define         polkit_version 0.100
17 %define         pulseaudio_version 2.0
18 %define         startup_notification_version 0.11
19 %define         telepathy_glib_version 0.17.5
20
21 Summary:        Window manager and application launcher for GNOME
22 Name:           gnome-shell
23 Version:        3.28.0
24 Release:        1
25 License:        GPL v2+
26 Group:          X11/Window Managers
27 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.28/%{name}-%{version}.tar.xz
28 # Source0-md5:  a0bf48381d8f4f081055f73764618016
29 Patch0:         build.patch
30 URL:            http://live.gnome.org/GnomeShell
31 BuildRequires:  NetworkManager-devel >= %{networkmanager_version}
32 BuildRequires:  NetworkManager-gtk-lib-devel >= %{networkmanager_version}
33 BuildRequires:  clutter-devel >= %{clutter_version}
34 BuildRequires:  evolution-data-server-devel >= %{evolution_data_server_version}
35 BuildRequires:  gcr-devel >= %{gcr_version}
36 BuildRequires:  gdk-pixbuf2-devel
37 BuildRequires:  gettext-tools >= 0.19.6
38 BuildRequires:  gjs-devel >= %{gjs_version}
39 BuildRequires:  glib2-devel >= %{glib2_version}
40 BuildRequires:  gnome-bluetooth-devel >= %{gnome_bluetooth_version}
41 BuildRequires:  gnome-common
42 BuildRequires:  gnome-control-center-devel
43 BuildRequires:  gnome-desktop-devel >= %{gnome_desktop_version}
44 BuildRequires:  gnome-menus-devel >= %{gnome_menus_version}
45 BuildRequires:  gobject-introspection-devel >= 1.50.0
46 BuildRequires:  gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
47 BuildRequires:  gstreamer-devel >= 1.0.0
48 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
49 BuildRequires:  gtk+3-devel >= %{gtk_version}
50 BuildRequires:  gtk-doc >= 1.15
51 BuildRequires:  json-glib-devel >= %{json_glib_version}
52 BuildRequires:  libcanberra-devel
53 BuildRequires:  libcanberra-gtk3-devel
54 BuildRequires:  libcroco-devel >= 0.6.8
55 BuildRequires:  libsecret-devel >= 0.18
56 BuildRequires:  libsoup-devel
57 BuildRequires:  libxml2-devel
58 BuildRequires:  libxslt-progs
59 BuildRequires:  meson >= 0.42.0
60 BuildRequires:  mutter-devel >= %{mutter_version}
61 BuildRequires:  ninja
62 BuildRequires:  pkgconfig >= 1:0.22
63 BuildRequires:  polkit-devel >= %{polkit_version}
64 BuildRequires:  pulseaudio-devel >= %{pulseaudio_version}
65 BuildRequires:  python3
66 BuildRequires:  rpm-pythonprov
67 BuildRequires:  rpmbuild(macros) >= 1.601
68 BuildRequires:  ruby-sass
69 BuildRequires:  sassc
70 BuildRequires:  startup-notification-devel >= %{startup_notification_version}
71 BuildRequires:  systemd-devel
72 BuildRequires:  tar >= 1:1.22
73 BuildRequires:  telepathy-glib-devel >= %{telepathy_glib_version}
74 BuildRequires:  xorg-lib-libX11-devel
75 BuildRequires:  xorg-lib-libXfixes-devel
76 BuildRequires:  xz
77 Requires(post,postun):  glib2 >= 1:2.26.0
78 Requires:       NetworkManager-libs >= %{networkmanager_version}
79 Requires:       at-spi2-atk >= 2.4.0
80 Requires:       caribou-libs >= %{caribou_version}
81 Requires:       clutter >= %{clutter_version}
82 Requires:       evolution-data-server >= %{evolution_data_server_version}
83 Requires:       gcr >= %{gcr_version}
84 Requires:       gjs >= %{gjs_version}
85 Requires:       glib2 >= %{glib2_version}
86 Requires:       gnome-bluetooth-libs >= %{gnome_bluetooth_version}
87 Requires:       gnome-desktop >= %{gnome_desktop_version}
88 Requires:       gnome-menus >= %{gnome_menus_version}
89 Requires:       gnome-settings-daemon >= 3.8.0
90 Requires:       gnome-themes-standard
91 Requires:       gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
92 Requires:       gtk+3 >= %{gtk_version}
93 Requires:       json-glib >= %{json_glib_version}
94 Requires:       libcroco >= %{libcroco_version}
95 Requires:       mutter >= %{mutter_version}
96 Requires:       nautilus >= 3.8.0
97 Requires:       polkit >= %{polkit_version}
98 Requires:       pulseaudio-libs >= %{pulseaudio_version}
99 Requires:       startup-notification >= %{startup_notification_version}
100 Requires:       telepathy-glib >= %{telepathy_glib_version}
101 Requires:       telepathy-logger-libs >= 0.2
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 devel
117 Summary:        Development files for GNOME Shell
118 Summary(pl.UTF-8):      Pliki programistyczne dla GNOME Shell
119 Group:          Development/Libraries
120
121 %description devel
122 This package provides development files for GNOME Shell.
123
124 %description devel -l pl.UTF-8
125 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
126
127 %package apidocs
128 Summary:        GNOME Shell API documentation
129 Summary(pl.UTF-8):      Dokumentacja API GNOME Shell
130 Group:          Documentation
131 Requires:       gtk-doc-common
132 %if "%{_rpmversion}" >= "5"
133 BuildArch:      noarch
134 %endif
135
136 %description apidocs
137 This package provides GNOME Shell API documentation.
138
139 %description apidocs -l pl.UTF-8
140 Ten pakiet dostarcza dokumentację API GNOME Shell.
141
142 %package -n browser-plugin-%{name}
143 Summary:        gnome-shell plugin for WWW browsers
144 Summary(pl.UTF-8):      Wtyczka gnome-shell do przeglądarek WWW
145 Group:          X11/Libraries
146 Requires:       %{name} = %{version}-%{release}
147 Requires:       browser-plugins >= 2.0
148 Requires:       browser-plugins(%{_target_base_arch})
149
150 %description -n browser-plugin-%{name}
151 gnome-shell plugin for WWW browsers.
152
153 %description -n browser-plugin-%{name} -l pl.UTF-8
154 Wtyczka gnome-shell do przeglądarek WWW.
155
156 %prep
157 %setup -q
158 %patch0 -p1
159
160 %build
161 %meson build \
162         -Dgtk_doc=true
163 %meson_build -C build
164
165 %install
166 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
168
169 %meson_install -C build
170
171 # evolution already ships this file
172 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
173
174 %find_lang %{name}
175
176 %clean
177 rm -rf $RPM_BUILD_ROOT
178
179 %post
180 %glib_compile_schemas
181
182 %postun
183 if [ "$1" = "0" ]; then
184         %glib_compile_schemas
185 fi
186
187 %post -n browser-plugin-%{name}
188 %update_browser_plugins
189
190 %postun -n browser-plugin-%{name}
191 if [ "$1" = 0 ]; then
192         %update_browser_plugins
193 fi
194
195 %files -f %{name}.lang
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_bindir}/gnome-shell
198 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
199 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
200 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
201 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
202 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
203 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
204 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-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-menu.so
208 %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
209 %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
210 %{_libdir}/gnome-shell/Gvc-1.0.typelib
211 %{_libdir}/gnome-shell/Shell-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/services/org.gnome.Shell.CalendarServer.service
216 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
217 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
218 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
219 %{_datadir}/gnome-control-center/keybindings/*.xml
220 %{_datadir}/gnome-shell
221 %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
222 %{_desktopdir}/gnome-shell-extension-prefs.desktop
223 %{_desktopdir}/org.gnome.Shell.desktop
224 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
225 %{_mandir}/man1/gnome-shell.1*
226
227 %files devel
228 %defattr(644,root,root,755)
229 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
230 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
231 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
232 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
233 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
234
235 %files apidocs
236 %defattr(644,root,root,755)
237 %{_gtkdocdir}/shell
238 %{_gtkdocdir}/st
239
240 %files -n browser-plugin-%{name}
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so
This page took 0.830174 seconds and 4 git commands to generate.