--- firestarter.spec.orig	2004-07-23 20:36:32.000000000 +0200
+++ firestarter.spec	2004-08-26 17:40:59.562705032 +0200
@@ -2,8 +2,8 @@
 Summary:	A GNOME firewall tool
 Summary(pl):	Narzędzie do konfiguracji firewalla działające w środowisku GNOME
 Name:		firestarter
-Version:	0.9.2
-Release:	4
+Version:	0.9.3
+Release:	1	
 License:	GPL
 Group:		X11/Applications/Networking
 Source0:	http://dl.sourceforge.net/firestarter/%{name}-%{version}.tar.gz
@@ -11,6 +11,7 @@
 Patch0:		%{name}-acfix.patch
 Patch1:		%{name}-desktop.patch
 Patch2:		%{name}-locale_names.patch
+Patch3:		%{name}-kdesu.patch
 URL:		http://firestarter.sourceforge.net/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -19,6 +20,7 @@
 BuildRequires:	libgnome-devel >= 2.0.0
 BuildRequires:	libgnomeui-devel >= 2.0.0
 BuildRequires:	libtool
+BuildRequires:	sed
 Requires:	iptables
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,9 +39,10 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%patch0 -p0
 %patch1 -p1
 %patch2 -p1
+%patch3 -p0
 
 mv -f po/{no,nb}.po
 
@@ -49,7 +52,7 @@
 %{__autoconf}
 %{__automake}
 %configure
-
+sed -e s/xml::/xml::\$PREFIX/ Makefile > Makefile.new ; mv Makefile.new Makefile
 %{__make}
 
 %install
@@ -70,6 +73,8 @@
 %attr(755,root,root) %{_bindir}/firestarter
 %{_desktopdir}/firestarter.desktop
 %{_pixmapsdir}/*
+%config(noreplace) %{_sysconfdir}/firestarter/*
+%{_sysconfdir}/gconf/schemas/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
