%define _localstatedir /var Summary: An improved FTP client Name: ncftp Version: 3.2.5 Release: %mkrel 1 Group: Networking/File transfer URL: http://www.ncftp.com/ BuildRequires: ncurses-devel License: Artistic Source0: ftp://ftp.ncftp.com/ncftp/ncftp-%{version}-src.tar.bz2 Patch0: ncftp-confirm.patch Patch3: ncftp-3.2.5-resume.patch Patch5: ncftp-3.1.9-suspend.patch Patch7: ncftp-3.1.1-EPLF.diff Patch8: ncftp-3.2.3-fix-help-cmd.patch %description Ncftp is an improved FTP client. Ncftp's improvements include support for command line editing, command histories, recursive gets, automatic anonymous logins and more. %prep %setup -q %patch0 -p0 -b .confirm %patch3 -p0 -b .resume %patch5 -p1 -b .suspend %patch7 -p0 -b .eplf %patch8 -p1 -b .help %build %configure \ --enable-signals %make %install rm -rf %{buildroot} mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1} %makeinstall_std # yves - 3.1.1-1mdk - fix doc perm find doc -type f -exec chmod 0644 {} \; rm -f doc/*windows.txt %clean rm -fr %{buildroot} %files %defattr(-,root,root) %doc doc/*.txt README.txt %{_bindir}/* %{_mandir}/*/* %changelog * Mon Oct 03 2011 fwang <fwang> 3.2.5-1.mga2 + Revision: 151143 - update file list - drop ipv6 patch as what other distros are doing + tv <tv> - rediff patch 3 - new release * Mon Jan 24 2011 erwan <erwan> 3.2.3-2.mga1 + Revision: 37936 - imported package ncftp