]>
Commit | Line | Data |
---|---|---|
cc31e0ea | 1 | Summary: Graphical network viewer modeled after etherman |
2 | Name: etherape | |
0ffc8fc5 | 3 | Version: 0.5.2 |
cc31e0ea | 4 | Release: 1 |
5 | License: GPL | |
6 | Group: Applications/Networking | |
7 | Group(pl): Aplikacje/Sieciowe | |
8 | Source0: http://download.sourceforge.net/etherape/%{name}-%{version}.tar.gz | |
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 | |
cc31e0ea | 24 | Etherape is a graphical network monitor for Unix modeled after etherman. |
25 | Featuring ether, ip and tcp modes, it displays network activity | |
26 | graphically. Hosts and links change in size with traffic. Color coded | |
27 | protocols display. It supports ethernet, ppp and slip devices. It can | |
28 | filter traffic to be shown, and can read traffic from a file as well as | |
29 | 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 | |
53bdc9e6 | 40 | make |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
cc31e0ea | 45 | make install \ |
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?/* |