75 lines
1.9 KiB
RPMSpec
75 lines
1.9 KiB
RPMSpec
%ifarch alpha ia64 ppc64 s390x sparc64 x86_64
|
|
%global flavor gcc64pthr
|
|
%else
|
|
%global flavor gcc32pthr
|
|
%endif
|
|
|
|
|
|
Name: uberftp
|
|
Version: 2.5
|
|
Release: 5%{?dist}
|
|
Summary: GridFTP-enabled ftp client
|
|
|
|
Group: Applications/Internet
|
|
|
|
License: NCSA
|
|
URL: http://dims.ncsa.illinois.edu/set/uberftp/
|
|
Source0: http://dims.ncsa.illinois.edu/set/uberftp/download/uberftp-client-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: grid-packaging-tools, globus-gssapi-gsi-devel
|
|
|
|
%description
|
|
UberFTP is the first interactive, GridFTP-enabled ftp client.
|
|
It supports GSI authentication, parallel data channels and
|
|
third party transfers.
|
|
|
|
%prep
|
|
%setup -q -n uberftp-client-%{version}
|
|
iconv -f iso8859-1 -t utf-8 copyright > copyright.conv && mv -f copyright.conv copyright
|
|
|
|
|
|
%build
|
|
mkdir pkgdata
|
|
sed -e 's!-I$globus_location/include/$globus_flavor! -I%{_includedir}/globus -I%{_libdir}/globus/include!' -i configure.ac
|
|
|
|
%{_datadir}/globus/globus-bootstrap.sh
|
|
|
|
%configure --with-globus-flavor=%{flavor} --with-globus=%{_usr} --with-gpt=%{_usr}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/uberftp
|
|
%{_mandir}/man1/uberftp.1.gz
|
|
%doc Changelog.mssftp Changelog copyright
|
|
|
|
%changelog
|
|
* Sat Sep 11 2009 Steve Traylen <steve.traylen@cern.ch> - 2.5-1
|
|
- Update to uberftp-2.5
|
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.4-5
|
|
- rebuilt with new openssl
|
|
|
|
* Wed Jul 22 2009 Steve Traylen <steve.traylen@cern.ch> 2.4-4
|
|
- Update source to version 2.4
|
|
- Include copyright file in package.
|
|
|
|
* Tue Jun 23 2009 Steve Traylen <steve.traylen@cern.ch> 2.3-3
|
|
- Better inclusion of globus header files.
|
|
* Fri Jun 19 2009 Steve Traylen <steve@traylen.net> - 2.3-2
|
|
- Remove my debugging.
|
|
* Fri Jun 19 2009 Steve Traylen <steve@traylen.net> - 2.3-1
|
|
- Initial version.
|
|
|
|
|