File project.diff of Package wflogs

--- wflogs.spec.orig
+++ wflogs.spec
@@ -1,16 +1,32 @@
-Name:           wflogs
-# List of additional build dependencies
-#BuildRequires:  gcc-c++ libxml2-devel
-BuildRequires: libwfnetobjs0 , libwfnetobjs-devel , libtool , automake , gcc-c++
+# spec file for package
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+# Please submit bugfixes or comments via
+Name:           wflogs
 Version:        0.9.8
 Release:        1
 License:        GPL v2 or later
-Source:         wflogs-0.9.8.tar.gz
+Summary:        Wflogs is a firewall log analysis tool
 Group:          Productivity/Other
-Summary:        Wflogs is a firewall log analysis tool.
+Source:         %{name}-%{version}.tar.gz
+Patch0:         wflogs-includes.patch
+BuildRequires:  gcc-c++
+BuildRequires:  libwfnetobjs-devel
+BuildRequires:  bison
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -18,50 +34,36 @@ From
 Wflogs is a firewall log analysis tool. It can be used to produce a log summary report in plain text, HTML and XML, or to monitor firewalling logs in real-time.
-%setup -q -n wflogs-%version
+%setup -q
+%patch0 -p1
-# Assume that the package is built by plain 'make' if there's no ./configure.
-# This test is there only because the wizard doesn't know much about the
-# package, feel free to clean it up
-# if test -x ./configure; then
-#	%configure
-#       %configure --with-wfnetobjs-libdir=/usr/include/wallfire/
-# fi
-# added line
-# %configure --with-wfnetobjs-libdir=%buildroot/usr/include/wallfire
-# %configure --with-wfnetobjs-libdir=%{buildroot}/usr/include/wallfire
-# %configure --with-wfnetobjs-libdir=/usr/include/wallfire
-/bin/echo %{_libdir}
-%configure --with-wfnetobjs-libdir=%{_libdir}
+%configure \
+        --disable-static \
+        --with-wfnetobjs-libdir=%{_libdir}
-make DESTDIR=%buildroot install
 # Write a proper %%files section and remove these two commands and
 # the '-f filelist' option to %%files
 echo '%%defattr(-,root,root)' >filelist
-find %buildroot -type f -printf '/%%P*\n' >>filelist
+find %{buildroot} -type f -printf '/%%P*\n' >>filelist
-rm -rf %buildroot
+rm -rf %{buildroot}
 %files -f filelist
 # This is a place for a proper filelist:
-# /usr/bin/wflogs
+# %{_bindir}/wflogs
 # You can also use shell wildcards:
-# /usr/share/wflogs/*
+# %{_datadir}/wflogs/*
 # This installs documentation files from the top build directory
-# into /usr/share/doc/...
+# into %{_datadir}/doc/...
 # The advantage of using a real filelist instead of the '-f filelist' trick is
 # that rpmbuild will detect if the install section forgets to install
@@ -69,5 +71,3 @@ rm -rf %buildroot
-* Sun Aug 23 2009
-- packaged wflogs version 0.9.8 using the buildservice spec file wizard