Blame SPECS/gnome-kiosk.spec

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