User:DanielDrake/Notes: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
* [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html fedora packager's handbook]
* [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html fedora packager's handbook]
* [http://fedoraproject.org/wiki/Docs/Drafts/BuildingPackagesGuide building packages guide]
* [http://fedoraproject.org/wiki/Docs/Drafts/BuildingPackagesGuide building packages guide]
* [https://fedoraproject.org/wiki/UsingCvs fedora package cvs]


= misc =
= misc =

Revision as of 13:23, 13 June 2008

RPM dev

initial setup

  • install packages: fedora-rpmdevtools yum-utils
  • run rpmdev-setuptree to create ~/rpmbuild hierarchy and .rpmmacros settings

obtaining/unpacking source and preparing build env

  • Find the source RPM either in the fedora archives or run yumdownloader --source <package>
  • install build-dependencies: sudo yum-builddep foo.src.rpm
  • unpack the sources: rpm -Uvh foo.src.rpm

links

misc

  • query installed sofware version: rpm -q <package>

additional notes for XO devel

  • other packages needed: git