Summary: TCP packet sniffer Name: PKGNAME Version: VERSION Release: 1 Vendor: Solucorp License: GPL Group: Applications/framework Source: ftp://ftp.solucorp.qc.ca/pub/tlmp/misc/PKGNAME-VERSION.src.tar.gz BuildRoot: /tmp/PKGNAME-root Packager: Jacques Gelinas %description Packet sniffer component allowing an application to spy TCP session easily and record various statistics. %prep %setup %build make CFLAGS="$RPM_OPT_FLAGS" %install if [ "$RPM_BUILD_ROOT" != "" -a "$RPM_BUILD_ROOT" != "/" ] ; then rm -rf $RPM_BUILD_ROOT fi export RPM_BUILD_ROOT make install %clean if [ "$RPM_BUILD_ROOT" != "" -a "$RPM_BUILD_ROOT" != "/" ] ; then rm -rf $RPM_BUILD_ROOT fi %files %defattr(-,root,root)