From 814670bbfc61e26491403adda5cc9b34b2e458e0 Mon Sep 17 00:00:00 2001 From: maciek2w Date: Tue, 31 Oct 2006 17:23:23 +0000 Subject: [PATCH] - updated to 0.9.7 Changed files: etherape-Makefile.patch -> 1.2 etherape-desktop.patch -> 1.4 etherape.spec -> 1.62 --- etherape-Makefile.patch | 12 ++++++++++++ etherape-desktop.patch | 9 +++------ etherape.spec | 15 +++++++++++++-- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/etherape-Makefile.patch b/etherape-Makefile.patch index 4132488..d4157f8 100644 --- a/etherape-Makefile.patch +++ b/etherape-Makefile.patch @@ -9,3 +9,15 @@ 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 = \ diff --git a/etherape-desktop.patch b/etherape-desktop.patch index f653e62..7d81f58 100644 --- a/etherape-desktop.patch +++ b/etherape-desktop.patch @@ -1,17 +1,14 @@ --- 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 diff --git a/etherape.spec b/etherape.spec index a305eeb..7c3910e 100644 --- a/etherape.spec +++ b/etherape.spec @@ -2,12 +2,12 @@ Summary: Graphical network viewer modeled after etherman 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 @@ -20,6 +20,8 @@ BuildRequires: libglade2 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 @@ -72,6 +74,14 @@ rm -rf $RPM_BUILD_ROOT %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 @@ -80,3 +90,4 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/etherape.1* %{_desktopdir}/etherape.desktop %{_pixmapsdir}/etherape.png +%{_omf_dest_dir}/%{name} -- 2.43.0