|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
|
|
%define _unpackaged_files_terminate_build 1 |
|
|
|
|
|
|
|
|
|
|
|
Summary: Cast screen |
|
|
|
Summary: Cast screen |
|
|
|
Name: doskast |
|
|
|
Name: doskast |
|
|
|
License: GPL-3.0 |
|
|
|
License: GPL-3.0 |
|
|
@ -29,7 +31,7 @@ Requires(pre): apache2-base |
|
|
|
%files board |
|
|
|
%files board |
|
|
|
/var/www/cgi-bin/doskast-trigger-connect.cgi |
|
|
|
/var/www/cgi-bin/doskast-trigger-connect.cgi |
|
|
|
%{_bindir}/doskast-server-watcher |
|
|
|
%{_bindir}/doskast-server-watcher |
|
|
|
/etc/xdg/autostart/doskast-server-watcher.desktop |
|
|
|
%{_sysconfdir}/xdg/autostart/doskast-server-watcher.desktop |
|
|
|
%attr(0775,root,apache2) /var/spool/doskast |
|
|
|
%attr(0775,root,apache2) /var/spool/doskast |
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------- |
|
|
|
#-------------------------------------------------------------- |
|
|
@ -47,17 +49,22 @@ Requires: %{_bindir}/pkexec |
|
|
|
|
|
|
|
|
|
|
|
%files student |
|
|
|
%files student |
|
|
|
%{_bindir}/doskast-student-config |
|
|
|
%{_bindir}/doskast-student-config |
|
|
|
|
|
|
|
%{_bindir}/doskast-xpra-shadow |
|
|
|
%{_sbindir}/doskast-student-config |
|
|
|
%{_sbindir}/doskast-student-config |
|
|
|
%{_unitdir}/doskast-student.service |
|
|
|
%{_unitdir}/doskast-xpra-shadow.service |
|
|
|
|
|
|
|
%{_unitdir}/doskast-xpra-shadow.socket |
|
|
|
|
|
|
|
%{_datadir}/applications/doskast-student-config.desktop |
|
|
|
%{_datadir}/polkit-1/actions/ru.mos.doskast-student-config.policy |
|
|
|
%{_datadir}/polkit-1/actions/ru.mos.doskast-student-config.policy |
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/system/doskast-student.service.d/doskast-student-firewall.conf |
|
|
|
%{_sysconfdir}/xdg/autostart/doskast-xpra-shadow.desktop |
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/system/doskast-xpra-shadow.service.d/xpra-shadow-firewall.conf |
|
|
|
%config(noreplace) %{_sysconfdir}/doskastrc |
|
|
|
%config(noreplace) %{_sysconfdir}/doskastrc |
|
|
|
|
|
|
|
|
|
|
|
%post student |
|
|
|
%post student |
|
|
|
%post_service doskast-student.service |
|
|
|
%post_service doskast-xpra-shadow.socket |
|
|
|
|
|
|
|
|
|
|
|
%preun student |
|
|
|
%preun student |
|
|
|
%preun_service doskast-student.service |
|
|
|
%preun_service doskast-xpra-shadow.service |
|
|
|
|
|
|
|
%preun_service doskast-xpra-shadow.socket |
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------- |
|
|
|
#-------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
@ -67,6 +74,7 @@ Requires: %{_bindir}/pkexec |
|
|
|
%build |
|
|
|
%build |
|
|
|
%install |
|
|
|
%install |
|
|
|
desktop-file-validate *.desktop |
|
|
|
desktop-file-validate *.desktop |
|
|
|
|
|
|
|
desktop-file-validate xpra-shadow/*.desktop |
|
|
|
%makeinstall_std |
|
|
|
%makeinstall_std |
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/var/spool/doskast |
|
|
|
mkdir -p %{buildroot}/var/spool/doskast |
|
|
|