Initial import (#1524136)

This commit is contained in:
mosquito 2018-08-28 02:44:52 +08:00
parent d88c4a1529
commit 6603ec24e0
3 changed files with 40 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/zssh-1.5c.tgz

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (zssh-1.5c.tgz) = 799ce3bbea5e94a800f61e6c38879746a579992396304861b7584b6bad967214b811b6bf9aecb36d9d60a15857377cb2fee80b495ad69778903fc45593efeebd

38
zssh.spec Normal file
View File

@ -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 <sensor.wen@gmail.com> - 1.5c-1
- Initial package build