## 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} Name: appflowy-auth Version: 0.8.0 Release: %autorelease Summary: Yay. License: MIT URL: https://codeberg.org/grillo-delmal/AppFlowy-Auth Source0: https://codeberg.org/grillo-delmal/AppFlowy-Auth/archive/refs/tags/%{version}.tar.gz Source1: appflowy-auth.service Source2: appflowy-auth.sysconfig BuildRequires: golang BuildRequires: yarnpkg BuildRequires: nodejs BuildRequires: nodejs-npm BuildRequires: git BuildRequires: systemd-rpm-macros %description Yay %prep %setup -q -n appflowy-auth %build go mod download go mod verify go build -ldflags "-X github.com/supabase/auth/internal/utilities.Version=v%{version}" -buildvcs=false %install mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/ mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sharedstatedir}/appflowy/auth/ mkdir -p %{buildroot}%{_datadir}/appflowy-auth/ install -m 755 auth %{buildroot}%{_bindir}/appflowy_auth install -m 644 %{S:1} %{buildroot}%{_unitdir}/appflowy-auth.service install -m 644 %{S:2} -D %{buildroot}%{_sysconfdir}/sysconfig/appflowy-auth mkdir -p %{buildroot}%{_datadir}/appflowy-auth/migrations cp -pr migrations/* %{buildroot}%{_datadir}/appflowy-auth/migrations/ %post %systemd_post appflowy-auth.service %preun %systemd_preun appflowy-auth.service %postun %systemd_postun_with_restart appflowy-auth.service %files %license LICENSE %doc README.md CONTRIBUTING.md %attr(755, root, root) %{_bindir}/appflowy_auth %attr(755, appflowy, appflowy) %{_sharedstatedir}/appflowy/auth/ %config(noreplace,missingok) %{_sysconfdir}/sysconfig/appflowy-auth %{_unitdir}/appflowy-auth.service %{_datadir}/appflowy-auth/ %changelog ## START: Generated by rpmautospec * Tue Oct 28 2025 Grillo del Mal - 0.8.0-1 - Initial commit ## END: Generated by rpmautospec