Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MartinVonReichenberg:branches:network
Termius
Termius.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Termius.spec of Package Termius
# # spec file for package Termius # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: Termius # Changelog version: 8.12.6 # https://support.termius.com/hc/en-us/articles/4404036107673-Windows-Linux-Mac Version: 8.12.5 Release: 1%{?dist} Summary: SSH remote access terminal for sysadmins and network engineers License: NonFree URL: https://termius.com Source0: https://autoupdate.termius.com/linux/%{name}.deb Source1: CHANGELOG.html Source2: CHANGELOG.desktop BuildRequires: bsdtar BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme BuildRequires: shared-mime-info BuildRequires: config(glibc) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(zlib) Requires: alsa Requires: alsa-oss Requires: dbus-1-common Requires: expat Requires: Mesa Requires: mozilla-nspr ExclusiveArch: x86_64 %define debug_package %{nil} %define __strip "/bin/true" %description Termius is described as more than a mere SSH client – It is a complete command-line solution that’s redefining remote access for sysadmins and network engineers. %prep mkdir -p "%{_builddir}/%{name}-%{version}/" bsdtar -xf "%{_sourcedir}/%{name}.deb" -C %{_builddir} bsdtar -xf "%{_builddir}/data.tar.xz" -C "%{_builddir}/%{name}-%{version}/" echo " -> Removing unnecessary file properties from the DEB binary package: " rm -vfdr "%{_builddir}/%{name}-%{version}/etc/" %build %install export NO_BRP_CHECK_RPATH='true' install -dm755 "%{buildroot}/%{_datadir}/" install -dm755 "%{buildroot}/%{_libdir}/%{name}/" cp -a %{_builddir}/%{name}-%{version}/%{_datadir}/* -t "%{buildroot}/%{_datadir}/" cp -a %{_builddir}/%{name}-%{version}/opt/%{name}/* -t "%{buildroot}/%{_libdir}/%{name}/" install -Dm644 "%{_builddir}/%{name}-%{version}/opt/%{name}/LICENSE.electron.txt" -t \ "%{buildroot}/%{_datadir}/licenses/%{name}/" install -Dm644 "%{_builddir}/%{name}-%{version}/opt/%{name}/LICENSES.chromium.html" -t \ "%{buildroot}/%{_datadir}/licenses/%{name}/" install -Dm644 "%{_builddir}/%{name}-%{version}/%{_datadir}/doc/termius-app/changelog.gz" -t \ "%{buildroot}/%{_datadir}/doc/packages/%{name}/" install -Dm644 "%{SOURCE1}" -t "%{buildroot}/%{_datadir}/doc/packages/%{name}/" install -Dm644 "%{SOURCE2}" -t "%{buildroot}/%{_datadir}/doc/packages/%{name}/" sed -i -e "s|Exec=/opt/Termius/termius-app %U|Exec=/usr/lib64/Termius/termius-app %U|g" \ -i -e "/Name=/a\Path=/usr/lib64/Termius/" \ -i -e "/Exec=/i\TryExec=termius" \ "%{buildroot}/%{_datadir}/applications/termius-app.desktop" echo " -> Removing redundant file - changelog.gz:" rm -vfdr "%{buildroot}/%{_datadir}/doc/termius-app/" %post echo " -> Linking binaries from SOURCE to the system:" ln -sf "%{_libdir}/%{name}/termius-app" '/usr/bin/termius' echo " -> Imposing sandboxing by modifying SUID properties for Electron 5+:" chmod 4755 "%{_libdir}/%{name}/chrome-sandbox" || true update-mime-database '/usr/share/mime' || true update-desktop-database '/usr/share/applications' || true %postun echo " -> Removing binary link from the system:" rm -vf '/usr/bin/termius' %files %dir "%{_libdir}/%{name}/" %dir "%{_datadir}/doc/packages/%{name}/" %dir "%{_datadir}/licenses/%{name}/" "%{_datadir}/applications/termius-app.desktop" %{_datadir}/icons/hicolor/*/apps/termius-app.png %{_libdir}/%{name}/* "%{_datadir}/doc/packages/%{name}/changelog.gz" "%{_datadir}/doc/packages/%{name}/CHANGELOG.html" "%{_datadir}/doc/packages/%{name}/CHANGELOG.desktop" "%{_datadir}/licenses/%{name}/LICENSE.electron.txt" "%{_datadir}/licenses/%{name}/LICENSES.chromium.html" %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor