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