Summary: An improved FTP client. Name: ncftp Version: 3.1.1 Release: 3 Prefix: %{_prefix} License: IBM_ILA URL: http://www.ncftp.com Group: Applications/Internet Source0: ftp://ftp.ncftp.com/ncftp/ncftp-%{version}-src.tar.bz2 Source1: IBM_ILA Source2: artistic-license.html BuildRoot: /var/tmp/%{name}-root %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 # Add license info cat $RPM_SOURCE_DIR/IBM_ILA > LICENSE echo "See file artistic-license.html for the full artistic license." >> LICENSE cp $RPM_SOURCE_DIR/artistic-license.html . %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,root) %doc *README* doc artistic-license.html LICENSE %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 /usr/bin/ncftp /usr/bin/ncftpget /usr/bin/ncftpput /usr/bin/ncftpbatch /usr/bin/ncftpls /usr/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 * 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.