-rm -f lib/*.man
-mv -f lib/license LICENSE
-install lib/*.* $RPM_BUILD_ROOT%{_libdir}/elvis
-install lib/themes/* $RPM_BUILD_ROOT%{_libdir}/elvis/themes
+for f in doc/{elv*,ref}.man ; do
+ install $f $RPM_BUILD_ROOT%{_mandir}/man1/`basename $f .man`.1
+done
+
+cp -rf data/* $RPM_BUILD_ROOT%{_datadir}/elvis
+
+%{__mv} doc/license.html LICENSE.html