Summary(pl): Graficzny monitor sieci
Summary(pt_BR): Visualizador gráfico de redes modelado como o etherman
Name: etherape
-Version: 0.8.2
+Version: 0.9.0
Release: 3
License: GPL
Group: Applications/Networking
Source0: http://dl.sourceforge.net/etherape/%{name}-%{version}.tar.gz
+# Source0-md5: a712f4cb04897d1a02ce988cffbf254c
+Patch0: %{name}-bdf_h.patch
+Patch1: %{name}-desktop.patch
URL: http://etherape.sourceforge.net/
-BuildRequires: autoconf
-BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
-BuildRequires: gtk+-devel
-BuildRequires: libglade-gnome-devel
+BuildRequires: gtk+2-devel
+BuildRequires: libgnomeui-devel
BuildRequires: libpcap-devel
-BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _sbindir %{_bindir}
-
%description
Etherape is a graphical network monitor for Unix modeled after
etherman. Featuring ether, ip and tcp modes, it displays network
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
-rm -f missing
+%{__aclocal}
%{__libtoolize}
-%{__gettextize}
-%{__aclocal} -I macros
%{__autoconf}
+%{__autoheader}
%{__automake}
-CFLAGS="%{rpmcflags} `libglade-config --cflags`"
+
%configure
+
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- Developmentdir=%{_applnkdir}/Network/Misc \
- pixmapsdir="%{_pixmapsdir}"
+ pixmapsdir=%{_pixmapsdir} \
+ Developmentdir=%{_desktopdir}
+
+echo "Categories=Application;Network;" >> \
+ $RPM_BUILD_ROOT%{_desktopdir}/etherape.desktop
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README FAQ README.help README.bugs README.thanks
-%attr(755,root,root) %{_sbindir}/*
+%doc AUTHORS ChangeLog FAQ NEWS README* TODO
+%attr(755,root,root) %{_bindir}/etherape
%{_datadir}/etherape
-%{_datadir}/gnome/help/*
-%{_mandir}/man?/*
-%{_applnkdir}/Network/Misc/*
-%{_pixmapsdir}/*
+%{_mandir}/man1/etherape.1*
+%{_desktopdir}/etherape.desktop
+%{_pixmapsdir}/etherape.png