--- updates/8/x2goserver/current/SPECS/x2goserver.spec 2023/01/02 14:58:14 1929309 +++ updates/8/x2goserver/current/SPECS/x2goserver.spec 2023/01/02 14:59:07 1929310 @@ -6,13 +6,13 @@ %define x2golibdir %{_libdir}/x2go Name: x2goserver -Version: 4.0.1.20 -Release: %mkrel 4 +Version: 4.1.0.3 +Release: %mkrel 1 Summary: The server-side core of X2go License: GPLv2+ Group: Networking/Remote access -Url: http://wiki.x2go.org/doku.php -Source0: http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz +Url: https://wiki.x2go.org/doku.php +Source0: https://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: perl BuildRequires: man @@ -47,19 +47,19 @@ Provides: %{name}-database = %{version}-%{release} %description sqlite -This is a virtual package that just provides the neccesary packages needed to +This is a virtual package that just provides the necessary packages needed to run x2go with a default sqlite database setup. %package postgresql -Summary: Virtual package for using %{name} with a postgresql database +Summary: Virtual package for using %{name} with a PostgreSQL database Group: Networking/Remote access Requires: postgresql-server Requires: perl-DBD-Pg Provides: %{name}-database = %{version}-%{release} %description postgresql -This is a virtual package that just provides the neccesary packages needed to -run x2go with a postgresql setup. Note, you can also run x2go with a remote +This is a virtual package that just provides the necessary packages needed to +run x2go with a PostgreSQL setup. Note, you can also run x2go with a remote postgresql setup. %prep @@ -83,6 +83,7 @@ %make_install PREFIX=%{_prefix} \ INSTALL_DIR="install -d -m 755" \ INSTALL_FILE="install -m 644" \ + NXLIBDIR=%{_libdir}/nx \ INSTALL_PROGRAM="install -m 755" rm -f %{buildroot}%{_sysconfdir}/x2go/Xsession.d @@ -94,9 +95,9 @@ DATABASE SETUP ----------------- -You need either an sqlite or a postgresql database for running x2go. +You need either an sqlite or a PostgreSQL database for running x2go. If you want to run x2go just on a single server, sqlite is sufficient, for -running x2go on a multi server setup, postgresql is required. +running x2go on a multi server setup, PostgreSQL is required. $ x2godbadmin --createdb @@ -106,7 +107,7 @@ This variant is the default X2go database setup. The X2go database keeps track of running/suspended/finished X2go sessions, mounted devices, etc. If you use -SQLite as DB backend, X2go will run on one single server. +SQLite as DB back-end, X2go will run on one single server. For multi-X2goServer support use the PostgreSQL setup variant of X2go server. All files should be present for this setup. If not, please report it as a bug. @@ -116,10 +117,10 @@ -------------------------------- This variant is for a setup of x2goserver that uses a PostgreSQL database -backend... +back-end... The exact installation of x2goserver with PostgreSQL support is described -here: http://wiki.x2go.org/doku.php/wiki:advanced:multi-node:x2goserver-pgsql +here: https://wiki.x2go.org/doku.php/wiki:advanced:multi-node:x2goserver-pgsql LOCAL FOLDER SHARING ----------------------- @@ -138,14 +139,8 @@ As X2go printing setups can be rather versatile, details on X2go printing are explained in the project wiki: -http://wiki.x2go.org/doku.php/doc:installation:printing +https://wiki.x2go.org/doku.php/doc:installation:printing - -INITSCRIPT ------------- - -Until now, there is none, has to be written from scratch and will follow soonest. -The server can be started by the command x2gocleansessions& as root in the meanwhile. EOF find %{buildroot} -name .placeholder -delete @@ -157,6 +152,7 @@ %_pre_useradd x2goprint %{_localstatedir}/spool/x2goprint /bin/false %post +%_tmpfilescreate %{name} chown x2gouser:x2gouser %{_localstatedir}/lib/x2go chown x2goprint:x2goprint %{_localstatedir}/spool/x2goprint # Initialize the session database @@ -172,10 +168,11 @@ %files %doc README.install.urpmi -%doc %{_mandir}/man*/x2go* +%doc %{_mandir}/man*/* %dir %{_localstatedir}/lib/x2go %dir %{_localstatedir}/spool/x2goprint %{_datadir}/x2go +%{_datadir}/pixmaps/x2goagent.xpm %{_bindir}/x2gobasepath %{_bindir}/x2gocmdexitmessage %{_bindir}/x2gofeature @@ -194,20 +191,25 @@ %{_bindir}/x2gosessionlimit %{_bindir}/x2gosetkeyboard %{_bindir}/x2gostartagent -%{_bindir}/x2gosuspend -%{_bindir}/x2gosuspend-agent %{_bindir}/x2gosuspend-session -%{_bindir}/x2goterminate %{_bindir}/x2goterminate-session %{_bindir}/x2goumount-session %{_bindir}/x2goversion %{_bindir}/x2gopath %{_sbindir}/x2go* +%{_bindir}/x2goagent +%{_bindir}/x2golistshadowsessions +%{_bindir}/x2goresume-desktopsharing +%{_bindir}/x2gosuspend-desktopsharing +%{_bindir}/x2goterminate-desktopsharing %{_sysconfdir}/sudoers.d/x2goserver %dir %{_sysconfdir}/x2go %{_sysconfdir}/x2go/Xresources %{_sysconfdir}/x2go/Xsession %{_sysconfdir}/x2go/xinitrc.d +%{_sysconfdir}/x2go/desktopsharing/settings +%{_sysconfdir}/x2go/keystrokes.cfg +%{_sysconfdir}/x2go/x2goagent.keyboard %config(noreplace) %{_sysconfdir}/logcheck %config(noreplace) %{_sysconfdir}/x2go/x2goserver.conf %{_sysconfdir}/x2go/x2gosql/sql @@ -220,7 +222,6 @@ %dir %{x2golibdir} %{x2golibdir}/x2gochangestatus %{x2golibdir}/x2gocreatesession -%{x2golibdir}/x2godbwrapper.pm %{x2golibdir}/x2gogetagent %{x2golibdir}/x2gogetagentstate %{x2golibdir}/x2gogetdisplays @@ -230,13 +231,21 @@ %{x2golibdir}/x2goinsertsession %{x2golibdir}/x2golistsessions_sql %{x2golibdir}/x2gologlevel -%{x2golibdir}/x2gologlevel.pm %{x2golibdir}/x2gormforward %{x2golibdir}/x2gormport %{x2golibdir}/x2goresume -%{x2golibdir}/x2goutils.pm %{x2golibdir}/extensions -%attr(2755,root,x2gouser) %{x2golibdir}/x2gosqlitewrapper -%{x2golibdir}/x2gosqlitewrapper.pl %{x2golibdir}/x2gosuspend-agent %{x2golibdir}/x2gosyslog +%{_libdir}/nx/bin/x2goagent +%{x2golibdir}/libx2go-server-db-sqlite3-wrapper +%{x2golibdir}/libx2go-server-db-sqlite3-wrapper.pl +%{x2golibdir}/x2gocheckport +%{x2golibdir}/x2gocreateshadowsession +%{x2golibdir}/x2gogetfreeport +%{x2golibdir}/x2gogetrandomport +%{x2golibdir}/x2goinsertshadowsession +%{x2golibdir}/x2goistrue +%{x2golibdir}/x2goqueryconfig +%perl_vendorlib/X2Go/ +%{_tmpfilesdir}/x2goserver.conf