Rex::Apache::Build::rpm - Build rpm packages
With this module you can build RedHat packages to distribute your application.
build "my-software", type => "rpm", version => "1.0", source => "/path/to/your/software", path => "/path/to/deploy/target", # below this, it is all optional description => "some description of your package", url => "website of the package", depends => [qw/httpd perl/], release => 1, epoch => 1, vendor => "some vendor", license => "your license for ex. GPL2", section => "some/section", conflicts => [qw/somepkg/], provides => "some-package-name", arch => "x86_64", target => "linux / the platform", post_install => "filename or script to run after installation", pre_install => "filename or script to run before installation", post_uninstall => "filename or script to run after uninstall", pre_uninstall => "filename or script to run before uninstall", exclude => [qw/file1 file2/], maintainer => "your name", config_files => [qw/special files for configuration mostly for etc directory/];
To install Rex::Apache::Deploy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rex::Apache::Deploy
CPAN shell
perl -MCPAN -e shell install Rex::Apache::Deploy
For more information on module installation, please visit the detailed CPAN module installation guide.