Accepting request 1002521 from home:1Antoine1
It's a program which handles app:// (and maybe later appsocket://) hyperlinks inside terminal emulators. It's only used by GNU poke for now, see https://jemarch.net/pokology-20200202.html. OBS-URL: https://build.opensuse.org/request/show/1002521 OBS-URL: https://build.opensuse.org/package/show/utilities/hyperlink-app-client?expand=0&rev=1
This commit is contained in:
commit
bedb75c7e4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
8
app-client.desktop
Normal file
8
app-client.desktop
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Hyperlink App Client
|
||||
Categories=System;ConsoleOnly
|
||||
Comment=Client for the app:// protocol
|
||||
NoDisplay=true
|
||||
Exec=app-client %u
|
||||
MimeType=x-scheme-handler/app
|
3
hyperlink-app-client-0.0~20200123.tar.bz2
Normal file
3
hyperlink-app-client-0.0~20200123.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77818eac1b41ee9f1128f27bb0ff1ca26aece5004e50c25c77c842ba3503eadb
|
||||
size 13047
|
5
hyperlink-app-client.changes
Normal file
5
hyperlink-app-client.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 9 22:36:18 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org>
|
||||
|
||||
- Initial package: hyperlink-app-client-0.0~20200123.
|
||||
|
57
hyperlink-app-client.spec
Normal file
57
hyperlink-app-client.spec
Normal file
@ -0,0 +1,57 @@
|
||||
#
|
||||
# spec file for package hyperlink-app-client
|
||||
#
|
||||
# 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 commit 211516ea81e9459c0056ade52e991c09ade2909e
|
||||
Name: hyperlink-app-client
|
||||
Version: 0.0~20200123
|
||||
Release: 0
|
||||
Summary: Handler program for the app protocol
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://gitlab.com/darnir/%{name}
|
||||
Source0: https://gitlab.com/darnir/%{name}/-/archive/%{commit}/%{name}-%{version}.tar.bz2
|
||||
Source1: app-client.desktop
|
||||
|
||||
%description
|
||||
The app protocol defines the behaviour of a terminal emulator when opening a
|
||||
'app://' hyperlink.
|
||||
|
||||
The behaviour is basically to send via TCP/IP the given command to the given
|
||||
hostname and port.
|
||||
|
||||
This behaviour can be extracted in a separate program. A terminal emulator
|
||||
can simply invoke this program, passing it the URI on standard input. This way,
|
||||
the protocol logic does not need to be hardwired into any terminal emulator.
|
||||
|
||||
This package contains the reference implementation of such a handler program.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{commit}
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%make_build
|
||||
|
||||
%install
|
||||
install -D --target-directory %{buildroot}%{_bindir} --mode 0755 app-client
|
||||
install -D --target-directory %{buildroot}%{_datadir}/applications --mode 0644 %{SOURCE1}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README
|
||||
%{_bindir}/app-client
|
||||
%{_datadir}/applications/app-client.desktop
|
Loading…
Reference in New Issue
Block a user