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