2018-08-27 18:44:52 +00:00
|
|
|
Name: zssh
|
|
|
|
Version: 1.5c
|
2019-07-27 05:05:26 +00:00
|
|
|
Release: 5%{?dist}
|
2018-08-27 18:44:52 +00:00
|
|
|
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
|
2019-06-13 08:41:47 +00:00
|
|
|
# patches from https://sources.debian.org/patches/zssh/1.5c.debian.1-7/
|
|
|
|
Patch0: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0001-Remove-build-instruction-about-lrzsz.patch
|
|
|
|
Patch1: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0002-Install-files-into-under-DESTDIR.patch
|
|
|
|
Patch2: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0003-Do-not-symlink-zssh-to-ztelnet.patch
|
|
|
|
Patch3: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0004-Use-GNU-openpty-library-for-pty.h.patch
|
|
|
|
Patch4: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0005-Do-not-call-strip-in-build-process.patch
|
|
|
|
Patch5: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch
|
|
|
|
Patch6: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0007-Fix-typo-in-man-page-zssh.1.patch
|
|
|
|
Patch7: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0008-Strip-build-date-from-version-string-to-enable-repro.patch
|
2018-08-27 18:44:52 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: libtermcap-devel
|
2019-06-13 08:41:47 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
Requires: lrzsz
|
2018-08-27 18:44:52 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
2019-06-13 08:41:47 +00:00
|
|
|
%autosetup -p1
|
|
|
|
# remove bundled lrzsz
|
|
|
|
rm -fr lrzsz-0.12.20
|
2018-08-27 18:44:52 +00:00
|
|
|
|
|
|
|
%build
|
2019-06-13 08:41:47 +00:00
|
|
|
autoconf
|
2018-08-27 18:44:52 +00:00
|
|
|
%configure
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
2019-06-13 08:41:47 +00:00
|
|
|
mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_mandir}/man1/
|
|
|
|
%make_install
|
|
|
|
rm %{buildroot}%{_mandir}/man1/ztelnet.1*
|
2018-08-27 18:44:52 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README
|
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1.*
|
|
|
|
|
|
|
|
%changelog
|
2019-07-27 05:05:26 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5c-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-13 08:41:47 +00:00
|
|
|
* Thu Jun 13 2019 Robin Lee <cheeselee@fedoraproject.org> - 1.5c-4
|
|
|
|
- Port patches from Debian (BZ#1716106)
|
|
|
|
- Requires lrzsz
|
|
|
|
|
2019-02-17 08:30:53 +00:00
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5c-3
|
|
|
|
- Rebuild for readline 8.0
|
|
|
|
|
2019-02-03 13:15:27 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5c-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-27 18:44:52 +00:00
|
|
|
* Thu Dec 7 2017 mosquito <sensor.wen@gmail.com> - 1.5c-1
|
|
|
|
- Initial package build
|