In Linux, quickly compress RPM packages for existing projects (you only need to edit the XML file)

Source: Internet
Author: User
During the migration process, companies often encounter the following scenario: they need to package existing binary third-party libraries and header files into RPM packages for temporary testing or third-party library management. However, modifying the spec file and writing makefile is a depressing task. It is always done repeatedly, which is a disaster for new users of RPM.
Therefore, Xiaoqiang created an open-source project rpmbuilder to accomplish this relatively depressing thing. The reason is very simple. Every child shoes only need to download, compile, and install rpmbuilder, and there are only two steps left,
Step 1: run the rpmbuilder command to directly generate a configuration file of rpmbuilder. xml
Part 2: configure the basic information of the files and packages to be packaged as needed. Then run the command rpmbuilder again to check whether the image is flushed until the package is completed.

It has the following advantages: a configuration file and a simple command can be used to output an RPM package (you can create a package and there are n sub-packages, such as the mytest package and mytest-devel package).

Currently, XML does not support full-set spec file configuration, but can only be used in 90% scenarios. However, the tests are reliable. More professional packaging and more information may require users to abandon rpmbuilder and customize spec configuration.

I will not talk about it much. I would like to share my comments and thoughts on this open-source tool. Thank you for your support !! If it is useful to you, please leave a valuable footprint. Thank you ~~


Open-source project: http://sourceforge.net/projects/xml 2rpm

Latest: http://sourceforge.net/projects/xml2rpm/files/rpmbuilder-1.1.0/RPMBuilder-1.1.2-20120615T0621.tar.gz/download
Download Page: http://sourceforge.net/projects/xml2rpm/files/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.