Compare commits

...
Sign in to create a new pull request.

113 commits

Author SHA1 Message Date
Orion Poplawski
246185bec8 Add sysusers config for x2goprint user (fixes FTI rhbz#2383859) 2025-08-19 21:30:05 -06:00
Orion Poplawski
ddd9a19a35 Convert to %autorelease and %autochangelog
[skip changelog]
2025-08-19 21:22:32 -06:00
Orion Poplawski
dd81eff20f Handle F42 sbin merge 2025-08-19 21:21:41 -06:00
Orion Poplawski
15f127616d Cleanup old conditionals 2025-08-19 21:21:38 -06:00
Fedora Release Engineering
b27889f76d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:36:06 +00:00
Zbigniew Jędrzejewski-Szmek
36f050255f Add sysusers.d config file to allow rpm to create users/groups automatically
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
2025-02-11 17:03:13 +01:00
Orion Poplawski
ed0f9121ba Define SBINDIR for sbin merge (FTBFS rhbz#2341558) 2025-01-23 17:53:30 -07:00
Fedora Release Engineering
f82646372d Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 15:22:25 +00:00
Miroslav Suchý
01c3b85d33 convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-26 04:02:26 +02:00
Fedora Release Engineering
aaeb0b9561 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:39:47 +00:00
Fedora Release Engineering
28c93eaabd Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 09:16:59 +00:00
Orion Poplawski
809ada9fcd Fix typo in description (bz#2251291) 2023-11-25 13:59:48 -07:00
Orion Poplawski
751b3e84ba Update to 4.1.0.6 2023-08-17 22:23:54 -06:00
Fedora Release Engineering
47ab04c96e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 18:28:38 +00:00
Orion Poplawski
26724d80b2 Update to 4.1.0.4 2023-05-30 13:30:59 -06:00
Fedora Release Engineering
bc937d9569 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 07:06:18 +00:00
Jitka Plesnikova
333dd201c9 Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 21:18:48 +01:00
Fedora Release Engineering
3e1017ba86 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:44:30 +00:00
Jitka Plesnikova
a5c502733d Perl 5.36 rebuild 2022-05-30 20:21:54 +02:00
Orion Poplawski
6d48e7f4ee Add upstream patch to fix x2goversion (bz#2050350) 2022-02-03 19:50:31 -07:00
Fedora Release Engineering
66971e0305 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:46:12 +00:00
Orion Poplawski
25edbb4b2d Add Requires on xwininfo and xmessage (bz#2025390) 2022-01-18 21:14:04 -07:00
Orion Poplawski
203c6a0e81 fix typing mistakes 2021-11-16 20:24:23 -07:00
Fedora Release Engineering
9f5cb7131d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 21:14:36 +00:00
Jitka Plesnikova
26149cb2f6 Perl 5.34 rebuild 2021-05-21 12:22:11 +02:00
Zbigniew Jędrzejewski-Szmek
da33243a8b Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:01 +01:00
Fedora Release Engineering
a517ee2cb7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 23:45:30 +00:00
Tom Stellard
660367f4f3 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 01:05:46 +00:00
Orion Poplawski
cc3610b7ec Change requires from xorg-x11-xkb-utils to setxkbmap (bz#1894794) 2020-11-05 19:04:55 -07:00
Fedora Release Engineering
3c63505d7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:24:58 +00:00
Jitka Plesnikova
40c31d4f77 Perl 5.32 rebuild 2020-06-22 19:11:40 +02:00
Fedora Release Engineering
48ada19b6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 04:03:04 +00:00
Fedora Release Engineering
b26d2b450c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:49:21 +00:00
Jitka Plesnikova
3b80d9fb7c Perl 5.30 rebuild 2019-05-30 13:57:15 +02:00
Orion Poplawski
9b768842ed Upstream replaced netstat with ss in 4.1.0.0 (bugz#1496167) 2019-04-18 20:17:09 -06:00
Fedora Release Engineering
33419e8e4b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:02:53 +00:00
Igor Gnatenko
c39c78443b Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 06:05:40 +01:00
Igor Gnatenko
6b08474d5d Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:55 +01:00
Orion Poplawski
0abaf0e0cb Update to 4.1.0.3 2018-11-29 22:12:07 -07:00
Petr Písař
b2c37ffa48 Correct changelog entry
Malformatted changelog entry breaks rpmbuild:

BUILDSTDERR: error: bad date in %changelog: Tue Aug 14 Orion Poplawski <orion@nwra.com> - 4.1.0.2-1
2018-08-27 08:29:36 +02:00
Orion Poplawski
a5111e6739 Update to 4.1.0.2 2018-08-14 11:31:56 -06:00
Florian Weimer
c314854568 Rebuild with fixed binutils 2018-07-31 13:46:17 +02:00
Orion Poplawski
ebce9c7a16 Update to 4.1.0.1 2018-07-29 19:54:03 -06:00
Orion Poplawski
8f19a84f83 Add BR gcc 2018-07-20 15:30:50 -06:00
Fedora Release Engineering
72a4ca7e42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:03:55 +00:00
Jitka Plesnikova
7f62b97607 Perl 5.28 rebuild 2018-06-27 22:21:09 +02:00
Orion Poplawski
af59617628 Update to 4.1.0.0 2018-03-06 11:01:03 -07:00
Fedora Release Engineering
cf188982a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:16:33 +00:00
Orion Poplawski
e42b626e1f Update to 4.0.1.22 2017-11-11 18:36:54 -07:00
Orion Poplawski
4fcf743ab4 Update to 4.0.1.21 2017-11-09 08:34:38 -07:00
Fedora Release Engineering
41c937bc01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:26:19 +00:00
Fedora Release Engineering
a005c272f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:50:40 +00:00
Jitka Plesnikova
a19fb42888 Perl 5.26 rebuild 2017-06-04 07:45:13 +02:00
Fedora Release Engineering
178b54618c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:36:56 +00:00
Orion Poplawski
4898330902 Update to 4.0.1.20
- Drop patches applied upstream
2016-11-20 22:33:00 -07:00
Orion Poplawski
d432a01e3d Fix x2golistdesktops on EL7 (bug #1371690) 2016-10-06 09:45:29 -06:00
Orion Poplawski
267c8f54fd Add upstream patch to drop blowfish cipher (bug #1350014) 2016-06-24 14:18:10 -06:00
Petr Písař
9f8d79e3bf Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:50:49 +02:00
Jitka Plesnikova
d8f58b342e Perl 5.24 rebuild 2016-05-15 06:35:56 +02:00
Orion Poplawski
2640b4ab3f Add requires grep (bug #1319154) 2016-03-18 11:34:22 -06:00
Fedora Release Engineering
c45bacc4cd - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:14:10 +00:00
Dennis Gilmore
2aa1d8cd00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 03:40:56 +00:00
Orion Poplawski
247fd1be12 Fix X2Go capitalization in service file (bug #1231177) 2015-06-12 07:41:13 -06:00
Jitka Plesnikova
96f3ecdab6 Perl 5.22 rebuild 2015-06-03 16:15:10 +02:00
Orion Poplawski
4b3153a576 Add requires xorg-x11-xkb-utils 2015-04-29 16:18:09 -06:00
Orion Poplawski
c7dd45c627 Install applications symlink by default so that "Published
Applications" is populated (bug #1215474)
2015-04-26 21:25:00 -06:00
Orion Poplawski
393368a265 Provide x2goserver-extensions for upstream compatibility 2015-03-18 16:03:51 -06:00
Orion Poplawski
b199780657 Update to 4.0.1.19
- Drop Xsession and path patches fixed upstream
2015-02-24 14:43:47 -07:00
Orion Poplawski
5939fcc5e5 Obsolete x2goserver-extensions to provide upgrade path from upstream rpms 2015-01-26 09:33:43 -07:00
Orion Poplawski
9df53481fc Fix local desktop sharing breakage (bug #1180303) 2015-01-08 14:26:34 -07:00
Orion Poplawski
5b870eff47 Apply upstream fix for issue with Xsession aborting 2014-12-09 16:17:54 -07:00
Orion Poplawski
476f098dd8 Do not require x2goserver-xession, do not ship feature file in main package 2014-10-24 10:55:28 -06:00
Orion Poplawski
b2408da5fc Require x2goserver-xession 2014-10-24 10:19:19 -06:00
Orion Poplawski
9208f60034 Update to 4.0.1.18 2014-10-06 20:27:25 -06:00
Orion Poplawski
2f686b76d0 Update to 4.0.1.17 2014-10-03 16:36:14 -06:00
Rex Dieter
d3d79b0011 fmbindings: update mime scriptlets 2014-10-02 18:01:06 -05:00
Orion Poplawski
47b0ac84c4 Fix changelog author 2014-09-25 20:32:26 -06:00
Orion Poplawski
9564b8e590 Update to 4.0.1.16 2014-09-25 20:31:08 -06:00
Jitka Plesnikova
d39e0be770 Perl 5.20 mass 2014-09-09 11:18:29 +02:00
Orion Poplawski
61f7b8bdb6 Minor specfile tweaks 2014-09-08 17:06:13 -06:00
Orion Poplawski
4002daf62a Move BR desktop-file-utils to main section 2014-09-08 16:10:25 -06:00
Jitka Plesnikova
6f1e836c78 Perl 5.20 rebuild 2014-08-27 12:55:34 +02:00
Orion Poplawski
37fdc06b5f Fix scriptlet requires 2014-08-26 16:02:19 -06:00
Peter Robinson
a35cc4e183 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 09:07:22 +00:00
Dennis Gilmore
c73b4de7d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 00:05:56 -05:00
Orion Poplawski
8fda1119aa Add Requires xorg-x11-xauth 2014-05-02 13:50:08 -06:00
Orion Poplawski
725debeca2 Re-add COPYING 2014-04-03 22:42:25 -06:00
Orion Poplawski
9fb703656e Update to 4.0.1.15 2014-04-03 22:35:02 -06:00
Orion Poplawski
6f74356799 Update to 4.0.1.14 2014-04-02 08:40:55 -06:00
Orion Poplawski
3b329860fa Create /tmp/.X11-unix with correct SELinux context (bug #1079772) 2014-03-24 11:08:02 -06:00
Orion Poplawski
fa823b4590 Fix x2gocleansession.service unit file 2014-02-05 16:45:46 -07:00
Orion Poplawski
64d1297f4e Fix xinitrd.d path in Xsession 2014-01-27 11:26:06 -07:00
Orion Poplawski
e549182fcc Update conditionals for rhel7 2014-01-26 20:49:31 -07:00
Orion Poplawski
4ced747b61 Update 4.0.1.13
- Add xsession sub-package
2014-01-26 20:31:23 -07:00
Orion Poplawski
699123bca9 Update 4.0.1.12 2014-01-07 10:51:55 -07:00
Orion Poplawski
ff2eb90609 - Update 4.0.1.11
- Drop mimetype patch applied upstream
2014-01-06 10:37:27 -07:00
Orion Poplawski
b33a8de148 - Update to 4.0.1.10
- Drop pwgen and mktemp patches applied upstream
2014-01-03 10:41:52 -07:00
Orion Poplawski
b595adf211 Sync some items to upstream spec 2013-12-31 10:43:00 -07:00
Orion Poplawski
61cf400b72 Disable Xsession support for now - Debian specific (Bug #1038834) 2013-12-07 22:32:41 -07:00
Orion Poplawski
5d6738da37 - Update to 4.0.1.9
- Drop incorrect keyboard patch
2013-12-02 15:33:44 -07:00
Orion Poplawski
e84224c20f Add patch to fix keyboard setting (bug #1033876) 2013-11-27 17:29:46 -07:00
Orion Poplawski
346c8672ff BR xorg-x11-xinit for Xsession.d link creation 2013-11-27 16:31:32 -07:00
Orion Poplawski
5b885d2772 Use mktemp instead of tempfile 2013-11-27 10:26:07 -07:00
Orion Poplawski
ddcfe0e638 Add changelog entry 2013-11-23 21:03:05 -07:00
Orion Poplawski
3b55d88d81 Fix x2gocleansessions shutdown 2013-11-23 20:59:24 -07:00
Orion Poplawski
8b3ac88460 Create /tmp/.X11-unix in x2gocleansessions init script 2013-11-23 20:50:57 -07:00
Orion Poplawski
b0ac950b04 New files; require sudo for /etc/sudoers.d 2013-11-23 20:46:58 -07:00
Orion Poplawski
ee0ef31958 Update to 4.0.1.8 2013-11-23 20:37:18 -07:00
Orion Poplawski
2bebf8fd36 Fix bug in x2gocleansessions init script, enable by default 2013-10-22 12:36:13 -06:00
Orion Poplawski
df5e571e14 Add some needed requires 2013-09-11 14:38:52 -06:00
Orion Poplawski
3bb81ad155 Add BR systemd on Fedora 2013-08-04 16:13:22 -06:00
Dennis Gilmore
8d7afbc1ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 02:28:10 -05:00
Orion Poplawski
cad0c8b3f7 Initial import 2013-08-01 09:48:38 -06:00
6 changed files with 1014 additions and 0 deletions

22
.gitignore vendored
View file

@ -0,0 +1,22 @@
/x2goserver-4.0.1.6.tar.gz
/x2goserver-4.0.1.8.tar.gz
/x2goserver-4.0.1.9.tar.gz
/x2goserver-4.0.1.10.tar.gz
/x2goserver-4.0.1.11.tar.gz
/x2goserver-4.0.1.12.tar.gz
/x2goserver-4.0.1.13.tar.gz
/x2goserver-4.0.1.14.tar.gz
/x2goserver-4.0.1.15.tar.gz
/x2goserver-4.0.1.16.tar.gz
/x2goserver-4.0.1.17.tar.gz
/x2goserver-4.0.1.18.tar.gz
/x2goserver-4.0.1.19.tar.gz
/x2goserver-4.0.1.20.tar.gz
/x2goserver-4.0.1.21.tar.gz
/x2goserver-4.0.1.22.tar.gz
/x2goserver-4.1.0.0.tar.gz
/x2goserver-4.1.0.1.tar.gz
/x2goserver-4.1.0.2.tar.gz
/x2goserver-4.1.0.3.tar.gz
/x2goserver-4.1.0.4.tar.gz
/x2goserver-4.1.0.6.tar.gz

316
changelog Normal file
View file

@ -0,0 +1,316 @@
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.1.0.6-8
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Fri Jan 24 2025 Orion Poplawski <orion@nwra.com> - 4.1.0.6-7
- Define SBINDIR for sbin merge (FTBFS rhbz#2341558)
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 4.1.0.6-5
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Nov 25 2023 Orion Poplawski <orion@nwra.com> - 4.1.0.6-2
- Fix typo in description (bz#2251291)
* Fri Aug 18 2023 Orion Poplawski <orion@nwra.com> - 4.1.0.6-1
- Update to 4.1.0.6
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue May 30 2023 Orion Poplawski <orion@nwra.com> - 4.1.0.4-1
- Update to 4.1.0.4
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4.1.0.3-18
- Perl 5.36 rebuild
* Fri Feb 04 2022 Orion Poplawski <orion@nwra.com> - 4.1.0.3-17
- Add upstream patch to fix x2goversion (bz#2050350)
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 19 2022 Orion Poplawski <orion@nwra.com> - 4.1.0.3-15
- Add Requires on xwininfo and xmessage (bz#2025390)
* Tue Nov 16 2021 René Genz <liebundartig@freenet.de> - 4.1.0.3-14
- fix typing mistakes
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.1.0.3-12
- Perl 5.34 rebuild
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.1.0.3-11
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Nov 06 2020 Orion Poplawski <orion@nwra.com> - 4.1.0.3-9
- Change requires from xorg-x11-xkb-utils to setxkbmap (bz#1894794)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.1.0.3-7
- Perl 5.32 rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.1.0.3-4
- Perl 5.30 rebuild
* Thu Apr 18 2019 Orion Poplawski <orion@nwra.com> - 4.1.0.3-3
- Upstream replaced netstat with ss in 4.1.0.0 (bugz#1496167)
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Nov 29 2018 Orion Poplawski <orion@nwra.com> - 4.1.0.3-1
- Update to 4.1.0.3
* Tue Aug 14 2018 Orion Poplawski <orion@nwra.com> - 4.1.0.2-1
- Update to 4.1.0.2
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 4.1.0.1-2
- Rebuild with fixed binutils
* Sun Jul 29 2018 Orion Poplawski <orion@nwra.com> - 4.1.0.1-1
- Update to 4.1.0.1
* Fri Jul 20 2018 Orion Poplawski <orion@nwra.com> - 4.1.0.0-4
- Add BR gcc
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.1.0.0-2
- Perl 5.28 rebuild
* Mon Mar 5 2018 Orion Poplawski <orion@nwra.com> - 4.1.0.0-1
- Update to 4.1.0.0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1.22-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Nov 11 2017 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.22-1
- Update to 4.0.1.22
* Wed Nov 8 2017 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.21-1
- Update to 4.0.1.21
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1.20-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1.20-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Nov 20 2016 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.20-1
- Update to 4.0.1.20
- Drop patches applied upstream
* Thu Oct 6 2016 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-12
- Fix x2golistdesktops on EL7 (bug #1371690)
* Fri Jun 24 2016 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-11
- Add upstream patch to drop blowfish cipher (bug #1350014)
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1.19-10
- Perl 5.24 rebuild
* Fri Mar 18 2016 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-9
- Add requires grep (bug #1319154)
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1.19-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1.19-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Jun 12 2015 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-6
- Fix X2Go capitalization in service file (bug #1231177)
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1.19-5
- Perl 5.22 rebuild
* Wed Apr 29 2015 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-4
- Add requires xorg-x11-xkb-utils
* Sun Apr 26 2015 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-3
- Install applications symlink by default so that "Published
Applications" is populated (bug #1215474)
* Wed Mar 18 2015 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-2
- Provide x2goserver-extensions for upstream compatibility
* Tue Feb 24 2015 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.19-1
- Update to 4.0.1.19
- Drop Xsession and path patches fixed upstream
* Mon Jan 26 2015 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.18-6
- Obsolete x2goserver-extensions to provide upgrade path from upstream rpms
* Thu Jan 8 2015 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.18-5
- Fix local desktop sharing breakage (bug #1180303)
* Tue Dec 9 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.18-4
- Apply upstream fix for issue with Xsession aborting
* Fri Oct 24 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.18-3
- Do not require x2goserver-xession, do not ship feature file in main package
* Fri Oct 24 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.18-2
- Require x2goserver-xession
* Mon Oct 06 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.18-1
- Update to 4.0.1.18
* Fri Oct 03 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.17-1
- Update to 4.0.1.17
* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 4.0.1.16-2
- -fmbindings: update mime scriptlets
* Thu Sep 25 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.16-1
- Update to 4.0.1.16
* Tue Sep 09 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1.15-7
- Perl 5.20 mass
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1.15-6
- Perl 5.20 rebuild
* Tue Aug 26 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.15-5
- Fix scriptlet requires
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri May 2 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.15-2
- Add Requires xorg-x11-xauth
* Thu Apr 3 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.15-1
- Update to 4.0.1.15
* Wed Apr 2 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.14-1
- Update to 4.0.1.14
* Mon Mar 24 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.13-4
- Create /tmp/.X11-unix with correct SELinux context (bug #1079772)
* Wed Feb 5 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.13-3
- Fix x2gocleansession.service unit file
* Mon Jan 27 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.13-2
- Fix xinitrd.d path in Xsession
* Sun Jan 26 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.13-1
- Update 4.0.1.13
- Add xsession sub-package
* Tue Jan 7 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.12-1
- Update 4.0.1.12
* Mon Jan 6 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.11-1
- Update 4.0.1.11
- Drop mimetype patch applied upstream
* Fri Jan 3 2014 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.10-1
- Update to 4.0.1.10
- Drop pwgen and mktemp patches applied upstream
* Sat Dec 7 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.9-2
- Disable Xsession support for now - Debian specific (Bug #1038834)
* Mon Dec 2 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.9-1
- Update to 4.0.1.9
- Drop incorrect keyboard patch
* Wed Nov 27 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.8-2
- Use mktemp instead of tempfile
- BR xorg-x11-xinit for Xsession.d link creation
- Add patch to fix keyboard setting (bug #1033876)
* Sat Nov 23 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.8-1
- Update to 4.0.1.8
- Fix x2gocleansessions init script for EL6 (bug #1031150)
* Tue Oct 22 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.6-6
- Fix bug in x2gocleansessions init script, enable by default
* Wed Sep 11 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.6-5
- Add some needed requires
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 30 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.6-3
- Mark /var/lib/x2go as a directory
- Add patch to make the following changes:
- Remove Xsession.options
- Make /etc/x2go/Xsession.d point to /etc/X11/xinit/Xclients.d
- Make /etc/x2go/Xsession executable
* Mon Jul 29 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.6-2
- Add SysV init script for EL6
* Mon Jul 29 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.1.6-1
- Use 4.0.1.6 release
- Drop patches applied upstream
* Mon Jul 22 2013 Rok Mandeljc <rok.mandeljc@gmail.com> - 4.1.0.0-0.4.20130722git65169c9
- Update to latest git
- Use PREFIX=%%{_prefix} when building, not just when installing.
- Use pwgen instead of makepasswd, which is not available on Fedora.
- Fixed a missing function import in x2golistsessions.
- Added dependencies for xorg-x11-fonts-misc
- Added systemd script for session cleanup on start.
- Fixed x2goruncommand for TERMINAL -> gnome-terminal; the latter seems to return immediately in Fedora 19.
* Thu May 30 2013 Orion Poplawski <orion@cora.nwra.com> - 4.1.0.0-0.3.20130520gitbd2cfe4
- Update to latest git
- Split out printing sub-package
* Wed Jan 23 2013 Orion Poplawski <orion@cora.nwra.com> - 4.1.0.0-0.2.20130122git
- Add post script to create session database if needed
* Tue Jan 22 2013 Orion Poplawski <orion@cora.nwra.com> - 4.1.0.0-0.1.20130122git
- Update to 4.1.0.0 git
* Fri Jan 18 2013 Orion Poplawski <orion@cora.nwra.com> - 4.0.0.0-1
- Update to 4.0.0.0
* Tue Dec 11 2012 Orion Poplawski <orion@cora.nwra.com> - 3.1.1.9-1
- Initial Fedora package

View file

@ -0,0 +1 @@
SHA512 (x2goserver-4.1.0.6.tar.gz) = 3c82ae5bd86dd938bedc70aa01d2d9123d749a36396f44100a7a94e58e5dba2d347fc967691fe0978b55e42b7fb90ddd065eafaba88dc6faee83c14645447e1b

107
x2gocleansessions.init Normal file
View file

@ -0,0 +1,107 @@
#!/bin/sh
#
# x2gocleansessions - Starts/stop the "x2gocleansessions" daemon
#
# chkconfig: 2345 99 1
# description: Cleans the X2Go session database
### BEGIN INIT INFO
# Provides: x2gocleansessions at batch
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: 2345
# Default-Stop: 016
# Short-Description: Starts/stop the "x2gocleansessions" daemon
# Description: Cleans the X2Go session database
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
exec=/usr/sbin/x2gocleansessions
prog="x2gocleansessions"
config=/etc/sysconfig/x2gocleansessions
XSOCKDIR=/tmp/.X11-unix
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
# Make sure these are created by default so that nobody else can
if [ ! -d $XSOCKDIR ]
then
mkdir $XSOCKDIR
chmod 1777 $XSOCKDIR
restorecon $XSOCKDIR
fi
echo -n $"Starting $prog: "
daemon $exec $OPTS
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
}
stop() {
echo -n $"Stopping $prog: "
killproc $exec
retval=$?
echo
rm -f $lockfile
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?

10
x2gocleansessions.service Normal file
View file

@ -0,0 +1,10 @@
[Unit]
Description=X2Go session cleanup
[Service]
Type=forking
ExecStart=/usr/sbin/x2gocleansessions
PIDFile=/run/x2goserver.pid
[Install]
WantedBy=multi-user.target

558
x2goserver.spec Normal file
View file

@ -0,0 +1,558 @@
#global commit 3a0d285b225207b3eccbb7b0ec3f27a2fbdc5be3
Name: x2goserver
Version: 4.1.0.6
Release: %autorelease
Summary: X2Go Server
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
URL: http://www.x2go.org
Source0: http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
# git clone git://code.x2go.org/x2goserver
# cd x2goserver
# git archive --prefix=x2goserver-4.1.0.0-20130722git65169c9/ 65169c9d65b117802e50631be0bbd719163d969e | gzip > ../x2goserver-4.1.0.0-20130722git65169c9.tar.gz
#Source0: %{name}/%{name}-%{version}-%{commit}.tar.gz
Source1: x2gocleansessions.service
Source2: x2gocleansessions.init
BuildRequires: gcc
BuildRequires: make
BuildRequires: desktop-file-utils
BuildRequires: findutils
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: man2html-core
BuildRequires: systemd
# So XSESSIONDIR gets linked
BuildRequires: xorg-x11-xinit
# For x2goruncommand - for now
Requires: bc
Requires: grep
# For ss in x2gogetfreeport
Requires: iproute
# For x2goshowblocks
Requires: lsof
Requires: openssh-server
# For killall in x2gosuspend-session
Requires: psmisc
# For x2godbadmin
Requires: pwgen
Requires: setxkbmap
# For printing, file-sharing
Requires: sshfs
# For /etc/sudoers.d
Requires: sudo
Requires: which
Requires: x2goagent = %{version}-%{release}
Requires: x2goserver-common = %{version}-%{release}
Requires: xorg-x11-fonts-misc
Requires: xorg-x11-xauth
Requires: xwininfo
Requires(post): coreutils
Requires(post): grep
Requires(post): perl-X2Go-Server-DB
Requires(post): x2goserver-common
%{?systemd_requires}
Suggests: x2goserver-fmbindings = %{version}-%{release}
Suggests: x2goserver-printing = %{version}-%{release}
Requires: x2goserver-xsession = %{version}-%{release}
# Provide upgrade path from upstream rpms
# http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=755
Obsoletes: x2goserver-extensions < %{version}-%{release}
Provides: x2goserver-extensions = %{version}-%{release}
Requires: x2goserver-xsession
Suggests: x2goserver-fmbindings
Suggests: x2goserver-printing
%{?perl_default_filter}
%description
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
This package contains the main daemon and tools for X2Go server-side session
administrations.
%package common
Summary: X2Go Server (common files)
# for useradd/groupadd
BuildRequires: shadow-utils
BuildArch: noarch
%description common
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
This package contains common files needed by the X2Go Server
and the X2Go::Server Perl API.
%package fmbindings
Summary: X2Go Server file manager bindings
Requires: %{name} = %{version}-%{release}
Requires: xdg-utils
%description fmbindings
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
This package contains generic MIME type information
for X2Go's local folder sharing. It can be used with all
freedesktop.org compliant desktop shells.
However, this package can be superseded by other, more specific
desktop binding components, if installed and being used with the
corresponding desktop shell:
- under LXDE by x2golxdebindings
- under GNOMEv2 by x2gognomebindings
- under KDE4 by plasma-widget-x2go
- under MATE by x2gomatebindings
%package printing
Summary: X2Go Server printing support
Requires: %{name} = %{version}-%{release}
%description printing
The X2Go Server printing package provides client-side printing support for
X2Go.
This package has to be installed on X2Go servers that shall be able to pass
X2Go print jobs on to the X2Go client.
This package co-operates with the cups-x2go CUPS backend. If CUPS server and
X2Go server are hosted on different machines, then make sure you install
this package on the X2Go server(s) (and the cups-x2go package on the CUPS
server).
%package desktopsharing
Summary: X2Go Server (Desktop Sharing support)
Requires: %{name} = %{version}-%{release}
Requires: x2godesktopsharing >= 3.2.0.0
%description desktopsharing
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- audio support
- authentication by smartcard and USB stick
X2Go Desktop Sharing is an X2Go add-on feature that allows a user to
grant other X2Go users access to the current session (shadow session
support). The user's current session may be an X2Go session itself or
simply a local X11 session.
This package contains all the integration and configuration logics
of a system-wide manageable desktop sharing setup.
%package xsession
Summary: X2Go Server Xsession runner
Requires: %{name} = %{version}-%{release}
# Not detected automatically
Requires: perl(Cwd)
Requires: xmessage
# Symlinks to xinit files
Requires: xorg-x11-xinit
Requires: dbus
BuildArch: noarch
%description xsession
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
This X2Go server add-on enables Xsession script handling
when starting desktop sessions with X2Go.
Amongst others the parsing of Xsession scripts will
enable desktop-profiles, ssh-agent startups, gpgagent
startups and many more Xsession related features on
X2Go session login automagically.
%package -n perl-X2Go-Server
Summary: Perl X2Go::Server package
Requires: x2goserver-common = %{version}-%{release}
Requires: perl-X2Go-Log = %{version}-%{release}
Requires: perl-X2Go-Server-DB = %{version}-%{release}
BuildArch: noarch
%description -n perl-X2Go-Server
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
This package contains the X2Go::Server Perl package.
%package -n perl-X2Go-Server-DB
Summary: Perl X2Go::Server::DB package
Requires: x2goserver-common = %{version}-%{release}
Requires: perl-X2Go-Log = %{version}-%{release}
# We need a database
Requires(post): perl(DBD::SQLite)
Requires: perl(DBD::SQLite)
%description -n perl-X2Go-Server-DB
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
This package contains the X2Go::Server::DB Perl package.
%package -n perl-X2Go-Log
Summary: Perl X2Go::Log package
Requires: x2goserver-common = %{version}-%{release}
BuildArch: noarch
%description -n perl-X2Go-Log
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
This package contains the X2Go::Log Perl package.
%package -n x2goagent
Summary: X2Go Server's X2Go Agent Xserver
Requires: nxagent >= 3.5.99.17
%description -n x2goagent
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
X2Go agent functionality has been completely incorporated into NX
agent's code base. If the nxagent binary is executed under the name of
`x2goagent', the X2Go functionalities get activated.
This package is a wrapper that activates X2Go branding in nxagent.
Please refer to the nxagent package's description for more information
on NX.
%package x2gokdrive
Summary: X2Go Server's X2Go KDrive Xserver
Requires: xorg-x11-server-x2gokdrive
%description x2gokdrive
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
- session brokerage support
- client side mass storage mounting support
- client side printing support
- audio support
- authentication by smartcard and USB stick
X2Go KDrive technology implements a remote X11 Xserver backend for
modern desktop environments, namely desktops derived from the GNOME
desktop shell.
X2Go KDrive does not require an XServer on the client-side, only the
X11-independent x2gokdriveclient. Desktop session data transfers from
server to client use differential image compression and image data gets
cached client-side.
%prep
%autosetup -p1
# Don't try to be root
sed -i -e 's/-o root -g root//' */Makefile
# Create a sysusers.d config file
cat >x2goserver.sysusers.conf <<EOF
u x2gouser - 'x2go' /var/lib/x2go -
EOF
# Create a sysusers.d config file for x2goprint
cat >x2goprint.sysusers.conf <<EOF
u x2goprint - "X2Go print spooler user" /var/spool/x2goprint /sbin/nologin
EOF
%build
export PATH=%{_qt4_bindir}:$PATH
%make_build CFLAGS="%{optflags}" PERL_INSTALLDIRS=vendor PREFIX=%{_prefix} NXLIBDIR=%{_libdir}/nx LIBDIR=%{_libdir}/x2go SBINDIR=%{_sbindir}
%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} NXLIBDIR=%{_libdir}/nx LIBDIR=%{_libdir}/x2go SBINDIR=%{_sbindir}
# Make sure the .packlist file is removed from %%{perl_vendorarch}...
find %{buildroot}%{perl_vendorarch} -name .packlist -delete
# Remove placeholder files
rm %{buildroot}%{_libdir}/x2go/extensions/*.d/.placeholder
# x2gouser homedir, state dir
mkdir -p %{buildroot}%{_sharedstatedir}/x2go
# Create empty session file for %%ghost
touch %{buildroot}%{_sharedstatedir}/x2go/x2go_sessions
# Printing spool dir
mkdir -p %{buildroot}%{_localstatedir}/spool/x2goprint
# systemd session cleanup script
mkdir -p %{buildroot}%{_unitdir}
install -pm0644 %SOURCE1 %{buildroot}%{_unitdir}
desktop-file-validate %{buildroot}%{_datadir}/applications/x2gofm.desktop
# applications link
ln -s ../..%{_datadir}/applications %{buildroot}%{_sysconfdir}/x2go/applications
install -m0644 -D x2goserver.sysusers.conf %{buildroot}%{_sysusersdir}/x2goserver.conf
install -m0644 -D x2goprint.sysusers.conf %{buildroot}%{_sysusersdir}/x2goprint.conf
%post
# Initialize the session database
[ ! -s %{_sharedstatedir}/x2go/x2go_sessions ] &&
grep -E "^backend=sqlite.*" /etc/x2go/x2gosql/sql >/dev/null 2>&1 &&
%{_sbindir}/x2godbadmin --createdb >/dev/null 2>&1 || :
# Update the session database
[ -s %{_sharedstatedir}/x2go/x2go_sessions ] &&
grep -E "^backend=sqlite.*" /etc/x2go/x2gosql/sql >/dev/null 2>&1 &&
%{_sbindir}/x2godbadmin --updatedb >/dev/null 2>&1 || :
# create /etc/x2go/applications symlink if not already there
# as a regular file, as a symlink, as a special file or as a directory
if ! [ -e %{_sysconfdir}/x2go/applications ]; then
ln -s ../..%{_datadir}/applications %{_sysconfdir}/x2go/applications
fi
%systemd_post x2gocleansessions.service
%preun
if [ "$1" = 0 ]; then
if [ -L %{_sysconfdir}/x2go/applications ]; then
rm -f %{_sysconfdir}/x2go/applications
fi
fi
%systemd_preun x2gocleansessions.service
%postun
%systemd_postun_with_restart x2gocleansessions.service
%files
%license COPYING
%doc ChangeLog README.md
%config(noreplace) %{_sysconfdir}/logcheck
%config(noreplace) %{_sysconfdir}/sudoers.d/x2goserver
%dir %{_sysconfdir}/x2go/
%ghost %config(noreplace) %{_sysconfdir}/x2go/applications
%config(noreplace) %{_sysconfdir}/x2go/x2goagent.options
%{_bindir}/x2go*
%exclude %{_bindir}/x2gofm
%exclude %{_bindir}/x2goprint
%exclude %{_bindir}/x2goagent
%exclude %{_bindir}/x2go*-desktopsharing
%dir %{_libdir}/x2go
%{_libdir}/x2go/extensions
%{_libdir}/x2go/x2gochangestatus
%{_libdir}/x2go/x2gocheckport
%{_libdir}/x2go/x2gocreatesession
%{_libdir}/x2go/x2gocreateshadowsession
%{_libdir}/x2go/x2gogetagent
%{_libdir}/x2go/x2gogetagentstate
%{_libdir}/x2go/x2gogetdisplays
%{_libdir}/x2go/x2gogetfreeport
%{_libdir}/x2go/x2gogetports
%{_libdir}/x2go/x2gogetrandomport
%{_libdir}/x2go/x2gogetstatus
%{_libdir}/x2go/x2goinsertport
%{_libdir}/x2go/x2goinsertsession
%{_libdir}/x2go/x2goinsertshadowsession
%{_libdir}/x2go/x2goisint
%{_libdir}/x2go/x2goistrue
%{_libdir}/x2go/x2golistsessions_sql
%{_libdir}/x2go/x2gologlevel
%{_libdir}/x2go/x2goqueryconfig
%{_libdir}/x2go/x2goresume
%{_libdir}/x2go/x2gormforward
%{_libdir}/x2go/x2gormport
%{_libdir}/x2go/x2gosuspend-agent
%{_libdir}/x2go/x2gosyslog
%{_mandir}/man1/x2gooptionsstring.1*
%{_mandir}/man8/x2go*.8*
%exclude %{_mandir}/man8/x2gofm.8*
%exclude %{_mandir}/man8/x2goprint.8*
%exclude %{_mandir}/man8/x2go*-desktopsharing.8*
%if 0%{?fedora} && 0%{?fedora} < 42 || 0%{?rhel} && 0%{?rhel} < 11
%{_sbindir}/x2go*
%endif
%dir %{_datadir}/x2go/
%{_datadir}/x2go/versions/VERSION.x2goserver
%{_datadir}/x2go/versions/VERSION.x2goserver-extensions
%dir %{_datadir}/x2go/x2gofeature.d
%{_datadir}/x2go/x2gofeature.d/x2goserver.features
%{_datadir}/x2go/x2gofeature.d/x2goserver-extensions.features
%attr(0775,root,x2gouser) %dir %{_sharedstatedir}/x2go/
%ghost %attr(0660,root,x2gouser) %{_sharedstatedir}/x2go/x2go_sessions
%{_unitdir}/x2gocleansessions.service
%files common
%license COPYING
%doc ChangeLog
%attr(0775,root,x2gouser) %dir %{_localstatedir}/lib/x2go/
%{_tmpfilesdir}/x2goserver.conf
%dir %{_sysconfdir}/x2go/
%dir %{_sysconfdir}/x2go/x2gosql
%dir %{_sysconfdir}/x2go/x2gosql/passwords
%config(noreplace) %{_sysconfdir}/x2go/x2goserver.conf
%config(noreplace) %{_sysconfdir}/x2go/x2gosql/sql
%config(noreplace) %{_sysconfdir}/x2go/x2go_logout*
%{_mandir}/man5/x2goserver.conf.5.gz
%dir %{_datadir}/x2go/versions
%{_datadir}/x2go/versions/VERSION.x2goserver-common
%{_sysusersdir}/x2goserver.conf
%files desktopsharing
%license COPYING
%doc ChangeLog
%{_bindir}/x2go*-desktopsharing
%{_datadir}/x2go/versions/VERSION.x2goserver-desktopsharing
%{_datadir}/x2go/x2gofeature.d/x2goserver-desktopsharing.features
%{_mandir}/man8/x2go*-desktopsharing.8*
%dir %{_sysconfdir}/x2go/desktopsharing
%config(noreplace) %{_sysconfdir}/x2go/desktopsharing/settings
%files fmbindings
%{_bindir}/x2gofm
%{_datadir}/applications/x2gofm.desktop
%{_datadir}/mime/packages/sshfs-x2go.xml
%{_datadir}/x2go/versions/VERSION.x2goserver-fmbindings
%{_datadir}/x2go/x2gofeature.d/x2goserver-fmbindings.features
%{_mandir}/man8/x2gofm.8*
%files printing
%{_bindir}/x2goprint
%{_datadir}/x2go/versions/VERSION.x2goserver-printing
%{_datadir}/x2go/x2gofeature.d/x2goserver-printing.features
%attr(0700,x2goprint,x2goprint) %{_localstatedir}/spool/x2goprint
%{_mandir}/man8/x2goprint.8*
%{_sysusersdir}/x2goprint.conf
%files xsession
%{_sysconfdir}/x2go/xinitrc.d
%{_sysconfdir}/x2go/Xclients.d
%{_sysconfdir}/x2go/Xresources
%config(noreplace) %{_sysconfdir}/x2go/Xsession
%{_datadir}/x2go/x2gofeature.d/x2goserver-xsession.features
%{_datadir}/x2go/versions/VERSION.x2goserver-xsession
%files -n perl-X2Go-Log
%license COPYING
%doc ChangeLog
%dir %{perl_vendorlib}/X2Go
%{perl_vendorlib}/X2Go/Log.pm
%{_mandir}/man3/X2Go::Log.*
%files -n perl-X2Go-Server
%license COPYING
%doc ChangeLog
%dir %{perl_vendorlib}/X2Go/Server
%{perl_vendorlib}/X2Go/Config.pm
%{perl_vendorlib}/X2Go/Server.pm
%{perl_vendorlib}/X2Go/SupeReNicer.pm
%{perl_vendorlib}/X2Go/Utils.pm
%{perl_vendorlib}/X2Go/Server/Agent*
%{_mandir}/man3/X2Go::Config.*
%{_mandir}/man3/X2Go::Server.*
%{_mandir}/man3/X2Go::SupeReNicer.*
%{_mandir}/man3/X2Go::Utils.*
%{_mandir}/man3/X2Go::Server::Agent.*
%{_mandir}/man3/X2Go::Server::Agent::*
%files -n perl-X2Go-Server-DB
%license COPYING
%doc ChangeLog
%dir %{_libdir}/x2go
%{perl_vendorlib}/X2Go/Server/DB*
%attr(2755,root,x2gouser) %{_libdir}/x2go/libx2go-server-db-sqlite3-wrapper
%{_libdir}/x2go/libx2go-server-db-sqlite3-wrapper.pl
%{_mandir}/man3/X2Go::Server::DB.*
%{_mandir}/man3/X2Go::Server::DB::*
%files -n x2goagent
%license COPYING
%doc ChangeLog
%{_bindir}/x2goagent
# %%{_libdir}/nx/bin/ is owned by nxagent package...
%{_libdir}/nx/bin/x2goagent
%{_datadir}/x2go/versions/VERSION.x2goserver-x2goagent
%{_datadir}/pixmaps/x2goagent.xpm
%{_datadir}/x2go/x2gofeature.d/x2goserver-x2goagent.features
%{_mandir}/man1/x2goagent.1*
%config(noreplace) %{_sysconfdir}/x2go/x2goagent.options
%config(noreplace) %{_sysconfdir}/x2go/keystrokes.cfg
%files x2gokdrive
%license COPYING
%doc ChangeLog
%{_datadir}/x2go/versions/VERSION.x2goserver-x2gokdrive
%{_datadir}/x2go/x2gofeature.d/x2goserver-x2gokdrive.features
%config(noreplace) %{_sysconfdir}/x2go/x2gokdrive.options
%changelog
%autochangelog