GMSGFMT = @GMSGFMT@
MSGFMT = @MSGFMT@
+--- etherape-0.9.7/Makefile.am.orig 2006-10-31 17:48:36.000000000 +0100
++++ etherape-0.9.7/Makefile.am 2006-10-31 17:48:47.000000000 +0100
+@@ -32,8 +32,7 @@
+ cd ../www && make
+
+ confdir = $(sysconfdir)/etherape
+-conf_DATA = \
+- services
++conf_DATA =
+
+ Developmentdir = $(datadir)/applications
+ Development_DATA = \
--- etherape-0.9.0/etherape.desktop~ Wed Jul 14 10:10:53 2004
+++ etherape-0.9.0/etherape.desktop Wed Jul 14 10:11:53 2004
-@@ -2,8 +2,12 @@
+@@ -2,8 +2,11 @@
Name=EtherApe
Name[es]=EtherApe
Comment=Graphical Network Monitor
--Comment[es]=Monitor Gráfico de Red
-+Comment[es]=Monitor Gráfico de Red
+Comment[pl]=Graficzny monitor sieci
Exec=etherape
--Terminal=0
-+Terminal=false
+ Terminal=false
Type=Application
Icon=etherape.png
-+Categories=GTK;GNOME;Network;
+ Categories=GNOME;System;Network;
+Encoding=UTF-8
+# vi: encoding=utf-8
Summary(pl): Graficzny monitor sieci
Summary(pt_BR): Visualizador gráfico de redes modelado como o etherman
Name: etherape
-Version: 0.9.4
+Version: 0.9.7
Release: 4
License: GPL
Group: Applications/Networking
Source0: http://dl.sourceforge.net/etherape/%{name}-%{version}.tar.gz
-# Source0-md5: 22f25464deca3f4a09f0247513ec5d2a
+# Source0-md5: 7b5783090d92abe79634da4b582c6b48
Patch1: %{name}-desktop.patch
Patch2: %{name}-resolv.patch
Patch3: %{name}-Makefile.patch
BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libpcap-devel
BuildRequires: pkgconfig
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): scrollkeeper
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%postun
+%scrollkeeper_update_postun
+%update_desktop_database_postun
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog FAQ NEWS README* TODO
%{_mandir}/man1/etherape.1*
%{_desktopdir}/etherape.desktop
%{_pixmapsdir}/etherape.png
+%{_omf_dest_dir}/%{name}