File: lft.spec

package info (click to toggle)
lft 2.2-1.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 572 kB
  • ctags: 890
  • sloc: ansic: 2,850; sh: 2,588; makefile: 73
file content (62 lines) | stat: -rw-r--r-- 1,632 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

# If you don't like the prefix '/usr' you can override it like this:
# rpm -ba|--rebuild --define 'prefix /usr/local'
%{?!prefix:%define prefix %{prefixdef}}

Name:		lft
Version:	2.2
Release:	0
Vendor:		MainNerve
Packager:	Nils McCarthy <nils@shkoo.com>
URL:		http://www.mainnerve.com/lft/
Source:		%{name}-%{version}.tar.gz
Group:		Applications/Internet
License:	MainNerve Public License
Provides:	lft
Requires:	libpcap
BuildRoot:	%{_tmppath}/root-%{name}-%{version}
Prefix:		%{_prefix}
Summary:	Alternative traceroute tool for network (reverse) engineers

BuildRequires: libpcap
Obsoletes: fft

%description
LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that
often works much faster (than the commonly-used Van Jacobson method) and
goes through many configurations of packet-filter based firewalls. More
importantly, LFT implements numerous other features including AS number
lookups, loose source routing, netblock name lookups, et al.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall DESTDIR="%{buildroot}%{_bindir}" MANDIR="%{buildroot}%{_mandir}/man8"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%{_mandir}/man8/*
%doc CHANGELOG COPYING README TODO lft-manpage.html

%attr(4755, root, root) %{_bindir}/lft

%changelog
* Sun Apr 20 2003 Nils McCarthy <nils@shkoo.com>
- Incorporated changes from Dag Wieers <dag@wieers.com> cleaning up
- a lot of the build process.

* Thu Mar 06 2003 Nils McCarthy <nils@shkoo.com>
- revised to work with autoconf

* Mon Oct 28 2002 Florin Andrei <florin@sgi.com>
- first version
- v2.0-1