Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37039501
en ru br
ALT Linux repos
S:0.29.7-alt2

Group :: System/Servers
RPM: spreed-webrtc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: spreed-webrtc
Version: 0.29.7
Release: alt2

Summary: A WebRTC audio/video call and conferencing server
License: AGPL-3.0
Group: System/Servers
Url: https://github.com/strukturag/spreed-webrtc/

Source: %name-%version-%release.tar

BuildRequires: golang node

%description
Spreed WebRTC implements a WebRTC audio/video call and conferencing server.

%prep
%setup

%build
[ ! -x autogen.sh ] || sh autogen.sh
%configure
%make_build DEB_BUILDING=1 GO111MODULE=off

%install
%makeinstall_std
find %buildroot%_datadir/spreed-webrtc-server -type f -print0 |xargs -0 chmod 0644
install -pm0644 -D spreed-webrtc.service %buildroot%_unitdir/%name.service
install -pm0640 -D server.conf.in %buildroot%_sysconfdir/%name.conf
install -pm0644 -D spreed-webrtc.sysconfig %buildroot%_sysconfdir/sysconfig/%name

%pre
/usr/sbin/groupadd -r -f _spreed &>/dev/null ||:
/usr/sbin/useradd -r -g _spreed -d %_datadir/spreed-webrtc-server/www -s /dev/null \
   -c "Spreed WebRTC" -M -n _spreed &>/dev/null ||:

%post
%post_service %name

%preun
%preun_service %name

%files
%doc README.md doc
%attr(0640,root,_spreed) %config(noreplace) %_sysconfdir/%name.conf
%config(noreplace) %_sysconfdir/sysconfig/%name
%_unitdir/%name.service
%_sbindir/spreed-webrtc-server
%_datadir/spreed-webrtc-server

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin