]>
Commit | Line | Data |
---|---|---|
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.57.3 | |
6 | %define glib_ver 1:2.56.0 | |
7 | %define gnome_bluetooth_ver 3.9.0 | |
8 | %define gnome_desktop_ver 3.7.90 | |
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.34.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.34.1 | |
24 | Release: 2 | |
25 | License: GPL v2+ | |
26 | Group: X11/Window Managers | |
27 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.34/%{name}-%{version}.tar.xz | |
28 | # Source0-md5: 2e00c22673d069d6b919b2ca1b225d89 | |
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 | |
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 | |
66 | BuildRequires: python3-pygobject3 >= 3 | |
67 | BuildRequires: rpm-pythonprov | |
68 | BuildRequires: rpmbuild(macros) >= 1.736 | |
69 | BuildRequires: sassc | |
70 | BuildRequires: startup-notification-devel >= %{startup_notification_ver} | |
71 | BuildRequires: systemd-devel | |
72 | BuildRequires: tar >= 1:1.22 | |
73 | BuildRequires: xorg-lib-libX11-devel | |
74 | BuildRequires: xorg-lib-libXfixes-devel | |
75 | BuildRequires: xz | |
76 | Requires(post,postun): glib2 >= 1:2.26.0 | |
77 | # gjs->gi->NMA.gir | |
78 | Requires: NetworkManager-libs >= %{NetworkManager_ver} | |
79 | Requires: at-spi2-atk >= 2.4.0 | |
80 | Requires: clutter >= %{clutter_ver} | |
81 | Requires: evolution-data-server >= %{evolution_data_server_ver} | |
82 | Requires: gcr >= %{gcr_ver} | |
83 | Requires: gjs >= %{gjs_ver} | |
84 | Requires: glib2 >= %{glib_ver} | |
85 | Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_ver} | |
86 | Requires: gnome-desktop >= %{gnome_desktop_ver} | |
87 | Requires: gnome-settings-daemon >= 3.8.0 | |
88 | Requires: gnome-themes-standard | |
89 | Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_ver} | |
90 | Requires: gtk+3 >= %{gtk_ver} | |
91 | Requires: ibus >= 1.5.2 | |
92 | Requires: json-glib >= %{json_glib_ver} | |
93 | Requires: libcroco >= %{libcroco_ver} | |
94 | Requires: libsecret >= %{libsecret_ver} | |
95 | Requires: mutter >= %{mutter_ver} | |
96 | Requires: nautilus >= 3.8.0 | |
97 | Requires: polkit >= %{polkit_ver} | |
98 | Requires: pulseaudio-libs >= %{pulseaudio_ver} | |
99 | Requires: startup-notification >= %{startup_notification_ver} | |
100 | # gjs->gir->TelepathyGLib | |
101 | Requires: telepathy-glib >= 0.17.5 | |
102 | # gjs->gir->TelepathyLogger | |
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 | Obsoletes: browser-plugin-gnome-shell < 3.32.2-1 | |
109 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
110 | ||
111 | %description | |
112 | GNOME Shell is the defining technology of the GNOME 3 desktop user | |
113 | experience. It provides core interface functions like switching to | |
114 | windows and launching applications. GNOME Shell takes advantage of the | |
115 | capabilities of modern graphics hardware and introduces innovative | |
116 | user interface concepts to provide a delightful and easy to use | |
117 | experience. | |
118 | ||
119 | %description -l pl.UTF-8 | |
120 | GNOME Shell to technologia definiująca doznania użytkownika środowiska | |
121 | graficznego GNOME 3. Zapewnia podstawowe funkcje interfejsu, takie jak | |
122 | przełączanie między oknami czy uruchamianie aplikacji. GNOME Shell | |
123 | wykorzystuje mozliwości współczesnego sprzętu graficznego i wprowadza | |
124 | innowacyjne koncepcje interfejsu użytkownika, zapewniające przyjemne | |
125 | doznania i łatwość użycia. | |
126 | ||
127 | %package devel | |
128 | Summary: Development files for GNOME Shell | |
129 | Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell | |
130 | Group: Development/Libraries | |
131 | ||
132 | %description devel | |
133 | This package provides development files for GNOME Shell. | |
134 | ||
135 | %description devel -l pl.UTF-8 | |
136 | Ten pakiet dostarcza pliki programistyczne dla GNOME Shell. | |
137 | ||
138 | %package apidocs | |
139 | Summary: GNOME Shell API documentation | |
140 | Summary(pl.UTF-8): Dokumentacja API GNOME Shell | |
141 | Group: Documentation | |
142 | Requires: gtk-doc-common | |
143 | %if "%{_rpmversion}" >= "5" | |
144 | BuildArch: noarch | |
145 | %endif | |
146 | ||
147 | %description apidocs | |
148 | This package provides GNOME Shell API documentation. | |
149 | ||
150 | %description apidocs -l pl.UTF-8 | |
151 | Ten pakiet dostarcza dokumentację API GNOME Shell. | |
152 | ||
153 | %prep | |
154 | %setup -q | |
155 | ||
156 | %build | |
157 | %meson build \ | |
158 | -Dgtk_doc=true | |
159 | %meson_build -C build | |
160 | ||
161 | %install | |
162 | rm -rf $RPM_BUILD_ROOT | |
163 | install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers} | |
164 | ||
165 | %meson_install -C build | |
166 | ||
167 | # evolution already ships this file | |
168 | %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop | |
169 | ||
170 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a | |
171 | ||
172 | %find_lang %{name} | |
173 | ||
174 | %clean | |
175 | rm -rf $RPM_BUILD_ROOT | |
176 | ||
177 | %post | |
178 | %glib_compile_schemas | |
179 | ||
180 | %postun | |
181 | if [ "$1" = "0" ]; then | |
182 | %glib_compile_schemas | |
183 | fi | |
184 | ||
185 | %files -f %{name}.lang | |
186 | %defattr(644,root,root,755) | |
187 | %doc NEWS README.md | |
188 | %attr(755,root,root) %{_bindir}/gnome-extensions | |
189 | %attr(755,root,root) %{_bindir}/gnome-shell | |
190 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs | |
191 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool | |
192 | %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool | |
193 | %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server | |
194 | %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer | |
195 | %attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh | |
196 | %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper | |
197 | %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper | |
198 | %dir %{_libdir}/gnome-shell | |
199 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so | |
200 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so | |
201 | %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so | |
202 | %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so | |
203 | %{_libdir}/gnome-shell/Gvc-1.0.typelib | |
204 | %{_libdir}/gnome-shell/Shell-0.1.typelib | |
205 | %{_libdir}/gnome-shell/St-1.0.typelib | |
206 | %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert | |
207 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml | |
208 | %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service | |
209 | %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service | |
210 | %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service | |
211 | %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override | |
212 | %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml | |
213 | %{_datadir}/gnome-control-center/keybindings/*.xml | |
214 | %{_datadir}/gnome-shell | |
215 | %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal | |
216 | %{_desktopdir}/gnome-shell-extension-prefs.desktop | |
217 | %{_desktopdir}/org.gnome.Shell.desktop | |
218 | %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop | |
219 | %{_mandir}/man1/gnome-extensions.1* | |
220 | %{_mandir}/man1/gnome-shell.1* | |
221 | %{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop | |
222 | %{systemduserunitdir}/gnome-shell-disable-extensions.service | |
223 | %{systemduserunitdir}/gnome-shell-wayland.service | |
224 | %{systemduserunitdir}/gnome-shell-wayland.target | |
225 | %{systemduserunitdir}/gnome-shell-x11.service | |
226 | %{systemduserunitdir}/gnome-shell-x11.target | |
227 | ||
228 | %files devel | |
229 | %defattr(644,root,root,755) | |
230 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml | |
231 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml | |
232 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml | |
233 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml | |
234 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml | |
235 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml | |
236 | ||
237 | %files apidocs | |
238 | %defattr(644,root,root,755) | |
239 | %{_gtkdocdir}/shell | |
240 | %{_gtkdocdir}/st |