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