Summary: A utility for putting files using the FTP protocol from the command line. Name: wput Version: 0.6.1 Release: 1 License: GPL Group: Applications/Internet URL: http://wput.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tgz Patch0: %{name}/%{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gnutls-devel, openssl-devel, gcc, gettext Requires: gnutls, openssl, gettext %description wput is a tiny program that looks like wget and is designed to upload files or whole directories to remote ftp-servers. %prep %setup -q %patch0 %build export CC=gcc export CFLAGS="-O2 -I/opt/freeware/include" ./configure \ --prefix=%{_prefix} \ --disable-g-switch \ --with-ssl cd src/getopt ln -s ../getopt.o ln -s ../getopt1.o cd ../.. make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT PATH=/opt/freeware/bin:$PATH make install DESTDIR=${RPM_BUILD_ROOT} strip $RPM_BUILD_ROOT%{_bindir}/wput %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,system) %doc ChangeLog COPYING INSTALL TODO doc %{_bindir}/* %{_mandir}/man1/* %{_datadir}/locale/* %changelog * Mon Jan 08 2008 Michael Perzl - 0.6.1-1 - first version for AIX V5.1 and higher