6603ec2
Name:           zssh
6603ec2
Version:        1.5c
bb4c5fd
Release:        7%{?dist}
6603ec2
Summary:        SSH and Telnet client with ZMODEM file transfer capability
6603ec2
License:        GPLv3
6603ec2
URL:            http://zssh.sourceforge.net/
6603ec2
Source0:        http://downloads.sourceforge.net/project/zssh/zssh/1.5/%{name}-%{version}.tgz
d384ba9
# patches from https://sources.debian.org/patches/zssh/1.5c.debian.1-7/
d384ba9
Patch0:         https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0001-Remove-build-instruction-about-lrzsz.patch
d384ba9
Patch1:         https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0002-Install-files-into-under-DESTDIR.patch
d384ba9
Patch2:         https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0003-Do-not-symlink-zssh-to-ztelnet.patch
d384ba9
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
d384ba9
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
d384ba9
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
d384ba9
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
d384ba9
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
6603ec2
BuildRequires:  gcc
6603ec2
BuildRequires:  readline-devel
b328ea7
BuildRequires:  ncurses-devel
d384ba9
BuildRequires:  autoconf
d384ba9
Requires:       lrzsz
6603ec2
6603ec2
%description
6603ec2
%{summary}.
6603ec2
6603ec2
%prep
d384ba9
%autosetup -p1
d384ba9
# remove bundled lrzsz
d384ba9
rm -fr lrzsz-0.12.20
6603ec2
6603ec2
%build
d384ba9
autoconf
6603ec2
%configure
6603ec2
%make_build
6603ec2
6603ec2
%install
d384ba9
mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_mandir}/man1/
d384ba9
%make_install
d384ba9
rm %{buildroot}%{_mandir}/man1/ztelnet.1*
6603ec2
6603ec2
%files
6603ec2
%doc README
6603ec2
%license COPYING
6603ec2
%{_bindir}/%{name}
6603ec2
%{_mandir}/man1/%{name}.1.*
6603ec2
6603ec2
%changelog
bb4c5fd
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5c-7
bb4c5fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
bb4c5fd
b328ea7
* Sat Nov 30 2019 Robin Lee <cheeselee@fedoraproject.org> - 1.5c-6
b328ea7
- Fix BR
b328ea7
63d91d7
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5c-5
63d91d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
63d91d7
d384ba9
* Thu Jun 13 2019 Robin Lee <cheeselee@fedoraproject.org> - 1.5c-4
d384ba9
- Port patches from Debian (BZ#1716106)
d384ba9
- Requires lrzsz
d384ba9
7acebd4
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5c-3
7acebd4
- Rebuild for readline 8.0
7acebd4
1a98fd4
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5c-2
1a98fd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1a98fd4
6603ec2
* Thu Dec  7 2017 mosquito <sensor.wen@gmail.com> - 1.5c-1
6603ec2
- Initial package build