|
|
|
@ -1,3 +1,5 @@ |
|
|
|
|
%define _unpackaged_files_terminate_build 1 |
|
|
|
|
|
|
|
|
|
Summary: Cast screen |
|
|
|
|
Name: doskast |
|
|
|
|
License: GPL-3.0 |
|
|
|
@ -29,7 +31,7 @@ Requires(pre): apache2-base |
|
|
|
|
%files board |
|
|
|
|
/var/www/cgi-bin/doskast-trigger-connect.cgi |
|
|
|
|
%{_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 |
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------- |
|
|
|
@ -47,17 +49,22 @@ Requires: %{_bindir}/pkexec |
|
|
|
|
|
|
|
|
|
%files student |
|
|
|
|
%{_bindir}/doskast-student-config |
|
|
|
|
%{_bindir}/doskast-xpra-shadow |
|
|
|
|
%{_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 |
|
|
|
|
%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 |
|
|
|
|
|
|
|
|
|
%post student |
|
|
|
|
%post_service doskast-student.service |
|
|
|
|
%post_service doskast-xpra-shadow.socket |
|
|
|
|
|
|
|
|
|
%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 |
|
|
|
|
%install |
|
|
|
|
desktop-file-validate *.desktop |
|
|
|
|
desktop-file-validate xpra-shadow/*.desktop |
|
|
|
|
%makeinstall_std |
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/var/spool/doskast |
|
|
|
|