%global debug_package %{nil} %global _missing_build_ids_terminate_build 0 %global _dwz_low_mem_die_limit 0 Name: semaphore Version: 2.8.90 Release: 1%{?dist} Summary: Ansible Semaphore is a modern UI for Ansible. It lets you easily run Ansible playbooks, get notifications about fails, control access to deployment system. License: MIT URL: https://github.com/ansible-semaphore/semaphore Source: https://github.com/ansible-semaphore/semaphore/archive/refs/tags/v2.8.90.zip BuildRequires: golang BuildRequires: nodejs BuildRequires: nodejs-npm BuildRequires: go-task BuildRequires: git BuildRequires: systemd-rpm-macros Requires: ansible %description Ansible Semaphore is a modern UI for Ansible. It lets you easily run Ansible playbooks, get notifications about fails, control access to deployment system. %prep %setup -q %build export SEMAPHORE_VERSION="development" export SEMAPHORE_ARCH="linux_amd64" export SEMAPHORE_CONFIG_PATH="./etc/semaphore" export APP_ROOT="./ansible-semaphore/" if ! [[ "$PATH" =~ "$HOME/go/bin:" ]] then PATH="$HOME/go/bin:$PATH" fi export PATH go-task all cat > ansible-semaphore.service < semaphore-setup <