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