tis-onlyoffice-desktop

6.4.2-3
ONLYOFFICE (formerly TeamLab) is an open source office suite
32642 downloads
Download
tis-onlyoffice-desktop icon

  Description 

  • package : tis-onlyoffice-desktop
  • version : 6.4.2-3
  • architecture : x64
  • categories : Office
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • description : ONLYOFFICE (formerly TeamLab) is an open source office suite
  • locale : all
  • target_os : rhel_based
  • min_wapt_version : 2.1
  • sources : https://www.onlyoffice.com/download-desktop.aspx
  • installed_size :
  • impacted_process : DesktopEditors,editors,editors_helper
  • description_fr : ONLYOFFICE (anciennement Teamlab Office) est une suite bureautique libre
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Ascensio System SIA
  • licence : GPLv3
  • signature_date : 2021-10-25T16:52:27.808464
  • Homepage : https://www.onlyoffice.com/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json

uninstallkey = []

latest_bin_rpm = 'onlyoffice-desktopeditors.x86_64.rpm'

def install():
    install_rpm(latest_bin_rpm)

def uninstall():
    uninstall_yum('onlyoffice-desktopeditors')

def update_package():
    print('Update package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system()=='Windows' and isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    remove_file(latest_bin_rpm)

    # Specific app values
    app_name = control.name
    git_repo = 'ONLYOFFICE/DesktopEditors'
    url_api = 'https://api.github.com/repos/%s/releases/latest' % git_repo

    # Getting latest version from official website
    json_load = json.loads(wgets(url_api,proxies=proxy))
    for download in json_load['assets']:
        if download['name'].endswith('.rpm'):
            url_dl_rpm = download['browser_download_url']
            break

    version = json_load['tag_name'].split('-')[-1].strip('v')

    # Downloading latest binaries
    if not isfile(latest_bin_rpm):
        print('Downloading: ' + latest_bin_rpm)
        wget(url_dl_rpm,latest_bin_rpm,proxies=proxy)

	# Changing version of the package
    control.version = '%s-%s'%(version,int(control.version.split('-',1)[1])+1)
    control.save_control_to_wapt()
    print('Changing version to ' + control.version + ' in WAPT\\control')
    print('Update package done. You can now build-upload your package')


										

  Changelog 



Changelog software url : https://helpcenter.onlyoffice.com/server/document/changelog.aspx



No changelog.txt.
									
  manifest.sha256