]>
Commit | Line | Data |
---|---|---|
2417c09b JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without apidocs # API documentation | |
4 | ||
927eb550 | 5 | %define clutter_ver 1.21.5 |
66cfec93 JB |
6 | # max(ecal_req, eds_req) |
7 | %define evolution_data_server_ver 3.33.1 | |
927eb550 | 8 | %define gcr_ver 3.7.5 |
895e1d39 | 9 | %define gjs_ver 1.69.2 |
2417c09b | 10 | %define glib_ver 1:2.57.2 |
927eb550 | 11 | %define gnome_bluetooth_ver 3.9.0 |
e1a28f5f | 12 | %define gnome_desktop_ver 3.36.0 |
895e1d39 | 13 | %define gsettings_desktop_schemas_ver 41 |
927eb550 | 14 | %define gtk_ver 3.15.0 |
895e1d39 | 15 | %define ibus_ver 1.5.19 |
927eb550 | 16 | %define json_glib_ver 0.13.90 |
927eb550 | 17 | %define libsecret_ver 0.18 |
895e1d39 | 18 | %define mutter_ver 41.0 |
927eb550 JB |
19 | %define NetworkManager_ver 1.10.4 |
20 | %define polkit_ver 0.100 | |
f066ba12 | 21 | %define pulseaudio_ver 13 |
927eb550 | 22 | %define startup_notification_ver 0.11 |
9eff3152 ER |
23 | |
24 | Summary: Window manager and application launcher for GNOME | |
5b31201b | 25 | Summary(pl.UTF-8): Zarządca okien i uruchamiania aplikacji dla GNOME |
9eff3152 | 26 | Name: gnome-shell |
19e53338 | 27 | Version: 41.2 |
2417c09b | 28 | Release: 1 |
9eff3152 ER |
29 | License: GPL v2+ |
30 | Group: X11/Window Managers | |
895e1d39 | 31 | Source0: https://download.gnome.org/sources/gnome-shell/41/%{name}-%{version}.tar.xz |
19e53338 | 32 | # Source0-md5: 1b760e671e26451f91146bfcf93561d9 |
66cfec93 | 33 | URL: https://wiki.gnome.org/Projects/GnomeShell |
927eb550 | 34 | BuildRequires: NetworkManager-devel >= %{NetworkManager_ver} |
895e1d39 | 35 | BuildRequires: asciidoc |
927eb550 | 36 | BuildRequires: at-spi2-atk-devel |
f066ba12 | 37 | BuildRequires: bash-completion-devel >= 2.0 |
927eb550 JB |
38 | BuildRequires: clutter-devel >= %{clutter_ver} |
39 | BuildRequires: evolution-data-server-devel >= %{evolution_data_server_ver} | |
40 | BuildRequires: gcr-devel >= %{gcr_ver} | |
e1a28f5f | 41 | BuildRequires: gdk-pixbuf2-devel >= 2.0 |
d655008b | 42 | BuildRequires: gettext-tools >= 0.19.6 |
927eb550 JB |
43 | BuildRequires: gjs-devel >= %{gjs_ver} |
44 | BuildRequires: glib2-devel >= %{glib_ver} | |
4752e510 | 45 | BuildRequires: gnome-autoar-devel |
927eb550 | 46 | BuildRequires: gnome-bluetooth-devel >= %{gnome_bluetooth_ver} |
18eae144 | 47 | BuildRequires: gnome-control-center-devel |
83e303f9 | 48 | BuildRequires: gnome-desktop-devel >= %{gnome_desktop_ver} |
1a06835a | 49 | BuildRequires: gobject-introspection-devel >= 1.50.0 |
927eb550 | 50 | BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_ver} |
1255cf42 ŁK |
51 | BuildRequires: gstreamer-devel >= 1.0.0 |
52 | BuildRequires: gstreamer-plugins-base-devel >= 1.0.0 | |
927eb550 | 53 | BuildRequires: gtk+3-devel >= %{gtk_ver} |
95fb3a76 | 54 | BuildRequires: gtk4-devel >= 4 |
2417c09b | 55 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.15} |
895e1d39 | 56 | BuildRequires: ibus-devel >= %{ibus_ver} |
927eb550 | 57 | BuildRequires: json-glib-devel >= %{json_glib_ver} |
18eae144 | 58 | BuildRequires: libcanberra-devel |
6e495a72 | 59 | BuildRequires: libcanberra-gtk3-devel |
927eb550 | 60 | BuildRequires: libsecret-devel >= %{libsecret_ver} |
895e1d39 JB |
61 | # or libsoup3 with -Dsoup2=false, must be in sync with libgweather |
62 | BuildRequires: libsoup-devel >= 2.4 | |
927eb550 | 63 | BuildRequires: libxml2-devel >= 2.0 |
cfbe7068 | 64 | BuildRequires: libxslt-progs |
2417c09b | 65 | BuildRequires: meson >= 0.53.0 |
927eb550 JB |
66 | BuildRequires: mutter-devel >= %{mutter_ver} |
67 | BuildRequires: ninja >= 1.5 | |
2417c09b | 68 | BuildRequires: pipewire-devel >= 0.3 |
80f1cab6 | 69 | BuildRequires: pkgconfig >= 1:0.22 |
927eb550 JB |
70 | BuildRequires: polkit-devel >= %{polkit_ver} |
71 | BuildRequires: pulseaudio-devel >= %{pulseaudio_ver} | |
2417c09b | 72 | BuildRequires: python3 >= 1:3 |
927eb550 | 73 | BuildRequires: python3-pygobject3 >= 3 |
f066ba12 | 74 | BuildRequires: rpm-build >= 4.6 |
a985b63a | 75 | BuildRequires: rpm-pythonprov |
ce20bc45 | 76 | BuildRequires: rpmbuild(macros) >= 1.752 |
d22882ab | 77 | BuildRequires: sassc |
e1a28f5f | 78 | BuildRequires: sed >= 4.0 |
927eb550 | 79 | BuildRequires: startup-notification-devel >= %{startup_notification_ver} |
fa065de0 | 80 | BuildRequires: systemd-devel |
2417c09b | 81 | BuildRequires: systemd-units |
293b02ce | 82 | BuildRequires: tar >= 1:1.22 |
18eae144 AF |
83 | BuildRequires: xorg-lib-libX11-devel |
84 | BuildRequires: xorg-lib-libXfixes-devel | |
293b02ce | 85 | BuildRequires: xz |
2417c09b | 86 | Requires(post,postun): glib2 >= %{glib_ver} |
927eb550 | 87 | # gjs->gi->NMA.gir |
927eb550 | 88 | Requires: NetworkManager-libs >= %{NetworkManager_ver} |
efd1d74e | 89 | Requires: adwaita-icon-theme |
90f9906f | 90 | Requires: at-spi2-atk >= 2.4.0 |
927eb550 JB |
91 | Requires: clutter >= %{clutter_ver} |
92 | Requires: evolution-data-server >= %{evolution_data_server_ver} | |
93 | Requires: gcr >= %{gcr_ver} | |
94 | Requires: gjs >= %{gjs_ver} | |
95 | Requires: glib2 >= %{glib_ver} | |
96 | Requires: gnome-bluetooth-libs >= %{gnome_bluetooth_ver} | |
97 | Requires: gnome-desktop >= %{gnome_desktop_ver} | |
18eae144 | 98 | Requires: gnome-settings-daemon >= 3.8.0 |
927eb550 JB |
99 | Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_ver} |
100 | Requires: gtk+3 >= %{gtk_ver} | |
895e1d39 | 101 | Requires: ibus >= %{ibus_ver} |
927eb550 | 102 | Requires: json-glib >= %{json_glib_ver} |
927eb550 JB |
103 | Requires: libsecret >= %{libsecret_ver} |
104 | Requires: mutter >= %{mutter_ver} | |
18eae144 | 105 | Requires: nautilus >= 3.8.0 |
927eb550 JB |
106 | Requires: polkit >= %{polkit_ver} |
107 | Requires: pulseaudio-libs >= %{pulseaudio_ver} | |
108 | Requires: startup-notification >= %{startup_notification_ver} | |
109 | # gjs->gir->TelepathyGLib | |
110 | Requires: telepathy-glib >= 0.17.5 | |
111 | # gjs->gir->TelepathyLogger | |
e8594913 | 112 | Requires: telepathy-logger-libs >= 0.2 |
90f9906f | 113 | Requires: telepathy-mission-control |
21482538 | 114 | Suggests: gnome-contacts >= 3.2.0 |
18eae144 | 115 | Suggests: gnome-icon-theme-symbolic >= 3.8.0 |
6e495a72 | 116 | Provides: gdm-wm = 3.8.0 |
a3fecae6 | 117 | Obsoletes: browser-plugin-gnome-shell < 3.32.2-1 |
1a7ebb2b | 118 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
119 | ||
120 | %description | |
80f1cab6 ŁK |
121 | GNOME Shell is the defining technology of the GNOME 3 desktop user |
122 | experience. It provides core interface functions like switching to | |
123 | windows and launching applications. GNOME Shell takes advantage of the | |
124 | capabilities of modern graphics hardware and introduces innovative | |
125 | user interface concepts to provide a delightful and easy to use | |
126 | experience. | |
1a7ebb2b | 127 | |
5b31201b JB |
128 | %description -l pl.UTF-8 |
129 | GNOME Shell to technologia definiująca doznania użytkownika środowiska | |
130 | graficznego GNOME 3. Zapewnia podstawowe funkcje interfejsu, takie jak | |
131 | przełączanie między oknami czy uruchamianie aplikacji. GNOME Shell | |
132 | wykorzystuje mozliwości współczesnego sprzętu graficznego i wprowadza | |
133 | innowacyjne koncepcje interfejsu użytkownika, zapewniające przyjemne | |
134 | doznania i łatwość użycia. | |
135 | ||
f066ba12 JB |
136 | %package -n bash-completion-gnome-shell |
137 | Summary: Bash completion for GNOME Shell commands | |
138 | Summary(pl.UTF-8): Bashowe dopełnianie parametrów poleceń GNOME Shell | |
139 | Group: Applications/Shells | |
140 | Requires: %{name} = %{version}-%{release} | |
141 | Requires: bash-completion >= 2.0 | |
95fb3a76 | 142 | BuildArch: noarch |
f066ba12 JB |
143 | |
144 | %description -n bash-completion-gnome-shell | |
145 | Bash completion for GNOME Shell commands. | |
146 | ||
147 | %description -n bash-completion-gnome-shell -l pl.UTF-8 | |
148 | Bashowe dopełnianie parametrów poleceń GNOME Shell. | |
149 | ||
7e95cc9d MB |
150 | %package devel |
151 | Summary: Development files for GNOME Shell | |
152 | Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell | |
153 | Group: Development/Libraries | |
f066ba12 | 154 | BuildArch: noarch |
7e95cc9d MB |
155 | |
156 | %description devel | |
157 | This package provides development files for GNOME Shell. | |
158 | ||
159 | %description devel -l pl.UTF-8 | |
160 | Ten pakiet dostarcza pliki programistyczne dla GNOME Shell. | |
161 | ||
a860f861 ŁK |
162 | %package apidocs |
163 | Summary: GNOME Shell API documentation | |
164 | Summary(pl.UTF-8): Dokumentacja API GNOME Shell | |
165 | Group: Documentation | |
166 | Requires: gtk-doc-common | |
100086ca | 167 | BuildArch: noarch |
a860f861 ŁK |
168 | |
169 | %description apidocs | |
170 | This package provides GNOME Shell API documentation. | |
171 | ||
172 | %description apidocs -l pl.UTF-8 | |
173 | Ten pakiet dostarcza dokumentację API GNOME Shell. | |
174 | ||
1a7ebb2b | 175 | %prep |
176 | %setup -q | |
177 | ||
e1a28f5f JB |
178 | %{__sed} -i -e '/^libshew =/ s/ library/ shared_library/' subprojects/shew/src/meson.build |
179 | ||
1a7ebb2b | 180 | %build |
d22882ab | 181 | %meson build \ |
895e1d39 JB |
182 | %{?with_apidocs:-Dgtk_doc=true} \ |
183 | -Dtests=false | |
e1a28f5f | 184 | |
d22882ab | 185 | %meson_build -C build |
1a7ebb2b | 186 | |
187 | %install | |
188 | rm -rf $RPM_BUILD_ROOT | |
d5cb8e80 | 189 | install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers} |
1a7ebb2b | 190 | |
d22882ab | 191 | %meson_install -C build |
1a7ebb2b | 192 | |
2d8a9ea1 AF |
193 | # evolution already ships this file |
194 | %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop | |
80f1cab6 | 195 | |
ed741a84 JK |
196 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a |
197 | ||
80f1cab6 | 198 | %find_lang %{name} |
1a7ebb2b | 199 | |
200 | %clean | |
201 | rm -rf $RPM_BUILD_ROOT | |
202 | ||
203 | %post | |
80f1cab6 | 204 | %glib_compile_schemas |
1a7ebb2b | 205 | |
80f1cab6 ŁK |
206 | %postun |
207 | if [ "$1" = "0" ]; then | |
208 | %glib_compile_schemas | |
209 | fi | |
1a7ebb2b | 210 | |
211 | %files -f %{name}.lang | |
212 | %defattr(644,root,root,755) | |
927eb550 | 213 | %doc NEWS README.md |
4752e510 | 214 | %attr(755,root,root) %{_bindir}/gnome-extensions |
e1a28f5f | 215 | %attr(755,root,root) %{_bindir}/gnome-extensions-app |
9f710482 | 216 | %attr(755,root,root) %{_bindir}/gnome-shell |
a860f861 | 217 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs |
80f1cab6 | 218 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool |
1255cf42 | 219 | %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool |
d22882ab MB |
220 | %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server |
221 | %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer | |
ed741a84 | 222 | %attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh |
d22882ab MB |
223 | %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper |
224 | %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper | |
80f1cab6 ŁK |
225 | %dir %{_libdir}/gnome-shell |
226 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so | |
2b953177 | 227 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so |
62836e06 | 228 | %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so |
899bb8e4 | 229 | %attr(755,root,root) %{_libdir}/gnome-shell/libshew-0.so |
62836e06 | 230 | %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so |
80f1cab6 ŁK |
231 | %{_libdir}/gnome-shell/Gvc-1.0.typelib |
232 | %{_libdir}/gnome-shell/Shell-0.1.typelib | |
233 | %{_libdir}/gnome-shell/St-1.0.typelib | |
899bb8e4 JR |
234 | %dir %{_libdir}/gnome-shell/girepository-1.0 |
235 | %{_libdir}/gnome-shell/girepository-1.0/Shew-0.typelib | |
a3fecae6 | 236 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml |
899bb8e4 | 237 | %{_datadir}/dbus-1/services/org.gnome.Extensions.service |
95fb3a76 | 238 | %{_datadir}/dbus-1/services/org.gnome.ScreenSaver.service |
80f1cab6 | 239 | %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
899bb8e4 | 240 | %{_datadir}/dbus-1/services/org.gnome.Shell.Extensions.service |
293b02ce | 241 | %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
899bb8e4 | 242 | %{_datadir}/dbus-1/services/org.gnome.Shell.Notifications.service |
5b242c4e | 243 | %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service |
2417c09b | 244 | %{_datadir}/dbus-1/services/org.gnome.Shell.Screencast.service |
a3fecae6 | 245 | %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override |
80f1cab6 | 246 | %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
18eae144 | 247 | %{_datadir}/gnome-control-center/keybindings/*.xml |
80f1cab6 | 248 | %{_datadir}/gnome-shell |
899bb8e4 | 249 | %{_datadir}/metainfo/org.gnome.Extensions.metainfo.xml |
1a06835a | 250 | %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal |
899bb8e4 | 251 | %{_desktopdir}/org.gnome.Extensions.desktop |
046d4523 | 252 | %{_desktopdir}/org.gnome.Shell.desktop |
899bb8e4 | 253 | %{_desktopdir}/org.gnome.Shell.Extensions.desktop |
5b242c4e | 254 | %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop |
e1a28f5f JB |
255 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.Devel.svg |
256 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.svg | |
257 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg | |
258 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Extensions-symbolic.svg | |
259 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg | |
4752e510 | 260 | %{_mandir}/man1/gnome-extensions.1* |
80f1cab6 | 261 | %{_mandir}/man1/gnome-shell.1* |
ed741a84 | 262 | %{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop |
2417c09b JB |
263 | %{systemduserunitdir}/org.gnome.Shell.target |
264 | %{systemduserunitdir}/org.gnome.Shell-disable-extensions.service | |
265 | %{systemduserunitdir}/org.gnome.Shell@wayland.service | |
266 | %{systemduserunitdir}/org.gnome.Shell@x11.service | |
293b02ce | 267 | |
f066ba12 JB |
268 | %files -n bash-completion-gnome-shell |
269 | %defattr(644,root,root,755) | |
270 | %{bash_compdir}/gnome-extensions | |
271 | ||
7e95cc9d MB |
272 | %files devel |
273 | %defattr(644,root,root,755) | |
ed741a84 | 274 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml |
d655008b | 275 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml |
7e95cc9d MB |
276 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml |
277 | %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml | |
278 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml | |
279 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml | |
280 | ||
2417c09b | 281 | %if %{with apidocs} |
d22882ab MB |
282 | %files apidocs |
283 | %defattr(644,root,root,755) | |
284 | %{_gtkdocdir}/shell | |
285 | %{_gtkdocdir}/st | |
2417c09b | 286 | %endif |