tis-onlyoffice-desktop icon

ONLYOFFICE Desktop Editors

Silent install package for ONLYOFFICE Desktop Editors

9.0.3-5

  • package: tis-onlyoffice-desktop
  • name: ONLYOFFICE Desktop Editors
  • version: 9.0.3-5
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • editor: Ascensio System SIA
  • licence: GPLv3
  • locale: all
  • target_os: rhel_based
  • impacted_process: DesktopEditors,editors,editors_helper
  • architecture: x64
  • signature_date:
  • size: 294.92 Mo
  • homepage : https://www.onlyoffice.com/

package           : tis-onlyoffice-desktop
version           : 9.0.3-5
architecture      : x64
section           : base
priority          : optional
name              : ONLYOFFICE Desktop Editors
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description       : ONLYOFFICE (formerly TeamLab) is an open source office suite
depends           : 
conflicts         : 
maturity          : PROD
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    : ONLYOFFICE (dawniej TeamLab) to pakiet biurowy typu open source
description_de    : ONLYOFFICE (ehemals TeamLab) ist eine Open-Source-Office-Suite
description_es    : ONLYOFFICE (antes TeamLab) es una suite ofimática de código abierto
description_pt    : ONLYOFFICE (antigo TeamLab) é uma suite de escritório de código aberto
description_it    : ONLYOFFICE (ex TeamLab) è una suite per ufficio open source
description_nl    : ONLYOFFICE (voorheen TeamLab) is een open source kantoorpakket
description_ru    : ONLYOFFICE (ранее TeamLab) - офисный пакет с открытым исходным кодом
audit_schedule    : 
editor            : Ascensio System SIA
keywords          : only,onlyoffice,office,suite,word,spreadsheet,sheet,excel,presentation,doc,docx,xls,xlsx,ppt,pptx
licence           : GPLv3
homepage          : https://www.onlyoffice.com/
package_uuid      : 30797d29-2d29-41ca-afe9-5c21e73593e0
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://helpcenter.onlyoffice.com/server/document/changelog.aspx
min_os_version    : 
max_os_version    : 
icon_sha256sum    : fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-14T10:06:33.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,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,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : mToe4tWX3i7K39oWlxq9nRKeuyJBmxO55uGRZ9LKlekKJRkc3M0mtfy+FF9IJJaaWiZeXbMzTlQJ0k1p9iky703S2vpov6HF1NunNJHwV1Lcgo6ncaGX3SJrXqgm1LhEbCBL8JcDJ5Cr2r3Y+kPMzrwrMsNMUJUUxYR6l4COaYz2/0/PcswBOHDWjLqsppz3ruD1BditsQTKf2DlwyOEht8XXrk9D6EQnFUV67ivBtOwhmhjVp724LbX93x4uppocL0TZQZEIGDPfzVnnc095beXxROoQ7UeS7U26fHLlt2RfAPOyi2orpyfHyrK2sYDDbVQ0OvscYltJNXSWvjQ0Q==

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


def install():

    if get_distrib_linux() == 'fedora':
        install_yum("onlyoffice-desktopeditors.x86_64.rpm")
    else:
        install_rpm("onlyoffice-desktopeditors.x86_64.rpm")



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

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


def update_package():
    print("Update package content from upstream binary sources")
    latest_bin_rpm = "onlyoffice-desktopeditors.x86_64.rpm"
    # 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"]
            if 'help' in url_dl_rpm:
                continue
            if 'suse' in url_dl_rpm:
                continue                
            break

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

    version = run(f"rpm -qp --info {latest_bin_rpm}").split("Version")[1].split("\n")[0].split(":")[1].strip()

    # 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")

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c05c83d0464598197a9dec40fd87043e8816b06ee928b2bddef481d0725d8799 : WAPT/control
fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3 : WAPT/icon.png
3c0ec95a925486b5918262f59bce89568fc94b9f1daa4f5f1f540ba66c41a313 : luti.json
ba2acff507b507d202e1b94ea8d03d925e9b7af4cdf75923f313f54040a06604 : onlyoffice-desktopeditors.x86_64.rpm
d022b10af3a88da920d6bc5cab94d4aa5900423d2afe4ed5aaa0a7aef7f31c95 : setup.py
ca549925c3d352e36ef7b356b31249c58aa29d4523ee307a1f677df31be7b94e : update_package.py