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