%install
%{__rm} -rf %{buildroot}
-mkdir -p %{buildroot}%{_mandir}/man8
%{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status
%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd
%{__install} -D -m0644 man/mpt-status.8 %{buildroot}%{_mandir}/man8/mpt-status.8
%files
%defattr(-, root, root, 0755)
-%doc doc/*
+%doc doc/{AUTHORS,Changelog,COPYING,DeveloperNotes,FAQ,README,ReleaseNotes,TODO}
%{_sbindir}/mpt-status
%{_sysconfdir}/rc.d/init.d/mpt-statusd
+%{_mandir}/man8/mpt-status.*
%post
/sbin/chkconfig --add mpt-statusd
/sbin/chkconfig --del mpt-statusd
%changelog
-* Wed Aug 04 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-4
+* Tue Aug 05 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-5
+- Do not install the INSTALL file from doc - copied the approach
+ form the openSuSE spec file.
+* Mon Aug 04 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-4
- Changed chkconfig and LSB header to not activate the init script
by default.
- Removed depedency on daemonize, if you would like to use