From 6603ec24e0f768e9e30434bc176e8fba25196bd0 Mon Sep 17 00:00:00 2001 From: mosquito Date: Tue, 28 Aug 2018 02:44:52 +0800 Subject: [PATCH] Initial import (#1524136) --- .gitignore | 1 + sources | 1 + zssh.spec | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 sources create mode 100644 zssh.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..652cb07 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/zssh-1.5c.tgz diff --git a/sources b/sources new file mode 100644 index 0000000..0ff86fd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (zssh-1.5c.tgz) = 799ce3bbea5e94a800f61e6c38879746a579992396304861b7584b6bad967214b811b6bf9aecb36d9d60a15857377cb2fee80b495ad69778903fc45593efeebd diff --git a/zssh.spec b/zssh.spec new file mode 100644 index 0000000..4fc7142 --- /dev/null +++ b/zssh.spec @@ -0,0 +1,38 @@ +Name: zssh +Version: 1.5c +Release: 1%{?dist} +Summary: SSH and Telnet client with ZMODEM file transfer capability +License: GPLv3 +URL: http://zssh.sourceforge.net/ +Source0: http://downloads.sourceforge.net/project/zssh/zssh/1.5/%{name}-%{version}.tgz +BuildRequires: gcc +BuildRequires: readline-devel +BuildRequires: libtermcap-devel + +%description +%{summary}. + +%prep +%setup -q + +%build +%configure +%make_build + +%install +install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name} +ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/ztelnet +install -Dm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +install -Dm 0644 ztelnet.1 %{buildroot}%{_mandir}/man1/ztelnet.1 + +%files +%doc README +%license COPYING +%{_bindir}/%{name} +%{_bindir}/ztelnet +%{_mandir}/man1/%{name}.1.* +%{_mandir}/man1/ztelnet.1.* + +%changelog +* Thu Dec 7 2017 mosquito - 1.5c-1 +- Initial package build