]>
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 | |
17 | BuildRequires: XFree86-devel | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %define _prefix /usr/X11R6 | |
21 | %define _mandir %{_prefix}/man | |
22 | %define _sbindir %{_bindir} | |
53bdc9e6 | 23 | |
24 | %description | |
cc31e0ea | 25 | Etherape is a graphical network monitor for Unix modeled after etherman. |
26 | Featuring ether, ip and tcp modes, it displays network activity | |
27 | graphically. Hosts and links change in size with traffic. Color coded | |
28 | protocols display. It supports ethernet, ppp and slip devices. It can | |
29 | filter traffic to be shown, and can read traffic from a file as well as | |
30 | live from the network. | |
53bdc9e6 | 31 | |
32 | %prep | |
33 | %setup -q | |
cc31e0ea | 34 | %patch0 -p1 |
53bdc9e6 | 35 | |
36 | %build | |
cc31e0ea | 37 | automake |
38 | gettextize --copy --force | |
39 | LDFLAGS="-s"; export LDFLAGS | |
40 | %configure | |
53bdc9e6 | 41 | make |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
cc31e0ea | 46 | make install \ |
47 | DESTDIR=$RPM_BUILD_ROOT | |
53bdc9e6 | 48 | |
cc31e0ea | 49 | gzip -9nf AUTHORS ChangeLog NEWS README FAQ README.help README.bugs \ |
50 | README.thanks \ | |
51 | $RPM_BUILD_ROOT%{_mandir}/man?/* | |
52 | ||
53 | %find_lang %{name} | |
53bdc9e6 | 54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
cc31e0ea | 58 | %files -f %{name}.lang |
59 | %defattr(644,root,root,755) | |
60 | %doc *.gz | |
61 | %attr(755,root,root) %{_sbindir}/* | |
62 | %{_datadir}/etherape | |
63 | %{_mandir}/man?/* |