]> git.pld-linux.org Git - packages/gnome-shell.git/blob - gnome-shell.spec
- updated to 3.36.3
[packages/gnome-shell.git] / gnome-shell.spec
1 %define         clutter_ver                     1.21.5
2 # max(ecal_req, eds_req)
3 %define         evolution_data_server_ver       3.33.1
4 %define         gcr_ver                         3.7.5
5 %define         gjs_ver                         1.63.2
6 %define         glib_ver                        1:2.56.0
7 %define         gnome_bluetooth_ver             3.9.0
8 %define         gnome_desktop_ver               3.36.0
9 %define         gsettings_desktop_schemas_ver   3.33.1
10 %define         gtk_ver                         3.15.0
11 %define         json_glib_ver                   0.13.90
12 %define         libcroco_ver                    0.6.8
13 %define         libsecret_ver                   0.18
14 %define         mutter_ver                      3.36.0
15 %define         NetworkManager_ver              1.10.4
16 %define         polkit_ver                      0.100
17 %define         pulseaudio_ver                  2.0
18 %define         startup_notification_ver        0.11
19
20 Summary:        Window manager and application launcher for GNOME
21 Summary(pl.UTF-8):      Zarządca okien i uruchamiania aplikacji dla GNOME
22 Name:           gnome-shell
23 Version:        3.36.3
24 Release:        1
25 License:        GPL v2+
26 Group:          X11/Window Managers
27 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.36/%{name}-%{version}.tar.xz
28 # Source0-md5:  9a86d5ff375c58e007cbc0f9e2ca82e4
29 URL:            https://wiki.gnome.org/Projects/GnomeShell
30 BuildRequires:  NetworkManager-devel >= %{NetworkManager_ver}
31 BuildRequires:  at-spi2-atk-devel
32 BuildRequires:  clutter-devel >= %{clutter_ver}
33 BuildRequires:  evolution-data-server-devel >= %{evolution_data_server_ver}
34 BuildRequires:  gcr-devel >= %{gcr_ver}
35 BuildRequires:  gdk-pixbuf2-devel >= 2.0
36 BuildRequires:  gettext-tools >= 0.19.6
37 BuildRequires:  gjs-devel >= %{gjs_ver}
38 BuildRequires:  glib2-devel >= %{glib_ver}
39 BuildRequires:  gnome-autoar-devel
40 BuildRequires:  gnome-bluetooth-devel >= %{gnome_bluetooth_ver}
41 BuildRequires:  gnome-control-center-devel
42 # for cldr2json.py (through pygobject->gi)
43 BuildRequires:  gnome-desktop >= %{gnome_desktop_ver}
44 BuildRequires:  gobject-introspection-devel >= 1.50.0
45 BuildRequires:  gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_ver}
46 BuildRequires:  gstreamer-devel >= 1.0.0
47 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
48 BuildRequires:  gtk+3-devel >= %{gtk_ver}
49 BuildRequires:  gtk-doc >= 1.15
50 BuildRequires:  ibus-devel >= 1.5.2
51 BuildRequires:  json-glib-devel >= %{json_glib_ver}
52 BuildRequires:  libcanberra-devel
53 BuildRequires:  libcanberra-gtk3-devel
54 BuildRequires:  libcroco-devel >= %{libcroco_ver}
55 BuildRequires:  libsecret-devel >= %{libsecret_ver}
56 BuildRequires:  libsoup-devel
57 BuildRequires:  libxml2-devel >= 2.0
58 BuildRequires:  libxslt-progs
59 BuildRequires:  meson >= 0.47.0
60 BuildRequires:  mutter-devel >= %{mutter_ver}
61 BuildRequires:  ninja >= 1.5
62 BuildRequires:  pkgconfig >= 1:0.22
63 BuildRequires:  polkit-devel >= %{polkit_ver}
64 BuildRequires:  pulseaudio-devel >= %{pulseaudio_ver}
65 BuildRequires:  python3 >= 3
66 BuildRequires:  python3-pygobject3 >= 3
67 BuildRequires:  rpm-pythonprov
68 BuildRequires:  rpmbuild(macros) >= 1.736
69 BuildRequires:  sassc
70 BuildRequires:  sed >= 4.0
71 BuildRequires:  startup-notification-devel >= %{startup_notification_ver}
72 BuildRequires:  systemd-devel
73 BuildRequires:  tar >= 1:1.22
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 # gjs->gi->NMA.gir
79 Requires:       NetworkManager-libs >= %{NetworkManager_ver}
80 Requires:       adwaita-icon-theme
81 Requires:       at-spi2-atk >= 2.4.0
82 Requires:       clutter >= %{clutter_ver}
83 Requires:       evolution-data-server >= %{evolution_data_server_ver}
84 Requires:       gcr >= %{gcr_ver}
85 Requires:       gjs >= %{gjs_ver}
86 Requires:       glib2 >= %{glib_ver}
87 Requires:       gnome-bluetooth-libs >= %{gnome_bluetooth_ver}
88 Requires:       gnome-desktop >= %{gnome_desktop_ver}
89 Requires:       gnome-settings-daemon >= 3.8.0
90 Requires:       gsettings-desktop-schemas >= %{gsettings_desktop_schemas_ver}
91 Requires:       gtk+3 >= %{gtk_ver}
92 Requires:       ibus >= 1.5.2
93 Requires:       json-glib >= %{json_glib_ver}
94 Requires:       libcroco >= %{libcroco_ver}
95 Requires:       libsecret >= %{libsecret_ver}
96 Requires:       mutter >= %{mutter_ver}
97 Requires:       nautilus >= 3.8.0
98 Requires:       polkit >= %{polkit_ver}
99 Requires:       pulseaudio-libs >= %{pulseaudio_ver}
100 Requires:       startup-notification >= %{startup_notification_ver}
101 # gjs->gir->TelepathyGLib
102 Requires:       telepathy-glib >= 0.17.5
103 # gjs->gir->TelepathyLogger
104 Requires:       telepathy-logger-libs >= 0.2
105 Requires:       telepathy-mission-control
106 Suggests:       gnome-contacts >= 3.2.0
107 Suggests:       gnome-icon-theme-symbolic >= 3.8.0
108 Provides:       gdm-wm = 3.8.0
109 Obsoletes:      browser-plugin-gnome-shell < 3.32.2-1
110 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
111
112 %description
113 GNOME Shell is the defining technology of the GNOME 3 desktop user
114 experience. It provides core interface functions like switching to
115 windows and launching applications. GNOME Shell takes advantage of the
116 capabilities of modern graphics hardware and introduces innovative
117 user interface concepts to provide a delightful and easy to use
118 experience.
119
120 %description -l pl.UTF-8
121 GNOME Shell to technologia definiująca doznania użytkownika środowiska
122 graficznego GNOME 3. Zapewnia podstawowe funkcje interfejsu, takie jak
123 przełączanie między oknami czy uruchamianie aplikacji. GNOME Shell
124 wykorzystuje mozliwości współczesnego sprzętu graficznego i wprowadza
125 innowacyjne koncepcje interfejsu użytkownika, zapewniające przyjemne
126 doznania i łatwość użycia.
127
128 %package devel
129 Summary:        Development files for GNOME Shell
130 Summary(pl.UTF-8):      Pliki programistyczne dla GNOME Shell
131 Group:          Development/Libraries
132
133 %description devel
134 This package provides development files for GNOME Shell.
135
136 %description devel -l pl.UTF-8
137 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
138
139 %package apidocs
140 Summary:        GNOME Shell API documentation
141 Summary(pl.UTF-8):      Dokumentacja API GNOME Shell
142 Group:          Documentation
143 Requires:       gtk-doc-common
144 %if "%{_rpmversion}" >= "4.6"
145 BuildArch:      noarch
146 %endif
147
148 %description apidocs
149 This package provides GNOME Shell API documentation.
150
151 %description apidocs -l pl.UTF-8
152 Ten pakiet dostarcza dokumentację API GNOME Shell.
153
154 %prep
155 %setup -q
156
157 %{__sed} -i -e '/^libshew =/ s/ library/ shared_library/' subprojects/shew/src/meson.build
158
159 %build
160 %meson build \
161         -Dgtk_doc=true
162
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 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
175
176 %find_lang %{name}
177
178 %clean
179 rm -rf $RPM_BUILD_ROOT
180
181 %post
182 %glib_compile_schemas
183
184 %postun
185 if [ "$1" = "0" ]; then
186         %glib_compile_schemas
187 fi
188
189 %files -f %{name}.lang
190 %defattr(644,root,root,755)
191 %doc NEWS README.md
192 %attr(755,root,root) %{_bindir}/gnome-extensions
193 %attr(755,root,root) %{_bindir}/gnome-extensions-app
194 %attr(755,root,root) %{_bindir}/gnome-shell
195 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
196 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
197 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
198 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
199 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
200 %attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh
201 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
202 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
203 %dir %{_libdir}/gnome-shell
204 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
205 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
206 %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
207 %attr(755,root,root) %{_libdir}/gnome-shell/libshew-0.so
208 %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
209 %{_libdir}/gnome-shell/Gvc-1.0.typelib
210 %{_libdir}/gnome-shell/Shell-0.1.typelib
211 %{_libdir}/gnome-shell/St-1.0.typelib
212 %dir %{_libdir}/gnome-shell/girepository-1.0
213 %{_libdir}/gnome-shell/girepository-1.0/Shew-0.typelib
214 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
215 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
216 %{_datadir}/dbus-1/services/org.gnome.Extensions.service
217 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
218 %{_datadir}/dbus-1/services/org.gnome.Shell.Extensions.service
219 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
220 %{_datadir}/dbus-1/services/org.gnome.Shell.Notifications.service
221 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
222 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
223 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
224 %{_datadir}/gnome-control-center/keybindings/*.xml
225 %{_datadir}/gnome-shell
226 %{_datadir}/metainfo/org.gnome.Extensions.metainfo.xml
227 %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
228 %{_desktopdir}/org.gnome.Extensions.desktop
229 %{_desktopdir}/org.gnome.Shell.desktop
230 %{_desktopdir}/org.gnome.Shell.Extensions.desktop
231 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
232 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.Devel.svg
233 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.svg
234 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg
235 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Extensions-symbolic.svg
236 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg
237 %{_mandir}/man1/gnome-extensions.1*
238 %{_mandir}/man1/gnome-shell.1*
239 %{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
240 %{systemduserunitdir}/gnome-shell-disable-extensions.service
241 %{systemduserunitdir}/gnome-shell-wayland.service
242 %{systemduserunitdir}/gnome-shell-wayland.target
243 %{systemduserunitdir}/gnome-shell-x11.service
244 %{systemduserunitdir}/gnome-shell-x11.target
245
246 %files devel
247 %defattr(644,root,root,755)
248 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
249 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
250 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
251 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
252 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
253 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
254
255 %files apidocs
256 %defattr(644,root,root,755)
257 %{_gtkdocdir}/shell
258 %{_gtkdocdir}/st
This page took 0.110381 seconds and 3 git commands to generate.