purged some brackets, moved service and sysuser to gear folder
This commit is contained in:
parent
4252bbda0d
commit
70b38b36fe
2 changed files with 12 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
tar: @name@ name=@name@-@version@
|
tar: @name@ name=@name@-@version@
|
||||||
tar: .gear/predownloaded-development name=@name@-development-@version@ base=
|
tar: .gear/predownloaded-development name=@name@-development-@version@ base=
|
||||||
copy: livekit.service
|
copy: .gear/livekit.service
|
||||||
copy: livekit.sysusers
|
copy: .gear/livekit.sysusers
|
||||||
|
|
|
||||||
20
livekit.spec
20
livekit.spec
|
|
@ -8,7 +8,7 @@ Group: System/Servers
|
||||||
Url: https://github.com/livekit/livekit
|
Url: https://github.com/livekit/livekit
|
||||||
VCS: 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
|
Source: %name-%version.tar
|
||||||
Source1: %name-development-%version.tar
|
Source1: %name-development-%version.tar
|
||||||
Source2: %name.service
|
Source2: %name.service
|
||||||
|
|
@ -28,22 +28,22 @@ LiveKit is an open-source, scalable multi-user WebRTC SFU (Selective Forwarding
|
||||||
|
|
||||||
export GOFLAGS="-mod=vendor -trimpath"
|
export GOFLAGS="-mod=vendor -trimpath"
|
||||||
|
|
||||||
go build -buildvcs=false -o %{name} ./cmd/server
|
go build -buildvcs=false -o %name ./cmd/server
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dpm0755 %{name} %{buildroot}%{_sbindir}/%{name}
|
install -Dpm0755 %name %buildroot%_sbindir/%name
|
||||||
install -Dpm0644 config-sample.yaml %{buildroot}%{_sysconfdir}/%{name}/%{name}.yaml
|
install -Dpm0644 config-sample.yaml %buildroot%_sysconfdir/%name/%name.yaml
|
||||||
install -Dpm0644 %SOURCE2 %{buildroot}%{_unitdir}/%{name}.service
|
install -Dpm0644 %SOURCE2 %buildroot%_unitdir/%name.service
|
||||||
install -Dpm0644 %SOURCE2 %{buildroot}%{_sysusersdir}/%{name}.conf
|
install -Dpm0644 %SOURCE3 %buildroot%_sysusersdir/%name.conf
|
||||||
|
|
||||||
%files
|
%files
|
||||||
#%license LICENSE
|
#%license LICENSE
|
||||||
#%license NOTICE
|
#%license NOTICE
|
||||||
%doc README.md CHANGELOG.md NOTICE LICENSE
|
%doc README.md CHANGELOG.md NOTICE LICENSE
|
||||||
%{_sbindir}/%{name}
|
%_sbindir/%name
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.yaml
|
%config(noreplace) %_sysconfdir/%name/%name.yaml
|
||||||
%{_unitdir}/%{name}.service
|
%_unitdir/%name.service
|
||||||
%{_sysusersdir}/%{name}.conf
|
%_sysusersdir/%name.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Feb 24 2026 Romenskiy Arseniy <romenskiy2012@altlinux.org> 1.9.11-alt1
|
* Tue Feb 24 2026 Romenskiy Arseniy <romenskiy2012@altlinux.org> 1.9.11-alt1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue