]>
Commit | Line | Data |
---|---|---|
cc31e0ea | 1 | Summary: Graphical network viewer modeled after etherman |
2 | Name: etherape | |
30c194ee | 3 | Version: 0.5.6 |
c16f2fac | 4 | Release: 2 |
cc31e0ea | 5 | License: GPL |
6 | Group: Applications/Networking | |
fcab7a15 | 7 | Group(de): Applikationen/Netzwerkwesen |
cc31e0ea | 8 | Group(pl): Aplikacje/Sieciowe |
bf28d9af | 9 | Source0: ftp://download.sourceforge.net/pub/sourceforge/etherape/%{name}-%{version}.tar.gz |
fcab7a15 AM |
10 | Patch0: %{name}-DESTDIR.patch |
11 | Patch1: %{name}-resolv.patch | |
cc31e0ea | 12 | URL: http://etherape.sourceforge.net/ |
13 | BuildRequires: automake | |
14 | BuildRequires: gettext-devel | |
15 | BuildRequires: gnome-libs-devel | |
16 | BuildRequires: gtk+-devel | |
17 | BuildRequires: libglade-devel | |
18 | BuildRequires: libpcap-devel | |
fcab7a15 AM |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
21 | BuildRequires: gettext-devel | |
cc31e0ea | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %define _prefix /usr/X11R6 | |
25 | %define _mandir %{_prefix}/man | |
26 | %define _sbindir %{_bindir} | |
53bdc9e6 | 27 | |
28 | %description | |
96ee7c5e | 29 | Etherape is a graphical network monitor for Unix modeled after |
30 | etherman. Featuring ether, ip and tcp modes, it displays network | |
31 | activity graphically. Hosts and links change in size with traffic. | |
32 | Color coded protocols display. It supports ethernet, ppp and slip | |
33 | devices. It can filter traffic to be shown, and can read traffic from | |
34 | a file as well as live from the network. | |
53bdc9e6 | 35 | |
36 | %prep | |
37 | %setup -q | |
cc31e0ea | 38 | %patch0 -p1 |
fcab7a15 | 39 | %patch1 -p1 |
53bdc9e6 | 40 | |
41 | %build | |
cc31e0ea | 42 | gettextize --copy --force |
fcab7a15 AM |
43 | automake -a -c |
44 | aclocal -I macros | |
45 | autoconf | |
cc31e0ea | 46 | %configure |
5dd8448d | 47 | %{__make} |
53bdc9e6 | 48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
a3428734 | 52 | %{__make} install \ |
cc31e0ea | 53 | DESTDIR=$RPM_BUILD_ROOT |
53bdc9e6 | 54 | |
cc31e0ea | 55 | gzip -9nf AUTHORS ChangeLog NEWS README FAQ README.help README.bugs \ |
836799b3 | 56 | README.thanks |
cc31e0ea | 57 | |
58 | %find_lang %{name} | |
53bdc9e6 | 59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
cc31e0ea | 63 | %files -f %{name}.lang |
64 | %defattr(644,root,root,755) | |
65 | %doc *.gz | |
66 | %attr(755,root,root) %{_sbindir}/* | |
67 | %{_datadir}/etherape | |
68 | %{_mandir}/man?/* |