I need to create an RPM package from an ANT script that runs on a Windows computer. This package must contain the result classes from the build plus some other, additional
Freaking Package Management can do this. You should be able to run it both with JRuby and on MRI Ruby.
fpm -s dir -t rpm mydir -- or another incantation where you provide the rpm keywords. See fpm --help.
fpm -s dir -t rpm mydir
fpm --help