|
|
f5e75e |
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
f5e75e |
%global major_version %(echo -n %{tarball_version} | sed 's/[.].*//')
|
|
|
f5e75e |
|
|
|
f5e75e |
%global gettext_version 0.19.6
|
|
|
f5e75e |
%global gnome_desktop_version 40~rc
|
|
|
f5e75e |
%global glib2_version 2.68.0
|
|
|
f5e75e |
%global gtk4_version 3.24.27
|
|
|
f5e75e |
%global mutter_version 40.0
|
|
|
f5e75e |
%global gsettings_desktop_schemas_version 40~rc
|
|
|
f5e75e |
%global ibus_version 1.5.24
|
|
|
f5e75e |
%global gnome_settings_daemon_version 40~rc
|
|
|
f5e75e |
|
|
|
f5e75e |
Name: gnome-kiosk
|
|
|
f5e75e |
Version: 40.0
|
|
|
4175f0 |
Release: 4%{?dist}.1
|
|
|
f5e75e |
Summary: Window management and application launching for GNOME
|
|
|
f5e75e |
|
|
|
f5e75e |
License: GPLv2+
|
|
|
f5e75e |
URL: https://gitlab.gnome.org/halfline/gnome-kiosk
|
|
|
f5e75e |
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
|
|
|
f5e75e |
|
|
|
f5e75e |
Provides: firstboot(windowmanager) = %{name}
|
|
|
f5e75e |
|
|
|
f5e75e |
BuildRequires: desktop-file-utils
|
|
|
f5e75e |
BuildRequires: gcc
|
|
|
f5e75e |
BuildRequires: gettext >= %{gettext_version}
|
|
|
f5e75e |
BuildRequires: git
|
|
|
f5e75e |
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
|
|
f5e75e |
BuildRequires: pkgconfig(gobject-2.0) >= %{glib2_version}
|
|
|
f5e75e |
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
|
|
f5e75e |
BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
|
|
|
f5e75e |
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
|
|
f5e75e |
BuildRequires: pkgconfig(ibus-1.0) >= %{ibus_version}
|
|
|
f5e75e |
BuildRequires: pkgconfig(libmutter-8) >= %{mutter_version}
|
|
|
f5e75e |
BuildRequires: mesa-libEGL-devel
|
|
|
f5e75e |
BuildRequires: mesa-libGL-devel
|
|
|
f5e75e |
BuildRequires: meson
|
|
|
f5e75e |
|
|
|
f5e75e |
Requires: gnome-settings-daemon%{?_isa} >= %{gnome_settings_daemon_version}
|
|
|
f5e75e |
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
|
|
|
f5e75e |
|
|
|
f5e75e |
Patch10001: 0001-compositor-Support-systemd-user-sessions.patch
|
|
|
f5e75e |
Patch10002: 0002-Add-a-script-for-simplifying-kiosk-setup.patch
|
|
|
f5e75e |
|
|
|
f5e75e |
Patch20001: 0001-compositor-Ignore-some-of-the-builtin-keybindings.patch
|
|
|
f5e75e |
Patch20002: 0002-kiosk-script-Make-sure-desktop-file-for-script-is-hi.patch
|
|
|
f5e75e |
Patch20003: 0003-kiosk-script-Install-session-file-with-fallback-in-m.patch
|
|
|
f5e75e |
Patch20004: 0004-kiosk-script-Give-xsession-and-wayland-session-file-.patch
|
|
|
f5e75e |
Patch20005: 0005-kiosk-script-Add-a-hint-about-using-firefox-to-the-k.patch
|
|
|
f5e75e |
Patch20006: 0006-kiosk-script-Send-SIGHUP-to-script-at-shutdown-time.patch
|
|
|
f5e75e |
|
|
|
f5e75e |
%description
|
|
|
f5e75e |
GNOME Kiosk provides a desktop enviroment suitable for fixed purpose, or
|
|
|
f5e75e |
single application deployments like wall displays and point-of-sale systems.
|
|
|
f5e75e |
|
|
|
f5e75e |
%package search-appliance
|
|
|
f5e75e |
Summary: Example search application application that uses GNOME Kiosk
|
|
|
f5e75e |
License: GPLv2+
|
|
|
f5e75e |
Requires: %{name} = %{version}-%{release}
|
|
|
f5e75e |
Requires: firefox
|
|
|
f5e75e |
Requires: gnome-session
|
|
|
f5e75e |
BuildArch: noarch
|
|
|
f5e75e |
|
|
|
f5e75e |
%description search-appliance
|
|
|
f5e75e |
This package provides a full screen firefox window pointed to google.
|
|
|
f5e75e |
|
|
|
f5e75e |
%package script-session
|
|
|
f5e75e |
Summary: Basic session used for running kiosk application from shell script
|
|
|
f5e75e |
License: GPLv2+
|
|
|
f5e75e |
Requires: %{name} = %{version}-%{release}
|
|
|
f5e75e |
Recommends: gedit
|
|
|
f5e75e |
Requires: gnome-session
|
|
|
f5e75e |
BuildArch: noarch
|
|
|
f5e75e |
|
|
|
f5e75e |
%description script-session
|
|
|
f5e75e |
This package generates a shell script and the necessary scaffolding to start that shell script within a kiosk session.
|
|
|
f5e75e |
|
|
|
f5e75e |
%prep
|
|
|
f5e75e |
%autosetup -S git -n %{name}-%{tarball_version}
|
|
|
f5e75e |
|
|
|
f5e75e |
%build
|
|
|
f5e75e |
%meson
|
|
|
f5e75e |
%meson_build
|
|
|
f5e75e |
|
|
|
f5e75e |
%install
|
|
|
f5e75e |
%meson_install
|
|
|
f5e75e |
|
|
|
f5e75e |
%check
|
|
|
f5e75e |
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Kiosk.desktop
|
|
|
f5e75e |
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Kiosk.SearchApp.desktop
|
|
|
f5e75e |
|
|
|
f5e75e |
%files
|
|
|
f5e75e |
%license COPYING
|
|
|
f5e75e |
%doc README.md
|
|
|
f5e75e |
%{_bindir}/gnome-kiosk
|
|
|
f5e75e |
%{_datadir}/applications/org.gnome.Kiosk.desktop
|
|
|
f5e75e |
%{_userunitdir}/org.gnome.Kiosk.target
|
|
|
f5e75e |
%{_userunitdir}/org.gnome.Kiosk@wayland.service
|
|
|
f5e75e |
%{_userunitdir}/org.gnome.Kiosk@x11.service
|
|
|
f5e75e |
|
|
|
f5e75e |
%files -n gnome-kiosk-script-session
|
|
|
f5e75e |
%{_bindir}/gnome-kiosk-script
|
|
|
f5e75e |
%{_userunitdir}/gnome-session@gnome-kiosk-script.target.d/session.conf
|
|
|
f5e75e |
%{_userunitdir}/org.gnome.Kiosk.Script.service
|
|
|
f5e75e |
%{_datadir}/applications/org.gnome.Kiosk.Script.desktop
|
|
|
f5e75e |
%{_datadir}/gnome-session/sessions/gnome-kiosk-script.session
|
|
|
f5e75e |
%{_datadir}/wayland-sessions/gnome-kiosk-script.desktop
|
|
|
f5e75e |
%{_datadir}/xsessions/gnome-kiosk-script.desktop
|
|
|
f5e75e |
|
|
|
f5e75e |
%files -n gnome-kiosk-search-appliance
|
|
|
f5e75e |
%{_datadir}/applications/org.gnome.Kiosk.SearchApp.desktop
|
|
|
f5e75e |
%{_datadir}/gnome-session/sessions/org.gnome.Kiosk.SearchApp.session
|
|
|
f5e75e |
%{_datadir}/xsessions/org.gnome.Kiosk.SearchApp.Session.desktop
|
|
|
f5e75e |
%{_datadir}/wayland-sessions/org.gnome.Kiosk.SearchApp.Session.desktop
|
|
|
f5e75e |
|
|
|
f5e75e |
%changelog
|
|
|
4175f0 |
* Thu Aug 18 2022 Ray Strode <rstrode@redhat.com> - 40.0-4.1
|
|
|
4175f0 |
- Rebuild
|
|
|
4175f0 |
Related: #2119427
|
|
|
4175f0 |
|
|
|
f5e75e |
* Wed Aug 11 2021 Ray Strode <rstrode@redhat.com> - 40.0-4
|
|
|
f5e75e |
- Fix crash when hitting alt-f2
|
|
|
f5e75e |
- Various fixes to the script-session
|
|
|
f5e75e |
Related: #1965338
|
|
|
f5e75e |
|
|
|
f5e75e |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-3
|
|
|
f5e75e |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
f5e75e |
Related: rhbz#1991688
|
|
|
f5e75e |
|
|
|
f5e75e |
* Fri Aug 06 2021 Ray Strode <rstrode@redhat.com> - 40.0-2
|
|
|
f5e75e |
- Support systemd --user sessions
|
|
|
f5e75e |
- Add script-session subpackage
|
|
|
f5e75e |
Related: #1965338
|
|
|
f5e75e |
|
|
|
f5e75e |
* Mon May 17 2021 Ray Strode <rstrode@redhat.com> - 40.0-1
|
|
|
f5e75e |
- Update to 40.0
|
|
|
f5e75e |
Related: #1950042
|
|
|
f5e75e |
|
|
|
f5e75e |
* Tue Apr 27 2021 Ray Strode <rstrode@redhat.com> - 40~alpha-7
|
|
|
f5e75e |
- Fix desktop file
|
|
|
f5e75e |
Resolves: #1954285
|
|
|
f5e75e |
|
|
|
f5e75e |
* Fri Apr 23 2021 Ray Strode <rstrode@redhat.com> - 40~alpha-6
|
|
|
f5e75e |
- Add vprovides so initial-setup can use this
|
|
|
f5e75e |
|
|
|
f5e75e |
* Wed Apr 21 2021 Ray Strode <rstrode@redhat.com> - 40~alpha-5
|
|
|
f5e75e |
- Fix keyboard layouts getting out of sync in anaconda
|
|
|
f5e75e |
|
|
|
f5e75e |
* Tue Apr 20 2021 Ray Strode <rstrode@redhat.com> - 40~alpha-4
|
|
|
f5e75e |
- Fix infinite loop
|
|
|
f5e75e |
|
|
|
f5e75e |
* Mon Apr 19 2021 Ray Strode <rstrode@redhat.com> - 40~alpha-3
|
|
|
f5e75e |
- Fix crash
|
|
|
f5e75e |
|
|
|
f5e75e |
* Sun Apr 18 2021 Ray Strode <rstrode@redhat.com> - 40~alpha-2
|
|
|
f5e75e |
- Work with 3rd party keyboard layout selectors
|
|
|
f5e75e |
- Be less aggressive about fullscreening windows
|
|
|
f5e75e |
|
|
|
f5e75e |
* Mon Apr 12 2021 Ray Strode <rstrode@redhat.com> - 40~alpha-1
|
|
|
f5e75e |
- Initial import
|
|
|
f5e75e |
|