Hi.

I updated the ethereal package and verified that it works on Cooker, check 
attached patch and/or grab the packages here (built on klama):

http://www.deserve-it.com/Cooker/RPMS/ethereal-0.9.10-1mdk.i586.rpm
http://www.deserve-it.com/Cooker/SRPMS/ethereal-0.9.10-1mdk.src.rpm

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- ethereal.spec	2003-02-06 19:24:49.000000000 +0100
+++ ethereal.spec.oden	2003-03-08 21:49:26.000000000 +0100
@@ -1,7 +1,7 @@
-%define name ethereal
-%define version 0.9.9
-%define release 1mdk
-%define prefix %{_prefix}
+%define name	ethereal
+%define version	0.9.10
+%define release	1mdk
+%define prefix	%{_prefix}
 
 Summary:	Network traffic analyzer
 Name:		%{name}
@@ -14,9 +14,17 @@
 Source1: 	%{name}
 Source2:	%{name}-16.png.bz2
 Source3:	%{name}-32.png.bz2
+Requires:	libgtk+2.0_0
+Requires:	libnet-snmp50
+Requires:	libpcap0
+Requires:	libelf0
+BuildRequires:	glib-devel
+BuildRequires:	libgtk+2.0_0-devel
+BuildRequires:	libnet-snmp50-devel
+BuildRequires:	libpcap0-devel >= 0.4
+BuildRequires:	zlib-devel
+BuildRequires:	libelf0-devel
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
-BuildRequires:  libpcap >= 0.4, ucd-snmp-devel, zlib-devel, glib-devel
-Requires: 	gtk+ >= 1.2, libsnmp0
 
 %description
 Ethereal is a network traffic analyzer for Unix-ish operating systems.
@@ -28,9 +36,25 @@
 %setup -q
 %build
 
+export etherealconfdir=%{_sysconfdir}/ethereal
+export diameterdir=%{_sysconfdir}/ethereal/diameter
+
 %configure \
+    --sysconfdir=%{_sysconfdir}/ethereal \
+    --with-plugindir=%{_libdir}/%{name}/plugins/%{version} \
     --disable-usr-local \
-    --disable-static --enable-gtk2 --enable-dftest --enable-randpkt
+    --disable-static \
+    --enable-gtk2 \
+    --enable-dftest \
+    --enable-randpkt \
+    --with-gtk-prefix=%{_prefix} \
+    --with-gtk-exec-prefix=%{_prefix} \
+    --with-glib-prefix=%{_prefix} \
+    --with-glib-exec-prefix=%{_prefix} \
+    --with-pcap=%{_prefix} \
+    --with-zlib=%{_prefix} \
+    --with-ssl=%{_prefix} \
+    --with-net-snmp=%{_prefix}
 
 %make
 
@@ -39,7 +63,9 @@
 
 #make DESTDIR=$RPM_BUILD_ROOT install
 
-%makeinstall_std transform=""
+%makeinstall_std transform="" \
+    etherealconfdir="%{_sysconfdir}/ethereal" \
+    diameterdir="%{_sysconfdir}/ethereal/diameter"
 
 # menu
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/menu
@@ -63,14 +89,18 @@
 %defattr(-,root,root)
 %doc AUTHORS COPYING INSTALL NEWS README* doc/*
 %attr(755,root,root) %{_bindir}/*
-%config(noreplace) %attr(644,root,root) %{_sysconfdir}/manuf
-%config(noreplace) %attr(644,root,root) %{_sysconfdir}/diameter/*
+%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ethereal/manuf
+%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ethereal/diameter/*
 %attr(644,root,root) %{_mandir}/*/*
 %{_libdir}/*
 %{_iconsdir}/*.png
 %{_miconsdir}/*.png
 
 %changelog
+* Sat Mar 08 2003 Oden Eriksson <[EMAIL PROTECTED]> 0.9.10-1mdk
+- 0.9.10
+- misc spec file fixes
+
 * Thu Feb 06 2003 Lenny Cartier <[EMAIL PROTECTED]> 0.9.9-1mdk
 - 0.9.9
 

Reply via email to