creating RPM from Mojolicious application

86 views
Skip to first unread message

Armishev, Sergey

unread,
Jun 13, 2012, 5:31:29 PM6/13/12
to mojol...@googlegroups.com

Could somebody share his/her experience what is the best way/software to create RPM installer from my Mojolicious application? I would also expect that all Perl modules needed be automatically detected and downloaded from CPAN when RPM is prepared

 

Thanks,

-Sergey

Solli Honorio

unread,
Jun 14, 2012, 1:03:15 PM6/14/12
to mojol...@googlegroups.com
 I've no experience, but what about create a self content package with perlbrew ?

Solli Honorio

2012/6/13 Armishev, Sergey <sarm...@idirect.net>

Could somebody share his/her experience what is the best way/software to create RPM installer from my Mojolicious application? I would also expect that all Perl modules needed be automatically detected and downloaded from CPAN when RPM is prepared

 

Thanks,

-Sergey

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.



--
"o animal satisfeito dorme". - Guimarães Rosa

Roland Lammel

unread,
Jun 14, 2012, 2:40:46 PM6/14/12
to mojol...@googlegroups.com
To create an RPM package you just need to make sure that all dependencies are met, meaning all files and resources included in your package or packages depending on it.

As Mojo (at least the pre 2.0 versions) just needs perl 5.8 or later even building for CentOS should be fairly simple.

The best approach would be to use local::lib or carton to get all required dependcies that are not available from a RPM repository into your apps directory and to be packaged with it.

Just take a look at the .spec file for building RPMs for one of the existing Perl modules.

Cheers and good luck

+rl
Reply all
Reply to author
Forward
0 new messages