%install
%{__rm} -rf %{buildroot}
%{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status
-%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-status
+%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd
%clean
%{__rm} -rf %{buildroot}
%defattr(-, root, root, 0755)
%doc doc/*
%{_sbindir}/mpt-status
+%{_sysconfdir}/rc.d/init.d/mpt-statusd
%post
-/sbin/chkconfig --add mpt-status
+/sbin/chkconfig --add mpt-statusd
%preun
-/sbin/service mpt-status stop > /dev/null 2>&1
-/sbin/chkconfig --del mpt-status
+/sbin/service mpt-statusd stop > /dev/null 2>&1
+/sbin/chkconfig --del mpt-statusd
%changelog
* Sun Oct 16 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-3