spec file fix for RHEL6

RHEL6 requires perl-Module-Install to build Thruk.
spec file update

Thruk also uses rsync during build. Need to declare that as a BuildRequires
Merge pull request #31 from el8/patch-2

spec file update
Merge pull request #30 from el8/patch-1

spec file fix for RHEL6
Debian and Ubuntu are using 2 as default runlevel

Most other are using 3 but not Debian and Ubuntu. Ubuntu manage to work anyway since the installation was enforcing standard values instead. Debian honors the init script and does not start with the OS.

This commit should fix this issue
thruk has optional usercontent

which needs to be shiped

Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
run dh_installinit

In order to make naemon reboot safe. Shipping a rc file named naemon-core.naemon.init
seems to copy the file in the right place, but dh_installinit does not look in that
place. So explictily run dh_installinit by rules file.

Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
cleanup leftovers on pkg removal

clean up tmp files when pkg is going to be removed.

Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
update build options

--without-tests is no obsolete and is no longer enabled by default. Instead
we use --with-tests now if we want them.

Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
Merge branch 'master' into fedora21

Conflicts:
	naemon.spec