Name: quadlet Version: 0.2.4 Release: 1%{?dist} Summary: Systemd container integration tool License: GPLv2+ URL: https://github.com/containers/quadlet Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: meson BuildRequires: gcc BuildRequires: pkgconfig(glib-2.0) >= 2.44.0 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: systemd-rpm-macros Requires(pre): shadow-utils Requires: podman Requires: crun Requires: bash %description Quadlet is an opinionated tool for easily running podman system containers under systemd in an optimal way. %prep %autosetup %build %meson %meson_build %check %meson_test %install %meson_install %pre # We create a quadlet user so that we can get subuids and subgids allocated. # It really is a system user, but Unfortunately useradd doesn't create subuids # for system users, so we manually make it system-like and start at a higher # min uid to avoid conflicts with common uid nrs around 1000 getent passwd quadlet >/dev/null || \ useradd -M -U -K SUB_UID_COUNT=65536 -K UID_MIN=50000 \ -s /sbin/nologin -d /nonexisting \ -c "User for quadlet" quadlet exit 0 %files %license COPYING %doc README.md %doc docs/Fileformat.md %doc docs/ContainerSetup.md %{_libexecdir}/quadlet-generator %{_systemdgeneratordir}/quadlet-system-generator %{_systemdusergeneratordir}/quadlet-user-generator %changelog * Wed Mar 16 2022 Stephen Smoogen - 0.2.4-1 - Update to quadlet-0.2.4 * Tue Feb 8 2022 Stephen Smoogen - 0.2.3-1 - Update to new upstream release - Commit first builds to Fedora build system. * Mon Feb 7 2022 Stephen Smoogen - 0.2.2-2 - Take into account changes requests in bz#2045079 -- add in requires(pre): shadow-utils -- add in build-requires: systemd-rpm-macros - Add in dependency for bash due to explicit call out in generator.c * Mon Jan 24 2022 Stephen Smoogen - 0.2.2-1 - Update to upstream 0.2.2 version - Fix upstream from internal spec to meet rpmlint. * Mon Sep 27 2021 Alexander Larsson - 0.1.0-1 - Initial version