You can now build an RPM by doing:
make
make dist
rpmbuild -ta mclu-VERSION.tar.gz
/config.status
/local*
/install-sh
+/mclu-*.tar.gz
/mclu
/mclu.spec
/missing
ACLOCAL_AMFLAGS = -I m4
+# Why doesn't automake include _SCRIPTS and _DATA ...?
+EXTRA_DIST = mclu.spec $(pkgdata_SCRIPTS) $(conf_DATA)
+
# This rule just ensures that the wrapper binary and Python files get
# installed when we do 'make install'.
Release: 1%{?dist}
Summary: Mini cluster, a virtualization cluster manager
+BuildArch: noarch
+
License: GPLv2+
URL: http://git.annexia.org/?p=mclu.git;a=summary
Source0: @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
%dir %{_sysconfdir}/mclu/xmls/
%config(noreplace) %{_sysconfdir}/mclu/mclu.conf
%{_bindir}/mclu
-%{_pkgdatadir}/
+%{_datadir}/%{name}/
%changelog