]> git.pld-linux.org Git - packages/gnome-shell.git/blame - gnome-shell.spec
- updated to 3.38.0 (requires new gjs, indirectly requiring rust)
[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
21%define pulseaudio_ver 2.0
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
2417c09b
JB
27Version: 3.38.0
28Release: 1
9eff3152
ER
29License: GPL v2+
30Group: X11/Window Managers
2417c09b
JB
31Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.38/%{name}-%{version}.tar.xz
32# Source0-md5: 8a70b4b78fc076b86aefb3c83f0e77d5
33Patch0: %{name}-gtkdoc.patch
66cfec93 34URL: https://wiki.gnome.org/Projects/GnomeShell
927eb550
JB
35BuildRequires: NetworkManager-devel >= %{NetworkManager_ver}
36BuildRequires: at-spi2-atk-devel
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
a985b63a 73BuildRequires: rpm-pythonprov
66cfec93 74BuildRequires: rpmbuild(macros) >= 1.736
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}
101Requires: libcroco >= %{libcroco_ver}
102Requires: libsecret >= %{libsecret_ver}
103Requires: mutter >= %{mutter_ver}
18eae144 104Requires: nautilus >= 3.8.0
927eb550
JB
105Requires: polkit >= %{polkit_ver}
106Requires: pulseaudio-libs >= %{pulseaudio_ver}
107Requires: startup-notification >= %{startup_notification_ver}
108# gjs->gir->TelepathyGLib
109Requires: telepathy-glib >= 0.17.5
110# gjs->gir->TelepathyLogger
e8594913 111Requires: telepathy-logger-libs >= 0.2
90f9906f 112Requires: telepathy-mission-control
21482538 113Suggests: gnome-contacts >= 3.2.0
18eae144 114Suggests: gnome-icon-theme-symbolic >= 3.8.0
6e495a72 115Provides: gdm-wm = 3.8.0
a3fecae6 116Obsoletes: browser-plugin-gnome-shell < 3.32.2-1
1a7ebb2b 117BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
118
119%description
80f1cab6
ŁK
120GNOME Shell is the defining technology of the GNOME 3 desktop user
121experience. It provides core interface functions like switching to
122windows and launching applications. GNOME Shell takes advantage of the
123capabilities of modern graphics hardware and introduces innovative
124user interface concepts to provide a delightful and easy to use
125experience.
1a7ebb2b 126
5b31201b
JB
127%description -l pl.UTF-8
128GNOME Shell to technologia definiująca doznania użytkownika środowiska
129graficznego GNOME 3. Zapewnia podstawowe funkcje interfejsu, takie jak
130przełączanie między oknami czy uruchamianie aplikacji. GNOME Shell
131wykorzystuje mozliwości współczesnego sprzętu graficznego i wprowadza
132innowacyjne koncepcje interfejsu użytkownika, zapewniające przyjemne
133doznania i łatwość użycia.
134
7e95cc9d
MB
135%package devel
136Summary: Development files for GNOME Shell
137Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell
138Group: Development/Libraries
139
140%description devel
141This package provides development files for GNOME Shell.
142
143%description devel -l pl.UTF-8
144Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
145
a860f861
ŁK
146%package apidocs
147Summary: GNOME Shell API documentation
148Summary(pl.UTF-8): Dokumentacja API GNOME Shell
149Group: Documentation
150Requires: gtk-doc-common
e1a28f5f 151%if "%{_rpmversion}" >= "4.6"
290d34a8
ER
152BuildArch: noarch
153%endif
a860f861
ŁK
154
155%description apidocs
156This package provides GNOME Shell API documentation.
157
158%description apidocs -l pl.UTF-8
159Ten pakiet dostarcza dokumentację API GNOME Shell.
160
1a7ebb2b 161%prep
162%setup -q
2417c09b 163%patch0 -p1
1a7ebb2b 164
e1a28f5f
JB
165%{__sed} -i -e '/^libshew =/ s/ library/ shared_library/' subprojects/shew/src/meson.build
166
1a7ebb2b 167%build
d22882ab 168%meson build \
2417c09b 169 %{?with_apidocs:-Dgtk_doc=true}
e1a28f5f 170
d22882ab 171%meson_build -C build
1a7ebb2b 172
173%install
174rm -rf $RPM_BUILD_ROOT
d5cb8e80 175install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
1a7ebb2b 176
d22882ab 177%meson_install -C build
1a7ebb2b 178
2d8a9ea1
AF
179# evolution already ships this file
180%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
80f1cab6 181
ed741a84
JK
182%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
183
80f1cab6 184%find_lang %{name}
1a7ebb2b 185
186%clean
187rm -rf $RPM_BUILD_ROOT
188
189%post
80f1cab6 190%glib_compile_schemas
1a7ebb2b 191
80f1cab6
ŁK
192%postun
193if [ "$1" = "0" ]; then
194 %glib_compile_schemas
195fi
1a7ebb2b 196
197%files -f %{name}.lang
198%defattr(644,root,root,755)
927eb550 199%doc NEWS README.md
4752e510 200%attr(755,root,root) %{_bindir}/gnome-extensions
e1a28f5f 201%attr(755,root,root) %{_bindir}/gnome-extensions-app
9f710482 202%attr(755,root,root) %{_bindir}/gnome-shell
a860f861 203%attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
80f1cab6 204%attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
1255cf42 205%attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
d22882ab
MB
206%attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
207%attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
ed741a84 208%attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh
d22882ab
MB
209%attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
210%attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
80f1cab6
ŁK
211%dir %{_libdir}/gnome-shell
212%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
2b953177 213%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
62836e06 214%attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
899bb8e4 215%attr(755,root,root) %{_libdir}/gnome-shell/libshew-0.so
62836e06 216%attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
80f1cab6
ŁK
217%{_libdir}/gnome-shell/Gvc-1.0.typelib
218%{_libdir}/gnome-shell/Shell-0.1.typelib
219%{_libdir}/gnome-shell/St-1.0.typelib
899bb8e4
JR
220%dir %{_libdir}/gnome-shell/girepository-1.0
221%{_libdir}/gnome-shell/girepository-1.0/Shew-0.typelib
a860f861 222%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
a3fecae6 223%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
899bb8e4 224%{_datadir}/dbus-1/services/org.gnome.Extensions.service
80f1cab6 225%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
899bb8e4 226%{_datadir}/dbus-1/services/org.gnome.Shell.Extensions.service
293b02ce 227%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
899bb8e4 228%{_datadir}/dbus-1/services/org.gnome.Shell.Notifications.service
5b242c4e 229%{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
2417c09b 230%{_datadir}/dbus-1/services/org.gnome.Shell.Screencast.service
a3fecae6 231%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
80f1cab6 232%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
18eae144 233%{_datadir}/gnome-control-center/keybindings/*.xml
80f1cab6 234%{_datadir}/gnome-shell
899bb8e4 235%{_datadir}/metainfo/org.gnome.Extensions.metainfo.xml
1a06835a 236%{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
899bb8e4 237%{_desktopdir}/org.gnome.Extensions.desktop
046d4523 238%{_desktopdir}/org.gnome.Shell.desktop
899bb8e4 239%{_desktopdir}/org.gnome.Shell.Extensions.desktop
5b242c4e 240%{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
e1a28f5f
JB
241%{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.Devel.svg
242%{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.svg
243%{_iconsdir}/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg
244%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Extensions-symbolic.svg
245%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg
4752e510 246%{_mandir}/man1/gnome-extensions.1*
80f1cab6 247%{_mandir}/man1/gnome-shell.1*
ed741a84 248%{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
2417c09b
JB
249%{systemduserunitdir}/org.gnome.Shell.target
250%{systemduserunitdir}/org.gnome.Shell-disable-extensions.service
251%{systemduserunitdir}/org.gnome.Shell@wayland.service
252%{systemduserunitdir}/org.gnome.Shell@x11.service
293b02ce 253
7e95cc9d
MB
254%files devel
255%defattr(644,root,root,755)
ed741a84 256%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
d655008b 257%{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
7e95cc9d
MB
258%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
259%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
260%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
261%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
262
2417c09b 263%if %{with apidocs}
d22882ab
MB
264%files apidocs
265%defattr(644,root,root,755)
266%{_gtkdocdir}/shell
267%{_gtkdocdir}/st
2417c09b 268%endif
This page took 0.084114 seconds and 4 git commands to generate.