For Fedora
----------

First setup your build environment as pointed out in
http://fedoraproject.org/wiki/How_to_create_an_RPM_package

$ rpmdev-setuptree

Then

$ ./autogen.sh && ./configure --with-libconflate=bundled \
--with-bundled-libstrophe && make fc_rpm

this will produce source and binary rpms for your architecture.

For Debian/Ubuntu
-----------------

$ ./autogen.sh && ./configure --with-libconflate=bundled \
--with-bundled-libstrophe && make dist

Than unpack moxi .tar.gz source archive and inside source directory
run

$ dpkg-buildpackage
