Détails du package
smp-x2goclient
Revenir à la liste des packages
Version officielle sur le site de l'editeur : 4.1.2.2
Fichier control :
package : smp-x2goclient
version : 4.1.2.2-1
architecture : all
section : base
priority : optional
name :
categories :
maintainer : Lesfourmisduweb
description : x2go est un logiciel client-serveur qui permet de se connecter à un ordinateur serveur linux distant.
depends :
conflicts :
maturity :
locale :
target_os : windows
min_os_version :
max_os_version :
min_wapt_version :
sources :
installed_size :
impacted_process : x2goclient.exe
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : beecaf43-c29d-471c-bd87-4057785fcc68
valid_from :
valid_until :
forced_install_on :
changelog :
signer : wapt.lesfourmisduweb.org
signer_fingerprint: 1e54425be03a2a3ea1a264b40d984c31f17a6a489a3b722acb993cbf6561e903
signature : KDxlTR2ReWtuFrQ9jE71Mppi0ECab/AKiTp4+Yo0/iEzGABq15rC0PVQOW628RcQuYynLtk2aJuFGypdX6Du6ITrmdTUCkj/AHQLCCMhkS9ayFXTi0xeoRF0vVX3ka5Mvh7RzhKGd8KOlily32uWK8HjGwnbQ+9lu6s1mTdsfUZ64usnYuUNMV5YO0MR/vy+FQfOTpp9MpRUoKrTT48YjGY9o2Q6/Eg1DmM80oOTYruRjiKqcPB+PLSsEgbYwTAF6i93Tb45KMQRnET3msjwcRWOb+WfYbCE+/sJ8FIv0dRlIAiDq/7OHHKmYzS591c8yLfBLEsD9QwoodmQwnSFGA==
signature_date : 2020-07-04T01:23:06.002165
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,signer,signer_fingerprint,signature_date,signed_attributes
Fichier setup.py :
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
versionpaquet = control['version'].split('-',1)[0]
print('installing smp-x2goclient')
install_exe_if_needed('X2GoClient_latest_mswin32-setup.exe',silentflags='/S',key='x2goclient',min_version=versionpaquet,killbefore='x2goclient.exe')
remove_desktop_shortcut('X2Go Client')
def update_package():
wget('http://code.x2go.org/releases/X2GoClient_latest_mswin32-setup.exe','X2GoClient_latest_mswin32-setup.exe')
#Bug with get_file-properties dans file version in 1.3.9.3 wapt, use product version with split
vers = get_file_properties('X2GoClient_latest_mswin32-setup.exe')['ProductVersion'].split('-',1)[0]
os.chdir(os.path.dirname(__file__))
from waptpackage import PackageEntry
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
pe.version = vers + '-0'
pe.save_control_to_wapt(os.getcwd())
if __name__ == '__main__':
update_package()