This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
developingpld:preparingworkingenvironment [2006-08-24 15:39] glen |
developingpld:preparingworkingenvironment [2009-05-14 10:59] grizz SPECS -> packages |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | ==== Preparing your working environment ==== | ||
- | The first thing you should do is make sure you have the ''cvs'' package installed. Second, if you have a directory or file named ''rpm'' in your home directory, either delete it or move it somewhere else. You don't want it to get in your way in the next step. Now, invoke the following set of commands: | ||
- | |||
- | |||
- | |||
- | <file>$ cd | ||
- | </file> | ||
- | To make sure your current working directory is your home directory. | ||
- | |||
- | |||
- | |||
- | <file>$ mkdir -p rpm/{RPMS,BUILD,SRPMS} | ||
- | </file> | ||
- | To create necessary directories. | ||
- | |||
- | |||
- | |||
- | <file>$ CVSROOT=:pserver:cvs@cvs.pld-linux.org:/cvsroot \ | ||
- | cvs co SOURCES/.cvsignore SPECS | ||
- | </file> | ||
- | NB! Alternative initialization | ||
- | |||
- | <file>$ poldek -u rpm-build-tools | ||
- | $ builder --init-rpm-dir | ||
- | </file> | ||
- | Read more aboout [[:DevelopingPLD:BuilderScript| builder]] script. | ||
- | |||
- | To fetch all the files from the [[:Repositories| repository]]. If you already have an account there, replace ''cvs@cvs.pld-linux.org'' with your account name. | ||
- | |||
- | Now you are ready to start your work. | ||
- | |||