سؤال

I want to create an RPM package for a java application. I have never done rpm packages and i still do not quite understand how to do it manually. Is there a software that can do this (or at least most of it) automatically ?. Currently if user wants to use application he/she has to download a tar.gz file, un-tar it and then run .sh file that takes care of the installation.

My dev workmachine is Windows ( don't bully me for that ! ) if that helps at all.

I have found THIS Software but i am not sure if its applicable to what i want to do. Please note that current project set up - is NON Maven

Any help appreciated

هل كانت مفيدة؟

المحلول

I use insall4j for this job. There is a ant task for creating installer (and launcher)

نصائح أخرى

Some days ago, I found several softwares doing that on Sourceforge.net but one of them was just a graphical interface above RPM build tools, I needed to understand what to put into a spec file and in .rpmmacros... The other one seems too simple to do what I want. Currently, I'm trying to use Redline RPM pure Java library, you can use it with or without Ant if you want. I'm still trying to make it work as you can see here.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top