Packaging

First, we must create a .spec file to describe the package. The rpmdev-newspec command can provide one from the templates option to get you started. Update the contents according to your application information. This file will contain all the metadata about your software (including its source location, the license, and authors). The spec file also provides the build information required to assemble the package, as well as instructions for installation scripts, and more.

Once the metadata is complete, the package can be built using the rpmbuild command. It is normal that this will not succeed on the first attempt. Read the output and update the .spec file accordingly, then re-run the build command. The finished output will be your completed .rpm file ready for testing. At this time, you can test the file by installing it manually (on a compatible Linux computer) and verifying that the software works as expected.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.235.79