Skip to content

Instantly share code, notes, and snippets.

@farribeiro
Created December 15, 2018 13:24
Show Gist options
  • Save farribeiro/6c2c6abfb04fb05238c0e8526564ac92 to your computer and use it in GitHub Desktop.
Save farribeiro/6c2c6abfb04fb05238c0e8526564ac92 to your computer and use it in GitHub Desktop.
ttyd
Name: ttyd
Summary: Share your terminal over the web
Version: 1.4.2
Release: 1%{?dist}
License: MIT
URL: https://github.com/%{upstream}/%{name}
# wget --content-disposition %%{url}/tarball/%%{version}
Source0: %{upstream}/archive/%{name}-%{name}-%{version}.tar.gz
BuildRequires: json-c-devel
BuildRequires: vim-common
BuildRequires: cmake
BuildRequires: openssl-devel
BuildRequires: libwebsockets-devel
%description
ttyd is a simple command-line tool for sharing terminal over the web, inspired by GoTTY.
%prep
%setup -q -n %{name}-%{version}
%build
%cmake
make
%install
%make_install
%files
%doc LICENSE README.md
%{_bindir}/ttyd
%{_mandir}/man1/ttyd.1.*
%changelog
* Thu Sep 28 2017 Huaren Zhong <huaren.zhong@gmail.com> 1.3.3
- Rebuild for Fedora
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment