--- /dev/null
+Summary: Daemon turns other process into daemons.
+Name: daemon
+Version: 0.6
+Release: 1
+License: GPL
+Group: Daemons
+Source0: http://libslack.org/daemon/download/%{name}-%{version}.tar.gz
+URL: http://libslack.org/daemon/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Daemon turns other process into daemons. There are many tasks that need to be
+performed to correctly set up a daemon process. This can be tedious. Daemon
+performs these tasks for other processes.
+
+%prep
+%setup -q
+
+%build
+conf/linux
+make CC="%{__cc}" CCFLAGS="%{rpmcflags}" APP_INSDIR="%{_sbindir}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ APP_INSDIR=$RPM_BUILD_ROOT%{_sbindir} \
+ APP_MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
+ FMT_MANDIR=tmp
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man1/*