purged some brackets, moved service and sysuser to gear folder

This commit is contained in:
TheK0tYaRa 2026-02-24 14:39:22 +03:00
parent 4252bbda0d
commit 70b38b36fe
2 changed files with 12 additions and 12 deletions

View file

@ -8,7 +8,7 @@ Group: System/Servers
Url: https://github.com/livekit/livekit
VCS: https://github.com/livekit/livekit
#https://github.com/livekit/livekit/archive/refs/tags/v%{version}.tar.gz
#https://github.com/livekit/livekit/archive/refs/tags/v%version.tar.gz
Source: %name-%version.tar
Source1: %name-development-%version.tar
Source2: %name.service
@ -28,22 +28,22 @@ LiveKit is an open-source, scalable multi-user WebRTC SFU (Selective Forwarding
export GOFLAGS="-mod=vendor -trimpath"
go build -buildvcs=false -o %{name} ./cmd/server
go build -buildvcs=false -o %name ./cmd/server
%install
install -Dpm0755 %{name} %{buildroot}%{_sbindir}/%{name}
install -Dpm0644 config-sample.yaml %{buildroot}%{_sysconfdir}/%{name}/%{name}.yaml
install -Dpm0644 %SOURCE2 %{buildroot}%{_unitdir}/%{name}.service
install -Dpm0644 %SOURCE2 %{buildroot}%{_sysusersdir}/%{name}.conf
install -Dpm0755 %name %buildroot%_sbindir/%name
install -Dpm0644 config-sample.yaml %buildroot%_sysconfdir/%name/%name.yaml
install -Dpm0644 %SOURCE2 %buildroot%_unitdir/%name.service
install -Dpm0644 %SOURCE3 %buildroot%_sysusersdir/%name.conf
%files
#%license LICENSE
#%license NOTICE
%doc README.md CHANGELOG.md NOTICE LICENSE
%{_sbindir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.yaml
%{_unitdir}/%{name}.service
%{_sysusersdir}/%{name}.conf
%_sbindir/%name
%config(noreplace) %_sysconfdir/%name/%name.yaml
%_unitdir/%name.service
%_sysusersdir/%name.conf
%changelog
* Tue Feb 24 2026 Romenskiy Arseniy <romenskiy2012@altlinux.org> 1.9.11-alt1