Difference between revisions of "RPM package"

From WeBWorK_wiki
Jump to navigation Jump to search
 
Line 21: Line 21:
 
*[http://fedoraproject.org/wiki/A_Short_RPM_Tutorial A Short RPM Tutorial] - Fedora wiki
 
*[http://fedoraproject.org/wiki/A_Short_RPM_Tutorial A Short RPM Tutorial] - Fedora wiki
 
*[http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html Creating a Spec File] rpm.org
 
*[http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html Creating a Spec File] rpm.org
  +
  +
[[Category:Developers]]

Latest revision as of 12:07, 1 September 2011

Construction.png This article is under construction. Use the information herein with caution until this message is removed.

Steps to building an RPM

  1. run rpmdev-setuptree to create ~/rpmbuild and subdirectories
  2. place the source code in ~/rpmbuild/SOURCES
  3. cd ~/rpmbuild/SPECS
  4. create a skeleton spec file: rpmdev-newspec NAMEOFPACKAGE
  5. edit the spec file as appropriate
  6. build the package: rpmbuild -ba *.spec

After the build completes, there are some QA checks that can be performed, and cross-platform testing. Once the package has passed those hurdles, it can be submitted to Fedora for review and inclusion.

Resources

External Links