Summary(pt_BR): Visualizador gráfico de redes modelado como o etherman
Name: etherape
Version: 0.9.0
-Release: 1
+Release: 4
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
+Patch2: %{name}-resolv.patch
URL: http://etherape.sourceforge.net/
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: gtk+2-devel
-BuildRequires: libgnomeui-devel
+BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libpcap-devel
-BuildRequires: libtool
-Requires: gtk+2
-Requires: libgnomeui
+BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%description -l pl
Etherape to graficzny monitor sieci dla uniksów. Ma tryby ether, ip
oraz tcp, wy¶wietla aktywno¶æ sieci graficznie. Hosty i po³±czenia
-zmienij± rozmiar wraz z ruchem. Protokó³y obrazowane za pomoc±
+zmieniaj± rozmiar wraz z ruchem. Protokó³y obrazowane za pomoc±
kolorów. Obs³uga urz±dzeñ ethernet, ppp i slip. Mo¿e filtrowaæ ruch
jaki pokazuje, czytaæ z pliku lub bezpo¶rednio z sieci.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
-rm -f missing
-#%%{__libtoolize}
-#%%{__gettextize}
-#%%{__aclocal} -I m4
-#%%{__autoconf}
-#%%{__automake}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
+
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
+ pixmapsdir=%{_pixmapsdir} \
Developmentdir=%{_desktopdir}
-# pixmapsdir="%{_pixmapsdir}"
-
-echo "Categories=Application;Network;" >> \
- $RPM_BUILD_ROOT%{_desktopdir}/etherape.desktop
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc A* Ch* F* N* R* R* T*
+%doc AUTHORS ChangeLog FAQ NEWS README* TODO
%attr(755,root,root) %{_bindir}/etherape
%{_datadir}/etherape
-%{_mandir}/man1/etherape.1.gz
+%{_mandir}/man1/etherape.1*
%{_desktopdir}/etherape.desktop
%{_pixmapsdir}/etherape.png