Summary: Fullscreen ftp client
Summary(pl): Pe³noekranowy klient ftp
Name: cftp
-Version: 0.10
-Release: 2
+Version: 0.12
+Release: 1
License: GPL
Group: Applications/Networking
Source0: http://ftp.giga.or.at/pub/nih/cftp/%{name}-%{version}.tar.gz
Patch0: %{name}-info.patch
Patch1: %{name}-no_libnsl.patch
+Patch2: %{name}-AC_LIBOBJ.patch
+Patch3: %{name}-ac_better_tgetent_detection.patch
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: ncurses-devel >= 5.0
-BuildRequires: readline-devel >= 4.1
+BuildRequires: readline-devel >= 4.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
rm -f missing
-aclocal
-autoconf
-automake -a -c
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf AUTHORS ChangeLog NEWS THANKS TODO
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS THANKS TODO
%attr(755,root,root) %{_bindir}/*
%{_infodir}/*info*