Name: keepassxc-unlock Version: 1.1.1 Release: 1%{?dist} Summary: Automatically unlock KeePassXC databases after login License: GPL-3.0-or-later URL: https://github.com/sumwale/keepassxc-unlock Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: git-core BuildRequires: glib2-devel BuildRequires: make BuildRequires: m4 BuildRequires: pkgconfig(readline) BuildRequires: systemd-rpm-macros Requires: keepassxc Requires: systemd %description Keepassxc-unlock is a system service that automatically unlocks registered KeePassXC databases after a successful login or screen unlock. Database passwords are protected using systemd service credentials. %prep %autosetup %build %make_build PRODUCT_VERSION=%{version} CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" \ INSTALL_BIN_DIR=%{_sbindir} INSTALL_SERVICE_DIR=%{_unitdir} %install %make_install PRODUCT_VERSION=%{version} CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" \ INSTALL_ROOT=%{buildroot} \ INSTALL_BIN_DIR=%{_sbindir} \ INSTALL_SERVICE_DIR=%{_unitdir} \ PKG_INSTALL=true install -Dpm0644 README.md %{buildroot}%{_docdir}/%{name}/README.md install -Dpm0644 LICENSE %{buildroot}%{_licensedir}/%{name}/LICENSE %post %systemd_post keepassxc-login-monitor.service %preun %systemd_preun keepassxc-login-monitor.service %postun %systemd_postun_with_restart keepassxc-login-monitor.service %files %{_sbindir}/keepassxc-login-monitor %{_sbindir}/keepassxc-unlock %{_sbindir}/keepassxc-unlock-setup %{_unitdir}/keepassxc-login-monitor.service %{_unitdir}/keepassxc-unlock@.service %doc %{_docdir}/%{name}/README.md %license %{_licensedir}/%{name}/LICENSE %changelog * Sun Aug 30 2026 Chris Roberts - 1.1.1-1 - Initial Fedora package