Debian Packaging

From Sirikata Wiki
Revision as of 21:08, 4 January 2012 by Jterrace (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Debian Packaging

Create a directory to be used for packaging. The rest of the commands assume you are in that directory.

 mkdir packaging
 cd packaging

Clone the repository and switch to the release tag:

 git clone git://github.com/sirikata/sirikata.git sirikata-0.0.18
 cd sirikata-0.0.18
 git checkout v0.0.18

Now edit the changelog file to add a new section:

 dch --newversion 0.0.18-0ubuntu1

Now go back up a directory and create the "orig" tar file that debian requires (note _ instead of -, it matters):

 tar -cvzf sirikata_0.0.18.orig.tar.gz sirikata-0.0.18