| [521] | 1 | # Note that this is NOT a relocatable package |
|---|
| 2 | %define ver 0.9.7 |
|---|
| 3 | %define RELEASE 2%{?_dist_release} |
|---|
| 4 | %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | Summary: Graphical network viewer modeled after etherman. |
|---|
| 8 | Summary(ja): グラフィカルネットワークビューア |
|---|
| 9 | Name: etherape |
|---|
| 10 | Version: %ver |
|---|
| 11 | Release: %rel |
|---|
| 12 | License: GPL |
|---|
| 13 | Group: Applications/Internet |
|---|
| 14 | Source: http://download.sourceforge.net/etherape/etherape-%{ver}.tar.gz |
|---|
| 15 | # Source1: ee-stdimg-new.xpm |
|---|
| 16 | |
|---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 18 | URL: http://etherape.sourceforge.net/ |
|---|
| 19 | Requires: libgnomeui |
|---|
| 20 | Requires: libglade2 |
|---|
| 21 | BuildPreReq: libgnomeui-devel, ORBit2-devel, libglade2-devel |
|---|
| 22 | #BuildPreReq: libpcap |
|---|
| 23 | BuildRequires: libpcap-devel |
|---|
| 24 | Prereq: scrollkeeper |
|---|
| 25 | |
|---|
| 26 | %description |
|---|
| 27 | Etherape is a graphical network monitor for Unix modeled after |
|---|
| 28 | etherman. Featuring ether, ip and tcp modes, it displays network |
|---|
| 29 | activity graphically. Hosts and links change in size with traffic. |
|---|
| 30 | Color coded protocols display. It supports ethernet, ppp and slip |
|---|
| 31 | devices. It can filter traffic to be shown, and can read traffic |
|---|
| 32 | from a file as well as live from the network. |
|---|
| 33 | |
|---|
| 34 | %description -l ja |
|---|
| 35 | Etherape は Unix 向けグラフィカルネットワークモニタで, |
|---|
| 36 | etherman を参考に作られました.ether, ip, tcp モードをサポートし, |
|---|
| 37 | グラフィカルにネットワークの状況を標示します. |
|---|
| 38 | ethernet, ppp, slip をサポートします.どのトラフィックを表示するか |
|---|
| 39 | フィルタしたり,ファイルからトラフィックを読んだりする事も可能です. |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | %prep |
|---|
| 43 | %setup -q |
|---|
| 44 | |
|---|
| 45 | # insert new rh logo image |
|---|
| 46 | #cp %{SOURCE1} stdimg.xpm |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %build |
|---|
| 50 | %configure --enable-static-pcap |
|---|
| 51 | make |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %install |
|---|
| 55 | rm -rf $RPM_BUILD_ROOT |
|---|
| 56 | |
|---|
| 57 | %makeinstall |
|---|
| 58 | |
|---|
| 59 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
|---|
| 60 | |
|---|
| 61 | %find_lang %{name} |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | %clean |
|---|
| 65 | rm -rf $RPM_BUILD_ROOT |
|---|
| 66 | |
|---|
| 67 | %post |
|---|
| 68 | scrollkeeper-update > /dev/null 2>&1 || : |
|---|
| 69 | exit 0 |
|---|
| 70 | |
|---|
| 71 | %postun |
|---|
| 72 | scrollkeeper-update > /dev/null 2>&1 || : |
|---|
| 73 | exit 0 |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | %files -f %{name}.lang |
|---|
| 77 | %defattr(-, root, root) |
|---|
| 78 | %doc AUTHORS COPYING ChangeLog NEWS README FAQ README.help README.bugs README.thanks |
|---|
| 79 | %config %{_sysconfdir}/etherape/* |
|---|
| 80 | %{_bindir}/* |
|---|
| 81 | %{_datadir}/applications/* |
|---|
| 82 | %{_datadir}/etherape/* |
|---|
| 83 | %{_datadir}/omf/* |
|---|
| 84 | %{_datadir}/pixmaps/* |
|---|
| 85 | %{_mandir}/man1/* |
|---|
| 86 | |
|---|
| 87 | %changelog |
|---|
| 88 | * Thu Jul 30 2009 Shu KONNO <owa@bg.wakwak.com> 0.9.7-2 |
|---|
| 89 | - dropt BPR: libpcap |
|---|
| 90 | - added BR: libpcap-devel |
|---|
| 91 | |
|---|
| 92 | * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.7-1vl5 |
|---|
| 93 | - applied new versioning policy, spec in utf-8 |
|---|
| 94 | |
|---|
| 95 | * Mon Jul 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.7-0vl1 |
|---|
| 96 | - updated to 0.9.7 |
|---|
| 97 | - rebuilt with libpcap-0.9.6 |
|---|
| 98 | |
|---|
| 99 | * Fri Jul 7 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.6-0vl1 |
|---|
| 100 | - updated to 0.9.6 |
|---|
| 101 | - changed to Applications/Internet |
|---|
| 102 | - added %post and %postun section |
|---|
| 103 | - added Prereq: scrollkeeper |
|---|
| 104 | |
|---|
| 105 | * Sat Jun 5 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.0-0vl1 |
|---|
| 106 | - updated to 0.9.0 |
|---|
| 107 | - rebuild with new toolchains |
|---|
| 108 | - rebuild with gnome2 |
|---|
| 109 | |
|---|
| 110 | * Fri May 18 2001 <sagami@vinelinux.org> |
|---|
| 111 | - added BuildPreReq: libpcap :-) |
|---|
| 112 | |
|---|
| 113 | * Tue May 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
|---|
| 114 | - 0.7.3-1vl1 |
|---|
| 115 | - built for Vine Linux |
|---|
| 116 | |
|---|
| 117 | * Mon Apr 3 2000 Juan Toledo <toledo@sourceforge.net> |
|---|
| 118 | - Initial spec file copied from electric eyes |
|---|