Summary: A multi-threaded FTP client for the X Window System Name: gftp Version: 2.0.18 Release: 1 License: GPL Group: Applications/Internet Url: http://www.gftp.org/ Source0: %{name}-%{version}.tar.bz2 Patch0: gftp-2.0.18-aix.patch Patch1: gftp-2.0.18-user-dirs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk+-devel BuildRequires: glib-devel BuildRequires: openssl-devel Requires: gtk+ Requires: glib Requires: openssl Requires: gettext %description gFTP is a multi-threaded FTP client for the X Window System. gFTP supports simultaneous downloads, resumption of interrupted file transfers, file transfer queues to allow downloading of multiple files, support for downloading entire directories/subdirectories, a bookmarks menu to allow quick connection to FTP sites, caching of remote directory listings, local and remote chmod, drag and drop, a connection manager and much more. Install gftp if you need a graphical FTP client. %prep %setup -q %patch0 -p0 %patch1 -p1 %build export CC=cc export CFLAGS="-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -I/usr/local/include `gtk-config --cflags` `glib-config --cflags`" export LDFLAGS="-L/opt/freeware/lib `gtk-config --libs` `glib-config --libs`" ./configure --prefix=/opt/freeware --disable-gtk20 make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %makeinstall mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Graphics install -m 0644 $RPM_BUILD_ROOT%{_datadir}/applications/gftp.desktop $RPM_BUILD_ROOT/etc/X11/applnk/Graphics %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog COPYING README TODO docs/USERS-GUIDE %{_bindir}/gftp %{_bindir}/gftp-gtk %{_bindir}/gftp-text %{_datadir}/applications %{_datadir}/gftp %{_datadir}/locale/* %{_datadir}/pixmaps %{_mandir}/man1/gftp.1 %attr(0644,root,root) /etc/X11/applnk/Graphics/gftp.desktop %changelog * Fri Aug 17 2007 Michael Perzl - 2.0.18-1 - First version for AIX5L V5.1 and higher