## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global debug_package %{nil} %global _missing_build_ids_terminate_build 0 %global _dwz_low_mem_die_limit 0 Name: authelia Version: 4.39.13 Release: %autorelease Summary: An open-source authentication and authorization server. License: MIT URL: https://github.com/authelia/authelia Source0: https://github.com/authelia/authelia/archive/refs/tags/v%{version}.tar.gz Source1: authelia.sysusers.conf Source2: authelia.service BuildRequires: golang BuildRequires: pnpm BuildRequires: nodejs BuildRequires: nodejs-npm BuildRequires: git BuildRequires: systemd-rpm-macros Requires: ansible %description Authelia is an open-source authentication and authorization server providing two-factor authentication and single sign-on (SSO) for your applications via a web portal. It acts as a companion for reverse proxies by allowing, denying, or redirecting requests. %prep %setup -q %build go mod download git init pushd web pnpm install pnpm build popd cp -r api internal/server/public_html/api go build -buildmode=pie -o "./bin/authelia" ./cmd/authelia %install mkdir -p %{buildroot}%{_sysconfdir}/authelia/ mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sharedstatedir}/authelia/ install -m 755 bin/authelia %{buildroot}%{_bindir}/authelia install -m 755 config.template.yml %{buildroot}%{_sysconfdir}/authelia/config.template.yml install -m 644 %{S:2} %{buildroot}%{_unitdir}/authelia.service %pre %sysusers_create_compat %{S:1} %post %systemd_post authelia.service %preun %systemd_preun authelia.service %postun %systemd_postun_with_restart authelia.service %files %license LICENSE %doc README.md CONTRIBUTING.md %attr(755, root, root) %{_bindir}/authelia %attr(750, root, authelia) %{_sysconfdir}/authelia/ %attr(755, authelia, authelia) %{_sharedstatedir}/authelia/ %{_unitdir}/authelia.service %changelog ## START: Generated by rpmautospec * Tue Oct 28 2025 Grillo del Mal - 4.39.13-1 - Update to 4.39.13 * Sat Oct 11 2025 Grillo del Mal - 4.39.12-1 - Initial commit ## END: Generated by rpmautospec