|
|
|
Summary: Cast screen
|
|
|
|
Name: doskast
|
|
|
|
License: GPL-3.0
|
|
|
|
Group: Graphical desktop/Other
|
|
|
|
Url: https://osmesh.ru
|
|
|
|
Version: 0.1
|
|
|
|
Release: 1
|
|
|
|
Source0: %name-%version.tar
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
|
|
|
%description
|
|
|
|
Cast screen
|
|
|
|
|
|
|
|
#--------------------------------------------------------------
|
|
|
|
|
|
|
|
%package board
|
|
|
|
Summary: Doskast for server (board)
|
|
|
|
Group: Graphical desktop/Other
|
|
|
|
Requires: %{_bindir}/inotifywait
|
|
|
|
Requires: xpra
|
|
|
|
Requires: apache2-base
|
|
|
|
Requires(pre): apache2-base
|
|
|
|
|
|
|
|
%description board
|
|
|
|
%summary
|
|
|
|
|
|
|
|
%files board
|
|
|
|
/var/www/cgi-bin/doskast-trigger-connect.cgi
|
|
|
|
%{_bindir}/doskast-server-watcher
|
|
|
|
/etc/xdg/autostart/doskast-server-watcher.desktop
|
|
|
|
%attr(0775,root,apache2) /var/spool/doskast
|
|
|
|
|
|
|
|
#--------------------------------------------------------------
|
|
|
|
|
|
|
|
%package student
|
|
|
|
Summary: Doskast for client (student)
|
|
|
|
Group: Graphical desktop/Other
|
|
|
|
Requires: xpra
|
|
|
|
Requires: curl
|
|
|
|
|
|
|
|
%description student
|
|
|
|
%summary
|
|
|
|
|
|
|
|
%files student
|
|
|
|
%{_unitdir}/doskast-student.service
|
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/system/doskast-student.service.d/doskast-student-firewall.conf
|
|
|
|
|
|
|
|
%post student
|
|
|
|
%post_service doskast-student.socket doskast-student.service
|
|
|
|
|
|
|
|
%preun student
|
|
|
|
%preun_service doskast-student.socket doskast-student.service
|
|
|
|
|
|
|
|
#--------------------------------------------------------------
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%install
|
|
|
|
desktop-file-validate *.desktop
|
|
|
|
%makeinstall_std
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/var/spool/doskast
|