2021-04-13 20:53:12 +00:00
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
%global major_version %(echo -n %{tarball_version} | sed 's/[.].*//')
|
|
|
|
|
|
|
|
%global gettext_version 0.19.6
|
2023-09-10 14:18:24 +00:00
|
|
|
%global gnome_desktop_version 44.0
|
2021-04-13 20:53:12 +00:00
|
|
|
%global glib2_version 2.68.0
|
|
|
|
%global gtk4_version 3.24.27
|
2024-01-09 16:08:39 +00:00
|
|
|
%global mutter_version 46~alpha
|
2021-04-13 20:53:12 +00:00
|
|
|
%global gsettings_desktop_schemas_version 40~rc
|
|
|
|
%global ibus_version 1.5.24
|
|
|
|
%global gnome_settings_daemon_version 40~rc
|
|
|
|
|
|
|
|
Name: gnome-kiosk
|
2023-09-19 09:06:34 +00:00
|
|
|
Version: 45.0
|
2023-09-10 14:04:58 +00:00
|
|
|
Release: %{autorelease}
|
2021-04-13 20:53:12 +00:00
|
|
|
Summary: Window management and application launching for GNOME
|
|
|
|
|
2023-03-06 09:51:56 +00:00
|
|
|
License: GPL-2.0-or-later
|
2022-01-17 08:37:28 +00:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/gnome-kiosk
|
2023-03-21 08:24:50 +00:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
|
2021-04-13 20:53:12 +00:00
|
|
|
|
2024-01-09 16:08:39 +00:00
|
|
|
# Build against mutter API version 14
|
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-kiosk/-/merge_requests/33
|
|
|
|
Patch: 0001-Build-against-mutter-API-version-14.patch
|
|
|
|
|
2021-04-23 15:26:55 +00:00
|
|
|
Provides: firstboot(windowmanager) = %{name}
|
|
|
|
|
2023-03-06 09:51:56 +00:00
|
|
|
BuildRequires: dconf
|
2021-04-13 20:53:12 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gettext >= %{gettext_version}
|
|
|
|
BuildRequires: git
|
2023-03-06 09:51:56 +00:00
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
BuildRequires: meson
|
2021-04-13 20:53:12 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= %{glib2_version}
|
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
2023-09-19 09:04:10 +00:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-4) >= %{gnome_desktop_version}
|
2021-04-13 20:53:12 +00:00
|
|
|
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
|
|
|
BuildRequires: pkgconfig(ibus-1.0) >= %{ibus_version}
|
2024-01-09 16:08:39 +00:00
|
|
|
BuildRequires: pkgconfig(libmutter-14) >= %{mutter_version}
|
2021-04-13 20:53:12 +00:00
|
|
|
|
|
|
|
Requires: gnome-settings-daemon%{?_isa} >= %{gnome_settings_daemon_version}
|
|
|
|
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNOME Kiosk provides a desktop enviroment suitable for fixed purpose, or
|
|
|
|
single application deployments like wall displays and point-of-sale systems.
|
|
|
|
|
|
|
|
%package search-appliance
|
|
|
|
Summary: Example search application application that uses GNOME Kiosk
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: firefox
|
|
|
|
Requires: gnome-session
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description search-appliance
|
|
|
|
This package provides a full screen firefox window pointed to google.
|
|
|
|
|
2021-08-18 19:24:07 +00:00
|
|
|
%package script-session
|
|
|
|
Summary: Basic session used for running kiosk application from shell script
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Recommends: gedit
|
|
|
|
Requires: gnome-session
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description script-session
|
|
|
|
This package generates a shell script and the necessary scaffolding to start that shell script within a kiosk session.
|
|
|
|
|
2021-04-13 20:53:12 +00:00
|
|
|
%prep
|
|
|
|
%autosetup -S git -n %{name}-%{tarball_version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Kiosk.desktop
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Kiosk.SearchApp.desktop
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2023-03-21 08:24:50 +00:00
|
|
|
%doc NEWS README.md
|
2021-04-13 20:53:12 +00:00
|
|
|
%{_bindir}/gnome-kiosk
|
|
|
|
%{_datadir}/applications/org.gnome.Kiosk.desktop
|
2023-03-06 09:51:56 +00:00
|
|
|
%{_datadir}/dconf/profile/gnomekiosk
|
|
|
|
%{_datadir}/gnome-kiosk/gnomekiosk.dconf.compiled
|
2021-08-18 19:24:07 +00:00
|
|
|
%{_userunitdir}/org.gnome.Kiosk.target
|
|
|
|
%{_userunitdir}/org.gnome.Kiosk@wayland.service
|
|
|
|
%{_userunitdir}/org.gnome.Kiosk@x11.service
|
2021-04-13 20:53:12 +00:00
|
|
|
|
|
|
|
%files -n gnome-kiosk-search-appliance
|
|
|
|
%{_datadir}/applications/org.gnome.Kiosk.SearchApp.desktop
|
|
|
|
%{_datadir}/gnome-session/sessions/org.gnome.Kiosk.SearchApp.session
|
|
|
|
%{_datadir}/xsessions/org.gnome.Kiosk.SearchApp.Session.desktop
|
|
|
|
%{_datadir}/wayland-sessions/org.gnome.Kiosk.SearchApp.Session.desktop
|
|
|
|
|
2021-08-18 19:24:07 +00:00
|
|
|
%files -n gnome-kiosk-script-session
|
|
|
|
%{_bindir}/gnome-kiosk-script
|
|
|
|
%{_userunitdir}/gnome-session@gnome-kiosk-script.target.d/session.conf
|
|
|
|
%{_userunitdir}/org.gnome.Kiosk.Script.service
|
|
|
|
%{_datadir}/applications/org.gnome.Kiosk.Script.desktop
|
|
|
|
%{_datadir}/gnome-session/sessions/gnome-kiosk-script.session
|
|
|
|
%{_datadir}/wayland-sessions/gnome-kiosk-script-wayland.desktop
|
|
|
|
%{_datadir}/xsessions/gnome-kiosk-script-xorg.desktop
|
|
|
|
|
2021-04-13 20:53:12 +00:00
|
|
|
%changelog
|
2023-09-10 14:04:58 +00:00
|
|
|
%autochangelog
|