]> git.pld-linux.org Git - packages/gnome-shell.git/blame - gnome-shell.spec
- updated to 3.38.2
[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
875f8fae 27Version: 3.38.2
2417c09b 28Release: 1
9eff3152
ER
29License: GPL v2+
30Group: X11/Window Managers
875f8fae
JB
31Source0: https://download.gnome.org/sources/gnome-shell/3.38/%{name}-%{version}.tar.xz
32# Source0-md5: 069511072eedd1934b762320467c0ab7
66cfec93 33URL: https://wiki.gnome.org/Projects/GnomeShell
927eb550
JB
34BuildRequires: NetworkManager-devel >= %{NetworkManager_ver}
35BuildRequires: at-spi2-atk-devel
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}
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
JB
58BuildRequires: libcroco-devel >= %{libcroco_ver}
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
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}
100Requires: libcroco >= %{libcroco_ver}
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
7e95cc9d
MB
134%package devel
135Summary: Development files for GNOME Shell
136Summary(pl.UTF-8): Pliki programistyczne dla GNOME Shell
137Group: Development/Libraries
138
139%description devel
140This package provides development files for GNOME Shell.
141
142%description devel -l pl.UTF-8
143Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
144
a860f861
ŁK
145%package apidocs
146Summary: GNOME Shell API documentation
147Summary(pl.UTF-8): Dokumentacja API GNOME Shell
148Group: Documentation
149Requires: gtk-doc-common
ce20bc45 150%{?noarchpackage}
a860f861
ŁK
151
152%description apidocs
153This package provides GNOME Shell API documentation.
154
155%description apidocs -l pl.UTF-8
156Ten pakiet dostarcza dokumentację API GNOME Shell.
157
1a7ebb2b 158%prep
159%setup -q
160
e1a28f5f
JB
161%{__sed} -i -e '/^libshew =/ s/ library/ shared_library/' subprojects/shew/src/meson.build
162
1a7ebb2b 163%build
d22882ab 164%meson build \
2417c09b 165 %{?with_apidocs:-Dgtk_doc=true}
e1a28f5f 166
d22882ab 167%meson_build -C build
1a7ebb2b 168
169%install
170rm -rf $RPM_BUILD_ROOT
d5cb8e80 171install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
1a7ebb2b 172
d22882ab 173%meson_install -C build
1a7ebb2b 174
2d8a9ea1
AF
175# evolution already ships this file
176%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
80f1cab6 177
ed741a84
JK
178%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
179
80f1cab6 180%find_lang %{name}
1a7ebb2b 181
182%clean
183rm -rf $RPM_BUILD_ROOT
184
185%post
80f1cab6 186%glib_compile_schemas
1a7ebb2b 187
80f1cab6
ŁK
188%postun
189if [ "$1" = "0" ]; then
190 %glib_compile_schemas
191fi
1a7ebb2b 192
193%files -f %{name}.lang
194%defattr(644,root,root,755)
927eb550 195%doc NEWS README.md
4752e510 196%attr(755,root,root) %{_bindir}/gnome-extensions
e1a28f5f 197%attr(755,root,root) %{_bindir}/gnome-extensions-app
9f710482 198%attr(755,root,root) %{_bindir}/gnome-shell
a860f861 199%attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
80f1cab6 200%attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
1255cf42 201%attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
d22882ab
MB
202%attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
203%attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
ed741a84 204%attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh
d22882ab
MB
205%attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
206%attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
80f1cab6
ŁK
207%dir %{_libdir}/gnome-shell
208%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
2b953177 209%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
62836e06 210%attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
899bb8e4 211%attr(755,root,root) %{_libdir}/gnome-shell/libshew-0.so
62836e06 212%attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
80f1cab6
ŁK
213%{_libdir}/gnome-shell/Gvc-1.0.typelib
214%{_libdir}/gnome-shell/Shell-0.1.typelib
215%{_libdir}/gnome-shell/St-1.0.typelib
899bb8e4
JR
216%dir %{_libdir}/gnome-shell/girepository-1.0
217%{_libdir}/gnome-shell/girepository-1.0/Shew-0.typelib
a860f861 218%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
a3fecae6 219%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
899bb8e4 220%{_datadir}/dbus-1/services/org.gnome.Extensions.service
80f1cab6 221%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
899bb8e4 222%{_datadir}/dbus-1/services/org.gnome.Shell.Extensions.service
293b02ce 223%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
899bb8e4 224%{_datadir}/dbus-1/services/org.gnome.Shell.Notifications.service
5b242c4e 225%{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
2417c09b 226%{_datadir}/dbus-1/services/org.gnome.Shell.Screencast.service
a3fecae6 227%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
80f1cab6 228%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
18eae144 229%{_datadir}/gnome-control-center/keybindings/*.xml
80f1cab6 230%{_datadir}/gnome-shell
899bb8e4 231%{_datadir}/metainfo/org.gnome.Extensions.metainfo.xml
1a06835a 232%{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
899bb8e4 233%{_desktopdir}/org.gnome.Extensions.desktop
046d4523 234%{_desktopdir}/org.gnome.Shell.desktop
899bb8e4 235%{_desktopdir}/org.gnome.Shell.Extensions.desktop
5b242c4e 236%{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
e1a28f5f
JB
237%{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.Devel.svg
238%{_iconsdir}/hicolor/scalable/apps/org.gnome.Extensions.svg
239%{_iconsdir}/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg
240%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Extensions-symbolic.svg
241%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg
4752e510 242%{_mandir}/man1/gnome-extensions.1*
80f1cab6 243%{_mandir}/man1/gnome-shell.1*
ed741a84 244%{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
2417c09b
JB
245%{systemduserunitdir}/org.gnome.Shell.target
246%{systemduserunitdir}/org.gnome.Shell-disable-extensions.service
247%{systemduserunitdir}/org.gnome.Shell@wayland.service
248%{systemduserunitdir}/org.gnome.Shell@x11.service
293b02ce 249
7e95cc9d
MB
250%files devel
251%defattr(644,root,root,755)
ed741a84 252%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
d655008b 253%{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
7e95cc9d
MB
254%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
255%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
256%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
257%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
258
2417c09b 259%if %{with apidocs}
d22882ab
MB
260%files apidocs
261%defattr(644,root,root,755)
262%{_gtkdocdir}/shell
263%{_gtkdocdir}/st
2417c09b 264%endif
This page took 0.224487 seconds and 4 git commands to generate.