User:DanielDrake/Notes: Difference between revisions
Jump to navigation
Jump to search
DanielDrake (talk | contribs) No edit summary |
DanielDrake (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
* run rpmdev-setuptree to create ~/rpmbuild hierarchy and .rpmmacros settings |
* run rpmdev-setuptree to create ~/rpmbuild hierarchy and .rpmmacros settings |
||
== obtaining source |
== obtaining/unpacking source and preparing build env == |
||
* |
* Find the source RPM either [http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/source/SRPMS/ in the fedora archives] or run <tt>yumdownloader --source <package></tt> |
||
* |
* install build-dependencies: <tt>sudo yum-builddep foo.src.rpm</tt> |
||
⚫ | |||
== unpacking source RPM == |
|||
⚫ | |||
= links = |
= links = |
||
Line 15: | Line 13: | ||
** includes some of the above |
** includes some of the above |
||
* how to use rpm: http://www.rpm.org/max-rpm/ |
* how to use rpm: http://www.rpm.org/max-rpm/ |
||
* |
* [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html fedora packager's handbook] |
||
* [http://fedoraproject.org/wiki/Docs/Drafts/BuildingPackagesGuide building packages guide] |
|||
= misc = |
= misc = |
Revision as of 13:12, 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
- install custom kernel: http://fedoraproject.org/wiki/Docs/CustomKernel
- includes some of the above
- how to use rpm: http://www.rpm.org/max-rpm/
- fedora packager's handbook
- building packages guide
misc
- query installed sofware version: rpm -q <package>
additional notes for XO devel
- other packages needed: git