## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 Name: livekit-ingress Version: 1.5.0 Release: %autorelease Summary: Ingest streams (RTMP/WHIP) or files (HLS, MP4) to LiveKit WebRTC. License: MIT URL: https://github.com/livekit/ingress Source0: %{url}/archive/refs/tags/v%{version}.tar.gz Source1: %{name}.sysusers.conf Source2: %{name}.service BuildRequires: glib2-devel BuildRequires: gstreamer1-devel BuildRequires: gstreamer1-plugins-bad-free-devel BuildRequires: golang BuildRequires: systemd-rpm-macros %description WebRTC is proving to be a versatile and scalable transport protocol both for media ingestion and delivery. However, some applications may require integrating with existing workflows or equipment that do not support WebRTC. Universal Ingress provides a way to send media that was generated using such workflows to a LiveKit room. %prep %setup -q -n ingress-%{version} go mod download %build go build -o ./bin/%{name} ./cmd/server %install install -m 755 -d %{buildroot}%{_bindir} install -m 755 -d %{buildroot}%{_sysusersdir} install -m 755 -d %{buildroot}%{_sysconfdir}/%{name} install -m 755 -d %{buildroot}%{_unitdir} install -m 755 -d %{buildroot}%{_sharedstatedir}/%{name} install -D -m 755 ./bin/%{name} %{buildroot}%{_bindir}/%{name} install -D -m 755 ./test/config-sample.yaml %{buildroot}%{_sysconfdir}/%{name}/config.yaml install -m 644 %{S:1} %{buildroot}%{_sysusersdir}/%{name}.conf install -m 644 %{S:2} %{buildroot}%{_unitdir}/%{name}.service %pre %sysusers_create_compat %{S:1} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license LICENSE %attr(755, -, -) %{_bindir}/%{name} %config(noreplace) %attr(-,%{name},%{name}) %{_sysconfdir}/%{name}/config.yaml %dir %attr(755, %{name}, %{name}) %{_sharedstatedir}/%{name}/ %{_sysusersdir}/%{name}.conf %{_unitdir}/%{name}.service %changelog ## START: Generated by rpmautospec * Fri May 29 2026 Grillo del Mal - 1.5.0-1 - Initial commit ## END: Generated by rpmautospec