]>
Commit | Line | Data |
---|---|---|
53bdc9e6 | 1 | # Note that this is NOT a relocatable package |
2 | %define ver 0.4.6 | |
3 | %define RELEASE 1 | |
4 | %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} | |
5 | %define prefix /usr | |
6 | ||
7 | Summary: Graphical network viewer modeled after etherman. | |
8 | Name: etherape | |
9 | Version: %ver | |
10 | Release: %rel | |
11 | Copyright: GPL | |
12 | Group: Applications/Networking | |
13 | Source: http://download.sourceforge.net/etherape/etherape-%{ver}.tar.gz | |
14 | # Source1: ee-stdimg-new.xpm | |
15 | ||
16 | BuildRoot: /var/tmp/etherape-%{PACKAGE_VERSION}-root | |
17 | URL: http://etherape.sourceforge.net/ | |
18 | Docdir: %{prefix}/doc | |
19 | Requires: gnome-libs >= 1.0.0 | |
20 | ||
21 | %description | |
22 | Etherape is a graphical network monitor for Unix modeled after | |
23 | etherman. Featuring ether, ip and tcp modes, it displays network | |
24 | activity graphically. Hosts and links change in size with traffic. | |
25 | Color coded protocols display. It supports ethernet, ppp and slip | |
26 | devices. It can filter traffic to be shown, and can read traffic | |
27 | from a file as well as live from the network. | |
28 | ||
29 | %changelog | |
30 | * Mon Apr 3 2000 Juan Toledo <toledo@sourceforge.net> | |
31 | - Initial spec file copied from electric eyes | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | # insert new rh logo image | |
37 | #cp %{SOURCE1} stdimg.xpm | |
38 | ||
39 | %build | |
40 | ( export LINGUAS="$LINGUAS" && unset LINGUAS && CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --enable-static-pcap ) | |
41 | make | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | make prefix=$RPM_BUILD_ROOT%{prefix} install | |
47 | ||
48 | strip $RPM_BUILD_ROOT%{prefix}/sbin/* ||: | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(-, root, root) | |
55 | ||
56 | %doc AUTHORS COPYING ChangeLog NEWS README FAQ README.help README.bugs README.thanks | |
57 | %{prefix}/sbin/* | |
58 | %{prefix}/share/locale/*/*/* |