# SPDX-FileCopyrightText: 2026 Christoph Görn # # SPDX-License-Identifier: GPL-3.0-or-later Name: dolt-systemd Version: 0.1.0 Release: 4%{?dist} Summary: Systemd unit files for Dolt SQL Server container License: GPL-3.0-or-later URL: https://codeberg.org/goern/dolt-systemd Source0: doltd.service Source1: doltd.socket Source2: doltd-sysusers.conf Source3: LICENSE BuildArch: noarch BuildRequires: systemd-rpm-macros Requires: podman Requires: systemd %{?systemd_requires} %description Systemd service and socket unit files for running the Dolt SQL Server as a podman container with socket activation on port 3307. %prep # Nothing to prep — sources are plain config files %build # Nothing to build %install install -D -m 0644 %{SOURCE0} %{buildroot}%{_unitdir}/doltd.service install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/doltd.socket install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/doltd.conf install -D -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/licenses/%{name}/LICENSE %pre %sysusers_create_package doltd %{SOURCE2} %post %systemd_post doltd.socket doltd.service %preun %systemd_preun doltd.socket doltd.service %postun %systemd_postun_with_restart doltd.socket doltd.service %files %{_datadir}/licenses/%{name}/LICENSE %{_unitdir}/doltd.service %{_unitdir}/doltd.socket %{_sysusersdir}/doltd.conf %changelog * Mon May 04 2026 Christoph Görn - 0.1.0-4 - Bind doltd to 127.0.0.1 (close Tailnet exposure) * Wed Apr 01 2026 Christoph Görn - 0.1.0-1 - Initial package