Name: udpcast Summary: UDP broadcast file distribution and installation Version: 20100130 Release: 1 License: GPLv2+ and BSD Group: Applications/System URL: http://udpcast.linux.lu/ Source0: http://udpcast.linux.lu/download/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: m4 %description Command-line client for UDP sender and receiver. Udpcast is an application for multicasting data to multiple targets. %prep %setup -q %patch0 %build export CC="cc -qcpluscmt" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_sbindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/sbin cd usr/sbin ln -sf ../..%{_sbindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc Changelog.txt cmd.html COPYING %{_sbindir}/* %{_mandir}/man1/* /usr/sbin/* %changelog * Wed Feb 16 2011 Michael Perzl - 20100130-1 - first version for AIX V5.1 and higher