LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Need to create rpm package (https://www.linuxquestions.org/questions/linux-desktop-74/need-to-create-rpm-package-746663/)

Mr.J 08-11-2009 04:07 AM

Need to create rpm package
 
Hello,

I need to create rpm package for my application. Can somebody help me or provide me some pointer where I can find "how to build rmp package for my application"

Thanks in advance

--James.

unSpawn 08-11-2009 04:47 AM

Quote:

Originally Posted by Mr.J (Post 3638925)
I need to create rpm package for my application. Can somebody help me

Sure.
What's the application?
What's the release major and minor version?
How would one in general prep / compile / install it if not with "./configure; make; (make test;) make install"? (show actual commands)
What files end up where?

Mr.J 08-12-2009 01:15 AM

Thanks...for your response.
It is an application developed by me. As of now it does not have minor/major number. I just want to keep simple version number like 1.0, 1.1 ....etc . It contains couple of binary executable to be put in /usr/local/bin, some shared libraries to be put in /usr/local/lib and some perl scripts to be executed as part of installation. The procedure to build the application is manual and I don't want to integrate it with rpm. I want rpm only to install my application.

I also got one link http://tldp.org/HOWTO/RPM-HOWTO/index.html I'm just going through.

Your help is also most welcome.

Thanks
James.

unSpawn 08-12-2009 05:30 AM

Quote:

Originally Posted by Mr.J (Post 3640078)
It is an application developed by me. As of now it does not have minor/major number. I just want to keep simple version number like 1.0, 1.1 ....etc . It contains couple of binary executable to be put in /usr/local/bin, some shared libraries to be put in /usr/local/lib and some perl scripts to be executed as part of installation.

Unfortunately a "something here, something there" answer is not helping me help you. Knowing which items to install where and what commands to run makes it easier to post back an example of how to build a package that conforms to minimum specs.


Quote:

Originally Posted by Mr.J (Post 3640078)
The procedure to build the application is manual and I don't want to integrate it with rpm. I want rpm only to install my application.

Saying that shows you don't really understand RPM (yet) but that can be fixed. As long as you package this for yourself only, meaning the package will not be available outside of your machine or LAN for D/L and use by others, you can forego on the build process. However if you intend to distribute the package or make it available for download then you must not do that. Just like you would not distribute a tarball without installer. Integrity issues are not specific to RPM but are valid for any package management.


Quote:

Originally Posted by Mr.J (Post 3640078)
I also got one link I'm just going through.

You want the docs for RPM packagers from http://www.rpm.org/wiki/Docs#PackagerDocumentation and check http://rpm5.org/docs.php instead.


All times are GMT -5. The time now is 08:29 PM.