Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:apps
upterm
upterm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File upterm.spec of Package upterm
# # spec file for package upterm # # Copyright (c) 2022 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/ # %define services uptermd.service Name: upterm Version: 0.13.5 Release: 0 Summary: Secure Terminal Sharing License: Apache-2.0 URL: https://upterm.dev/ Source: https://github.com/owenthereal/upterm/archive/refs/tags/v#{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: uptermd.apparmor Source2: README.SUSE Source9: vendor.tar.xz BuildRequires: golang(API) >= 1.22 BuildRequires: golang-packaging BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(bash-completion) BuildRequires: apparmor-abstractions BuildRequires: apparmor-rpm-macros %go_nostrip %description Upterm is an open-source solution for sharing terminal sessions instantly over the public internet via secure tunnels. Upterm is good for Remote pair programming Access remote computers behind NATs and firewalls Remote debugging <insert your creative use cases> %package bash-completion Summary: Bash Completion for %{name} Group: Productivity/Networking/Security Requires: %{name} = %{version} Requires: bash-completion Supplements: (%{name} and bash-completion) BuildArch: noarch %description bash-completion Bash completion script for %{name}. %package zsh-completion Summary: ZSH completion for %{name} Group: Productivity/Networking/Security Requires: %{name} = %{version} Requires: zsh Supplements: (%{name} and zsh) BuildArch: noarch %description zsh-completion zsh shell completions for %{name}. %prep %autosetup -p1 -a9 %build mkdir build for binary in upterm uptermd ; do go build -mod=vendor -buildmode=pie -o build/${binary} ./cmd/${binary}/ done make docs %install install -D -m 0755 -d %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1/ install -D -m 0755 build/upterm{,d} %{buildroot}%{_bindir} install -D -m 0644 systemd/uptermd.service %{buildroot}%{_unitdir}/uptermd.service install -D -m 0644 etc/man/man1/*.1 %{buildroot}%{_mandir}/man1/ install -D -m 0644 etc/completion/upterm.bash_completion.sh %{buildroot}%{_datadir}/bash-completion/completions/%{name} install -D -m 0644 etc/completion/upterm.zsh_completion %{buildroot}%{_sysconfdir}/zsh_completion.d/%{name} install -D -m 0644 %{SOURCE1} %{buildroot}/etc/apparmor.d/%{name} cp %{SOURCE2} . %pre %service_add_pre %{services} %post %service_add_post %{services} %preun %service_del_preun %{services} %postun %apparmor_reload /etc/apparmor.d/%{name} %service_del_postun %{services} %files %license LICENSE %doc README.SUSE %doc *.md %doc docs/*.md %{_bindir}/upterm %{_bindir}/uptermd %{_unitdir}/uptermd.service %{_mandir}/man1/upterm*.1* %config /etc/apparmor.d/%{name} %ghost %attr(0644,root,root) %config(noreplace) /etc/apparmor.d/local/%{name} %files bash-completion %license LICENSE %{_datadir}/bash-completion/completions/%{name} %files zsh-completion %license LICENSE %dir %{_sysconfdir}/zsh_completion.d %{_sysconfdir}/zsh_completion.d/%{name} %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