-%doc AUTHORS README NEWS
-%config %{_sysconfdir}
-%attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/enlightenment
-%{_datadir}/enlightenment/[!s]*
-%attr(755,root,root) %{_datadir}/enlightenment/scripts
+%doc AUTHORS COPYING* README
+%attr(755,root,root) %{_bindir}/enlightenment
+# SETUID ! allows rebooting, hibernating and shuting system down
+%attr(4754,root,sys) %{_bindir}/enlightenment_sys
+%attr(755,root,root) %{_bindir}/enlightenment_imc
+%attr(755,root,root) %{_bindir}/enlightenment_remote
+%attr(755,root,root) %{_bindir}/enlightenment_start
+%attr(755,root,root) %{_bindir}/enlightenment_thumb
+%dir %{_libdir}/enlightenment
+%dir %{_libdir}/enlightenment/*
+%dir %{_libdir}/enlightenment/modules/*
+%dir %{_libdir}/enlightenment/modules/*/linux-gnu-*
+%attr(755,root,root) %{_libdir}/enlightenment/modules/*/linux-gnu-*/*.so
+%attr(755,root,root) %{_libdir}/enlightenment/preload/e_precache.so
+# violates FHS
+%{_libdir}/enlightenment/modules/*/module.desktop
+%{_libdir}/enlightenment/modules/*/module.edj
+%dir %{_sysconfdir}/enlightenment
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/enlightenment/sysactions.conf
+%{_datadir}/%{name}