English 中文(简体)
How to write .spec file to check JRE version in Fedora 10
原标题:
  • 时间:2009-11-23 09:35:36
  •  标签:
  • fedora
  • rpm

I am using fedora 10 linux. I have created an RPM for my software it works fine. But I want the follwing feature "If I install RPM it will check whether JRE 1.5 or greater is availble in that system if available then install the RPM otherwise I want to show the URL to download the JRE.

Is there anything that I have to write in my .spec file

How can I achieve this type of functionality.

Thanks Sunil Kumar Sahoo

最佳回答

I insert the following line to check for jre 1.5 or greater in your spec file Requires:jre >= 1.5

问题回答

暂无回答




相关问题
OpenCV cvNamedWindow not appearing under Fedora

As the title suggests I m simply trying to get a named window to come up. I ve been working with OpenCV for over a year now, and never had this problem before. For some reason, the window never opens. ...

Is Network Up? C++ Fedora/Unix

Does any one have a snippet of their code that, checks if the network is enabled on a machine and has an active IP Address. I have a networking software that connects to other client machines, ...

How to put license agreement in spec file, RPM

I am using Fedora 10 linux. I want to put license agreement for my spec file. Actually I have created rpm for my application. So my application gets installed perfectly without asking for license ...

How to write .spec file to check JRE version in Fedora 10

I am using fedora 10 linux. I have created an RPM for my software it works fine. But I want the follwing feature "If I install RPM it will check whether JRE 1.5 or greater is availble in that system ...

How to create Customized group in RPM, Fedora

Hi I am using Fedora 10 linux. I have created an rpm for my application. I can run my going to manubar and then application under Applications----> Others--> MyApplication. But I want my ...

How to convert .rpm file into .deb file in Fedora 10

Hi I am using 64 bit fedora10 linux. I have created rpm file for my software. It works fine. But my software doesnot works good or ubuntu and debian linux because they want .deb file. So How to ...

热门标签