Summary: An improved FTP client. Name: ncftp Version: 3.1.1 Release: 4 Prefix: %{_prefix} License: ClArtistic URL: http://www.ncftp.com Group: Applications/Internet Source0: ftp://ftp.ncftp.com/ncftp/ncftp-%{version}-src.tar.bz2 %define DEFCC cc %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. Install ncftp if you use FTP to transfer files and you'd like to try some of ncftp's additional features. %prep %setup -q %build # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if [[ "$CC" != "gcc" ]] then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` fi export CFLAGS="$RPM_OPT_FLAGS -D_LARGE_FILES" %configure --enable-signals make STRIPFLAG="" %install rm -rf $RPM_BUILD_ROOT for dir in bin man/man1 do mkdir -p $RPM_BUILD_ROOT%{_prefix}/$dir done make prefix=$RPM_BUILD_ROOT%{_prefix} \ mandir=$RPM_BUILD_ROOT%{_prefix}/man \ BINDIR=$RPM_BUILD_ROOT%{_prefix}/bin \ install strip $RPM_BUILD_ROOT%{prefix}/bin/* || : mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Internet cat > $RPM_BUILD_ROOT/etc/X11/applnk/Internet/ncftp.desktop << EOF [Desktop Entry] Name=NcFTP Comment=NcFTP - a text mode FTP client Icon=ftp.xpm Exec=ncftp Type=Application Terminal=1 EOF (cd $RPM_BUILD_ROOT mkdir -p usr/bin cd usr/bin ln -sf ../..%{_prefix}/bin/* . ) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,system) %doc *README* doc doc/* %config(missingok) /etc/X11/applnk/Internet/ncftp.desktop %{_prefix}/bin/ncftp %{_prefix}/bin/ncftpget %{_prefix}/bin/ncftpput %{_prefix}/bin/ncftpbatch %{_prefix}/bin/ncftpls %{_prefix}/bin/ncftpbookmarks %{_prefix}/man/man1/ncftp.1* %{_prefix}/man/man1/ncftpget.1* %{_prefix}/man/man1/ncftpput.1* %{_prefix}/man/man1/ncftpbatch.1* %{_prefix}/man/man1/ncftpls.1* %changelog * Wed May 12 2021 Rishita Saha - Rebuilt to change license information - Not shipping files in /usr directory any longer * Thu Jul 10 2003 David Clissold - Build with IBM VAC compiler for better size/performance. * Fri Nov 22 2002 David Clissold - Add IBM ILA license. * Fri Feb 08 2002 Marc Stephenson - New version * Thu May 17 2001 Marc Stephenson - First release of 3.0.3 * Wed Apr 18 2001 David Clissold - Binaries weren't being stripped * Tue Apr 03 2001 David Clissold - Build with -D_LARGE_FILES enabled (for >2BG files) * Fri Oct 27 2000 pkgmgr - Modify for AIX Freeware distribution * Mon Mar 6 2000 Jeff Johnson - permit 8-bit input chars to be returned without exiting (#9981), * Sat Feb 5 2000 Bernhard Rosenkraenzer - Deal with rpm compressing man pages - remove wmconfig stuff * Thu Jan 6 2000 Jeff Johnson - add missing docs. - y2k wartlet (#8225) * Tue Nov 9 1999 Bernhard Rosenkraenzer - 3.0b21 - enable signal usage * Sat Jun 12 1999 Jeff Johnson - 3.0b19 * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Wed Feb 24 1999 Bill Nottingham - return of wmconfig * Tue Feb 23 1999 Bill Nottingham - 3.0b18 * Fri Feb 12 1999 Bill Nottingham - 3.0b17 * Wed Dec 2 1998 Bill Nottingham - 3.0b16 * Wed Nov 18 1998 Bill Nottingham - add docs * Thu Nov 5 1998 Bill Nottingham - update to 3.0beta15 * Thu Aug 13 1998 Jeff Johnson - build root * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Wed Apr 08 1998 Cristian Gafton - compiled for Manhattan * Fri Mar 20 1998 Cristian Gafton - updated to 2.4.3 for security reasons * Wed Nov 05 1997 Donnie Barnes - added wmconfig entry * Wed Oct 21 1997 Cristian Gafton - fixed the spec file * Fri Oct 10 1997 Erik Troan - updated to ncftp 2.4.2 * Thu Jul 10 1997 Erik Troan - built against glibc * Tue Mar 25 1997 Donnie Barnes - Rebuild as Sun version didn't work.