Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building rpm

Is there an easy procedure to build an RPM.If so Please explain or provide the link.........

My requirement is very simple ..

I have two other RPMs which should be combined into one single RPM....

Please explain the process....

Thanks in advance..........

like image 859
Hulk Avatar asked Dec 18 '25 23:12

Hulk


1 Answers

Building an RPM itself is rather easy, you just need to run

rpmbuild -ba <mypackage.spec>

The more complex task is creating the .spec file, which controls how the rpm itself is built. A good explanation is the book Maximum RPM, which is available on the rpm homepage. Creating a .spec file is handled here. From my own experience building a .spec file is something that's not easy -- but not too complicated either unless you want to make special things. The standard ./configure && make && make install is usually not too complicated.

like image 195
bluebrother Avatar answered Dec 20 '25 16:12

bluebrother



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!