Summary: Securely and quickly copy data from source to target Name: bbcp Version: 15.02.03.01.1 Release: 1 Vendor: SLAC License: LGPL-3.0 Group: External packages URL: http://www.slac.stanford.edu/~abh/bbcp/ Packager: Michael Perzl Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl-devel >= 1.0.2k-1 BuildRequires: zlib-devel >= 1.2.3-7 Requires: zlib >= 1.2.3-7 %description bbcp is a point-to-point network file copy application written by Andy Hanushevsky at SLAC. It is capable of transferring files at approaching line speeds in the WAN. %prep %setup -n %{name} -q %patch0 %build cd src DEST_SYSNAME=AIX make %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} cp bin/AIX/%{name} ${RPM_BUILD_ROOT}%{_bindir}/ chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* /usr/bin/strip -X32_64 ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %{_bindir}/* /usr/bin/* %changelog * Thu Apr 27 2017 Michael Perzl - 15.02.03.01.1-1 - first version for AIX V5.1 and higher