[packages/ttyd] Initial

arekm arekm at pld-linux.org
Wed Sep 9 11:05:13 CEST 2026


commit 4c86d97cf02da68e2b1b7a569ed31bbb837a73af
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Sep 9 11:04:32 2026 +0200

    Initial

 ttyd.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/ttyd.spec b/ttyd.spec
new file mode 100644
index 0000000..9bba02b
--- /dev/null
+++ b/ttyd.spec
@@ -0,0 +1,43 @@
+Summary:	Share your terminal over the web
+Name:		ttyd
+Version:	1.7.7
+Release:	1
+License:	MIT
+Group:		Applications/Networking
+#Source0Download: https://github.com/tsl0922/ttyd/tags
+Source0:	https://github.com/tsl0922/ttyd/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	268e1f6506c19c14e86a1495a6f5730f
+URL:		https://tsl0922.github.io/ttyd/
+BuildRequires:	cmake >= 3.12
+BuildRequires:	json-c-devel
+BuildRequires:	libuv-devel
+BuildRequires:	libwebsockets-devel >= 3.2.0
+BuildRequires:	openssl-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ttyd is a simple command-line tool for sharing terminal over the web.
+
+%prep
+%setup -q
+
+%build
+%cmake -B build
+
+%{__make} -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%attr(755,root,root) %{_bindir}/ttyd
+%{_mandir}/man1/ttyd.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ttyd.git/commitdiff/4c86d97cf02da68e2b1b7a569ed31bbb837a73af



More information about the pld-cvs-commit mailing list