# $Id$ # Authority: dag %{?dtag: %{expand: %%define %dtag 1}} %{!?dtag:%define _with_libpcapdevel 1} %{?el5:%define _with_libpcapdevel 1} %{?fc6:%define _with_libpcapdevel 1} Summary: Flexible multiprotocol traceroute Name: traceproto Version: 1.1.1 Release: 1.2 License: GPL Group: Applications/Internet URL: http://traceproto.sourceforge.net/ Source: http://dl.sf.net/traceproto/traceproto-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: libnet >= 1.1.0, libpcap, ncurses-devel Requires: libnet >= 1.1.0, libpcap %{?_with_libpcapdevel:BuildRequires:libpcap-devel} %description Traceproto is an enhanced traceroute-like tool that can use protocols as chosen by the user. Traceproto is not limited to UDP/ICMP so can be used to test / bypass firewalls and packet filters and check if ports are open. %prep %setup %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %makeinstall %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README %doc %{_mandir}/man8/traceproto.8* %{_bindir}/traceproto %changelog * Fri Mar 04 2005 Dag Wieers - 1.1.1-1 - Initial package. (using DAR)