Name: separan-gw Version: 1.1.2 Release: 1%{?dist} Summary: FastCGI / stdio / socket gateway worker for the Separan language runtime License: Apache-2.0 URL: https://github.com/mocchii2/Separan Source0: https://github.com/mocchii2/Separan/releases/download/v%{version}/separan-linux-source.tar.gz # The source tarball does not bundle the license text; fetch it from the tagged tree. Source1: https://raw.githubusercontent.com/mocchii2/Separan/v%{version}/LICENSE BuildRequires: gcc BuildRequires: make %description Gateway worker for the Separan programming language runtime. Provides line-oriented JSON stdio, FastCGI stdio, and Unix/TCP socket listeners with worker pools, request/memory recycling, restart backoff, and graceful drain, exposing the native Separan HTTP dispatch API to web servers such as nginx and Apache. %prep %autosetup -n separan-linux-source cp %{SOURCE1} LICENSE %build make separan-gw CFLAGS="%{optflags} -std=c11" %check test "$(./separan-gw --version)" = "%{version}" %install install -Dm755 separan-gw %{buildroot}%{_bindir}/separan-gw install -Dm644 docs/separan-gw.md -t %{buildroot}%{_docdir}/%{name} install -Dm644 docs/separan-gw.ja.md -t %{buildroot}%{_docdir}/%{name} install -Dm644 docs/separan-gw.conf.example -t %{buildroot}%{_docdir}/%{name} %files %license LICENSE %doc %{_docdir}/%{name}/separan-gw.md %doc %{_docdir}/%{name}/separan-gw.ja.md %doc %{_docdir}/%{name}/separan-gw.conf.example %{_bindir}/separan-gw %changelog * Mon Nov 03 2026 mocchii2 <25542236+mocchii2@users.noreply.github.com> - 1.1.2-1 - Initial package