Create Menu Entries for Custom Applications, Linux
Hi I have created an rpm file. My application is completely java application. When I install my rpm I need to double click on Install.sh (its a shell script file that launches the Java application), my program starts. Now I want when I install my rpm file the icon will be displayed on the desktop. and by clicking on that icon, my application should start.
I have to set something in my .spec file
What should I do to achieve this.
I am using Fedora10
Thanks Sunil Kumar Sahoo
+2
source to share
2 answers
You can take rpm, which is known to do this, extract it and read its spec file This will provide the required hints governing the described behavior
distorting
1. Unpacking rpm
rpm2cpio httpd-2.0.52-32.ent.i386.rpm | cpio -idmv --no-absolute-filenames
2. Viewing installation scripts
rpm -qp --scripts --triggers httpd-2.0.52-32.ent.i386.rpm
0
source to share