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