|
|
|
@ -5,23 +5,19 @@ Group: Graphical desktop/Other |
|
|
|
|
Url: https://osmesh.ru |
|
|
|
|
Version: 0.1 |
|
|
|
|
Release: 1 |
|
|
|
|
Source10: Makefile |
|
|
|
|
Source11: doskast-server-watcher.desktop |
|
|
|
|
Source12: doskast-server-watcher.sh |
|
|
|
|
Source13: doskast-student.service |
|
|
|
|
Source15: doskast-student-firewall.conf |
|
|
|
|
Source16: doskast-trigger-connect.cgi |
|
|
|
|
Source0: %name-%version.tar |
|
|
|
|
BuildArch: noarch |
|
|
|
|
BuildRequires: make |
|
|
|
|
BuildRequires: desktop-file-utils |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
%SUMMARY |
|
|
|
|
Cast screen |
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
%package board |
|
|
|
|
Summary: Doskast for server (board) |
|
|
|
|
Group: Graphical desktop/Other |
|
|
|
|
Requires: xpra |
|
|
|
|
Requires: httpd |
|
|
|
|
|
|
|
|
@ -37,6 +33,7 @@ Requires: httpd |
|
|
|
|
|
|
|
|
|
%package student |
|
|
|
|
Summary: Doskast for client (student) |
|
|
|
|
Group: Graphical desktop/Other |
|
|
|
|
Requires: xpra |
|
|
|
|
Requires: curl |
|
|
|
|
|
|
|
|
@ -48,16 +45,17 @@ Requires: curl |
|
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/system/doskast-student.service.d/doskast-student-firewall.conf |
|
|
|
|
|
|
|
|
|
%post student |
|
|
|
|
%systemd_post doskast-student.socket doskast-student.service |
|
|
|
|
%post_service doskast-student.socket doskast-student.service |
|
|
|
|
|
|
|
|
|
%preun student |
|
|
|
|
%systemd_preun doskast-student.socket doskast-student.service |
|
|
|
|
%preun_service doskast-student.socket doskast-student.service |
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%install |
|
|
|
|
cp %sources . |
|
|
|
|
desktop-file-validate *.desktop |
|
|
|
|
%makeinstall_std |