/[packages]/updates/8/x2goserver/current/SPECS/x2goserver.spec
ViewVC logotype

Diff of /updates/8/x2goserver/current/SPECS/x2goserver.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1929309 by umeabot, Wed Feb 24 21:32:30 2021 UTC revision 1929310 by papoteur, Mon Jan 2 14:59:07 2023 UTC
# Line 6  Line 6 
6  %define x2golibdir      %{_libdir}/x2go  %define x2golibdir      %{_libdir}/x2go
7    
8  Name:           x2goserver  Name:           x2goserver
9  Version:        4.0.1.20  Version:        4.1.0.3
10  Release:        %mkrel 4  Release:        %mkrel 1
11  Summary:        The server-side core of X2go  Summary:        The server-side core of X2go
12  License:        GPLv2+  License:        GPLv2+
13  Group:          Networking/Remote access  Group:          Networking/Remote access
14  Url:            http://wiki.x2go.org/doku.php  Url:            https://wiki.x2go.org/doku.php
15  Source0:        http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz  Source0:        https://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
16  BuildRequires:  gcc  BuildRequires:  gcc
17  BuildRequires:  perl  BuildRequires:  perl
18  BuildRequires:  man  BuildRequires:  man
# Line 47  Requires:      perl-DBD-SQLite Line 47  Requires:      perl-DBD-SQLite
47  Provides:       %{name}-database = %{version}-%{release}  Provides:       %{name}-database = %{version}-%{release}
48    
49  %description sqlite  %description sqlite
50  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
51  run x2go with a default sqlite database setup.  run x2go with a default sqlite database setup.
52    
53  %package postgresql  %package postgresql
54  Summary:        Virtual package for using %{name} with a postgresql database  Summary:        Virtual package for using %{name} with a PostgreSQL database
55  Group:          Networking/Remote access  Group:          Networking/Remote access
56  Requires:       postgresql-server  Requires:       postgresql-server
57  Requires:       perl-DBD-Pg  Requires:       perl-DBD-Pg
58  Provides:       %{name}-database = %{version}-%{release}  Provides:       %{name}-database = %{version}-%{release}
59    
60  %description postgresql  %description postgresql
61  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
62  run x2go with a postgresql setup. Note, you can also run x2go with a remote  run x2go with a PostgreSQL setup. Note, you can also run x2go with a remote
63  postgresql setup.  postgresql setup.
64    
65  %prep  %prep
# Line 83  export LC_ALL=C Line 83  export LC_ALL=C
83  %make_install PREFIX=%{_prefix} \  %make_install PREFIX=%{_prefix} \
84      INSTALL_DIR="install -d -m 755" \      INSTALL_DIR="install -d -m 755" \
85      INSTALL_FILE="install -m 644" \      INSTALL_FILE="install -m 644" \
86        NXLIBDIR=%{_libdir}/nx \
87      INSTALL_PROGRAM="install -m 755"      INSTALL_PROGRAM="install -m 755"
88  rm -f %{buildroot}%{_sysconfdir}/x2go/Xsession.d  rm -f %{buildroot}%{_sysconfdir}/x2go/Xsession.d
89    
# Line 94  cat  > README.install.urpmi << EOF Line 95  cat  > README.install.urpmi << EOF
95  DATABASE SETUP  DATABASE SETUP
96  -----------------  -----------------
97    
98  You need either an sqlite or a postgresql database for running x2go.  You need either an sqlite or a PostgreSQL database for running x2go.
99  If you want to run x2go just on a single server, sqlite is sufficient, for  If you want to run x2go just on a single server, sqlite is sufficient, for
100  running x2go on a multi server setup, postgresql is required.  running x2go on a multi server setup, PostgreSQL is required.
101    
102   $ x2godbadmin --createdb   $ x2godbadmin --createdb
103    
# Line 106  DEFAULT: SQLite setup Line 107  DEFAULT: SQLite setup
107    
108  This variant is the default X2go database setup. The X2go database keeps track  This variant is the default X2go database setup. The X2go database keeps track
109  of running/suspended/finished X2go sessions, mounted devices, etc. If you use  of running/suspended/finished X2go sessions, mounted devices, etc. If you use
110  SQLite as DB backend, X2go will run on one single server.  SQLite as DB back-end, X2go will run on one single server.
111    
112  For multi-X2goServer support use the PostgreSQL setup variant of X2go server.  For multi-X2goServer support use the PostgreSQL setup variant of X2go server.
113  All files should be present for this setup. If not, please report it as a bug.  All files should be present for this setup. If not, please report it as a bug.
# Line 116  ALTERNATIVE: PostgreSQL setup Line 117  ALTERNATIVE: PostgreSQL setup
117  --------------------------------  --------------------------------
118    
119  This variant is for a setup of x2goserver that uses a PostgreSQL database  This variant is for a setup of x2goserver that uses a PostgreSQL database
120  backend...  back-end...
121    
122  The exact installation of x2goserver with PostgreSQL support is described  The exact installation of x2goserver with PostgreSQL support is described
123  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
124    
125  LOCAL FOLDER SHARING  LOCAL FOLDER SHARING
126  -----------------------  -----------------------
# Line 138  to be members of the server-side ,,fuse' Line 139  to be members of the server-side ,,fuse'
139    
140  As X2go printing setups can be rather versatile, details on X2go printing are  As X2go printing setups can be rather versatile, details on X2go printing are
141  explained in the project wiki:  explained in the project wiki:
142  http://wiki.x2go.org/doku.php/doc:installation:printing  https://wiki.x2go.org/doku.php/doc:installation:printing
143    
   
 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.  
144  EOF  EOF
145    
146  find %{buildroot} -name .placeholder -delete  find %{buildroot} -name .placeholder -delete
# Line 157  mkdir -p %{buildroot}%{_localstatedir}/s Line 152  mkdir -p %{buildroot}%{_localstatedir}/s
152  %_pre_useradd x2goprint %{_localstatedir}/spool/x2goprint /bin/false  %_pre_useradd x2goprint %{_localstatedir}/spool/x2goprint /bin/false
153    
154  %post  %post
155    %_tmpfilescreate %{name}
156  chown x2gouser:x2gouser %{_localstatedir}/lib/x2go  chown x2gouser:x2gouser %{_localstatedir}/lib/x2go
157  chown x2goprint:x2goprint %{_localstatedir}/spool/x2goprint  chown x2goprint:x2goprint %{_localstatedir}/spool/x2goprint
158  # Initialize the session database  # Initialize the session database
# Line 172  chown x2goprint:x2goprint %{_localstated Line 168  chown x2goprint:x2goprint %{_localstated
168    
169  %files  %files
170  %doc README.install.urpmi  %doc README.install.urpmi
171  %doc %{_mandir}/man*/x2go*  %doc %{_mandir}/man*/*
172  %dir %{_localstatedir}/lib/x2go  %dir %{_localstatedir}/lib/x2go
173  %dir %{_localstatedir}/spool/x2goprint  %dir %{_localstatedir}/spool/x2goprint
174  %{_datadir}/x2go  %{_datadir}/x2go
175    %{_datadir}/pixmaps/x2goagent.xpm
176  %{_bindir}/x2gobasepath  %{_bindir}/x2gobasepath
177  %{_bindir}/x2gocmdexitmessage  %{_bindir}/x2gocmdexitmessage
178  %{_bindir}/x2gofeature  %{_bindir}/x2gofeature
# Line 194  chown x2goprint:x2goprint %{_localstated Line 191  chown x2goprint:x2goprint %{_localstated
191  %{_bindir}/x2gosessionlimit  %{_bindir}/x2gosessionlimit
192  %{_bindir}/x2gosetkeyboard  %{_bindir}/x2gosetkeyboard
193  %{_bindir}/x2gostartagent  %{_bindir}/x2gostartagent
 %{_bindir}/x2gosuspend  
 %{_bindir}/x2gosuspend-agent  
194  %{_bindir}/x2gosuspend-session  %{_bindir}/x2gosuspend-session
 %{_bindir}/x2goterminate  
195  %{_bindir}/x2goterminate-session  %{_bindir}/x2goterminate-session
196  %{_bindir}/x2goumount-session  %{_bindir}/x2goumount-session
197  %{_bindir}/x2goversion  %{_bindir}/x2goversion
198  %{_bindir}/x2gopath  %{_bindir}/x2gopath
199  %{_sbindir}/x2go*  %{_sbindir}/x2go*
200    %{_bindir}/x2goagent
201    %{_bindir}/x2golistshadowsessions
202    %{_bindir}/x2goresume-desktopsharing
203    %{_bindir}/x2gosuspend-desktopsharing
204    %{_bindir}/x2goterminate-desktopsharing
205  %{_sysconfdir}/sudoers.d/x2goserver  %{_sysconfdir}/sudoers.d/x2goserver
206  %dir %{_sysconfdir}/x2go  %dir %{_sysconfdir}/x2go
207  %{_sysconfdir}/x2go/Xresources  %{_sysconfdir}/x2go/Xresources
208  %{_sysconfdir}/x2go/Xsession  %{_sysconfdir}/x2go/Xsession
209  %{_sysconfdir}/x2go/xinitrc.d  %{_sysconfdir}/x2go/xinitrc.d
210    %{_sysconfdir}/x2go/desktopsharing/settings
211    %{_sysconfdir}/x2go/keystrokes.cfg
212    %{_sysconfdir}/x2go/x2goagent.keyboard
213  %config(noreplace) %{_sysconfdir}/logcheck  %config(noreplace) %{_sysconfdir}/logcheck
214  %config(noreplace) %{_sysconfdir}/x2go/x2goserver.conf  %config(noreplace) %{_sysconfdir}/x2go/x2goserver.conf
215  %{_sysconfdir}/x2go/x2gosql/sql  %{_sysconfdir}/x2go/x2gosql/sql
# Line 220  chown x2goprint:x2goprint %{_localstated Line 222  chown x2goprint:x2goprint %{_localstated
222  %dir %{x2golibdir}  %dir %{x2golibdir}
223  %{x2golibdir}/x2gochangestatus  %{x2golibdir}/x2gochangestatus
224  %{x2golibdir}/x2gocreatesession  %{x2golibdir}/x2gocreatesession
 %{x2golibdir}/x2godbwrapper.pm  
225  %{x2golibdir}/x2gogetagent  %{x2golibdir}/x2gogetagent
226  %{x2golibdir}/x2gogetagentstate  %{x2golibdir}/x2gogetagentstate
227  %{x2golibdir}/x2gogetdisplays  %{x2golibdir}/x2gogetdisplays
# Line 230  chown x2goprint:x2goprint %{_localstated Line 231  chown x2goprint:x2goprint %{_localstated
231  %{x2golibdir}/x2goinsertsession  %{x2golibdir}/x2goinsertsession
232  %{x2golibdir}/x2golistsessions_sql  %{x2golibdir}/x2golistsessions_sql
233  %{x2golibdir}/x2gologlevel  %{x2golibdir}/x2gologlevel
 %{x2golibdir}/x2gologlevel.pm  
234  %{x2golibdir}/x2gormforward  %{x2golibdir}/x2gormforward
235  %{x2golibdir}/x2gormport  %{x2golibdir}/x2gormport
236  %{x2golibdir}/x2goresume  %{x2golibdir}/x2goresume
 %{x2golibdir}/x2goutils.pm  
237  %{x2golibdir}/extensions  %{x2golibdir}/extensions
 %attr(2755,root,x2gouser) %{x2golibdir}/x2gosqlitewrapper  
 %{x2golibdir}/x2gosqlitewrapper.pl  
238  %{x2golibdir}/x2gosuspend-agent  %{x2golibdir}/x2gosuspend-agent
239  %{x2golibdir}/x2gosyslog  %{x2golibdir}/x2gosyslog
240    %{_libdir}/nx/bin/x2goagent
241    %{x2golibdir}/libx2go-server-db-sqlite3-wrapper
242    %{x2golibdir}/libx2go-server-db-sqlite3-wrapper.pl
243    %{x2golibdir}/x2gocheckport
244    %{x2golibdir}/x2gocreateshadowsession
245    %{x2golibdir}/x2gogetfreeport
246    %{x2golibdir}/x2gogetrandomport
247    %{x2golibdir}/x2goinsertshadowsession
248    %{x2golibdir}/x2goistrue
249    %{x2golibdir}/x2goqueryconfig
250    %perl_vendorlib/X2Go/
251    %{_tmpfilesdir}/x2goserver.conf

Legend:
Removed from v.1929309  
changed lines
  Added in v.1929310

  ViewVC Help
Powered by ViewVC 1.1.28