--- /dev/null
+# TODO:
+# - finish install
+# - init.d script
+Summary: A system monitoring, security and performance analysis agent
+Name: eddie
+Version: 0.35
+Release: 0.1
+License: GPL v2
+Group: Daemons
+Source0: http://eddie-tool.net/download/pub/%{name}-%{version}.tgz
+# Source0-md5: c0f318b0b2fcbe2ed5966e04bebe3ef2
+URL: http://eddie-tool.net/
+BuildRequires: python >= 1:2.4
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The EDDIE Tool can perform all basic system monitoring checks, such
+as: filesystem; processes; system load; and network configuration. It
+can also perform such network monitoring tasks as: ping checks; HTTP
+checks; POP3 tests; SNMP queries; RADIUS authentication tests; and
+customized TCP port checks. Finally, a few checks lend themselves to
+security monitoring: watching files for changes; and scanning
+logfiles.
+
+The EDDIE Tool can also send any collected statistic to RRD files to
+be displayed graphically by any standard RRD tool. No need to run
+multiple monitoring and data collection agents.
+
+Monitoring rules are just like Python expressions and can be as simple
+or as complex as needed. Advanced alert control functionality such as
+exponential back-off and dependencies are also standard.
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{py_sitescriptdir}/%{name},%{_sysconfdir}/%{name}}
+
+install bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -a lib/Linux lib/common $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
+cp -a config.sample/* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*.txt
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/%{name}
+%dir %{_sysconfdir}/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.cf
+%dir %{_sysconfdir}/%{name}/rules
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/rules/*.rules