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