## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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: semaphore Version: 2.16.31 Release: %autorelease Summary: Semaphore UI is a modern UI for Ansible, Terraform, OpenTofu, Bash and Pulumi. License: MIT URL: https://github.com/semaphoreui/semaphore Source0: https://github.com/semaphoreui/semaphore/archive/refs/tags/v%{version}.tar.gz Source1: semaphore.sysusers.conf Source2: semaphoreui.service Source3: semaphore-setup Patch0: hack.patch BuildRequires: golang BuildRequires: nodejs BuildRequires: nodejs-npm BuildRequires: go-task BuildRequires: git BuildRequires: systemd-rpm-macros Requires: ansible %description Semaphore UI is a modern UI for Ansible, Terraform, OpenTofu, Bash and Pulumi. It lets you easily run Ansible playbooks, get notifications about fails, control access to deployment system. %prep %setup -q %autopatch -p1 %build export SEMAPHORE_VERSION="development" export SEMAPHORE_ARCH="linux_amd64" export SEMAPHORE_CONFIG_PATH="./etc/semaphore" export SEMAPHORE_TAG="%{version}" export APP_ROOT="./semaphoreui/" if ! [[ "$PATH" =~ "$HOME/go/bin:" ]] then PATH="$HOME/go/bin:$PATH" fi export PATH go-task all %install mkdir -p %{buildroot}%{_sysconfdir}/semaphore/ mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sharedstatedir}/semaphore/ install -m 755 bin/semaphore %{buildroot}%{_bindir}/semaphore install -m 644 %{S:2} %{buildroot}%{_unitdir}/semaphoreui.service install -m 755 %{S:3} %{buildroot}%{_bindir}/semaphore-setup %pre %sysusers_create_compat %{S:1} %post %systemd_post semaphoreui.service %preun %systemd_preun semaphoreui.service %postun %systemd_postun_with_restart semaphoreui.service %files %license LICENSE %doc README.md CONTRIBUTING.md %attr(755, root, root) %{_bindir}/semaphore %attr(755, root, root) %{_bindir}/semaphore-setup %attr(750, root, semaphore) %{_sysconfdir}/semaphore/ %attr(755, semaphore, semaphore) %{_sharedstatedir}/semaphore/ %{_unitdir}/semaphoreui.service %changelog ## START: Generated by rpmautospec * Mon Sep 29 2025 Grillo del Mal - 2.16.31-5 - Fix service perms * Mon Sep 29 2025 Grillo del Mal - 2.16.31-4 - Fix etc permissions * Mon Sep 29 2025 Grillo del Mal - 2.16.31-3 - Fix service file * Mon Sep 29 2025 Grillo del Mal - 2.16.31-2 - Add systemd stuff * Mon Sep 29 2025 Grillo del Mal - 2.16.31-1 - Update to 2.16.31 * Also improve installation process * Thu Aug 28 2025 Grillo del Mal - 2.16.18-1 - Update to 2.16.18 * Sun Aug 03 2025 Grillo del Mal - 2.15.4-1 - Update to 2.15.4 * Thu Feb 27 2025 Grillo del Mal - 2.12.14-1 - Update to 2.12.14 * Wed Jan 22 2025 Grillo del Mal - 2.11.2-1 - Updated to 2.11.2 * Tue Jan 21 2025 Neftali Yagua - 2.8.90-1 - Imported from upstream ## END: Generated by rpmautospec