zssh/zssh.spec
weidong a373e89e23 Initial package
(cherry picked from commit 986ca98bbe2d04544e5f129f3be0442645acab40)
2021-02-19 18:00:15 +08:00

46 lines
1.3 KiB
RPMSpec

Name: zssh
Version: 1.5c
Release: 1
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
Patch0: 0001-Remove-build-instruction-about-lrzsz.patch
Patch1: 0002-Install-files-into-under-DESTDIR.patch
Patch2: 0003-Do-not-symlink-zssh-to-ztelnet.patch
Patch3: 0004-Use-GNU-openpty-library-for-pty.h.patch
Patch4: 0005-Do-not-call-strip-in-build-process.patch
Patch5: 0006-replace-CPPFunction-call-with-rl_completion_func_t.patch
Patch6: 0007-Fix-typo-in-man-page-zssh.1.patch
Patch7: 0008-Strip-build-date-from-version-string-to-enable-repro.patch
BuildRequires: gcc readline-devel libtermcap-devel autoconf
Requires: lrzsz
%description
%{summary}.
%prep
%autosetup -p1
# remove bundled lrzsz
rm -fr lrzsz-0.12.20
%build
autoconf
%configure
%make_build
%install
mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_mandir}/man1/
%make_install
rm %{buildroot}%{_mandir}/man1/ztelnet.1*
%files
%doc README
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
%changelog
* Thu Feb 18 2021 weidong <weidong@uniontech.com> - 1.5c-1
- Initial package