README (English) ################################################## Launchpad Package tools ################################################## This directory contains files to explain how to publish a package onto LaunchPad # This is standard command to work on RPM packaging: # # To install all packagers tools: # sudo apt-get install bzr-builder bzr dpatch pbuilder debootstrap devscripts # Init local working env - Create account on launchpad.org - Create Project - Link project to official SCM server - Upload SSH public key onto account - Upload you GPG sign key - Run from command line: bzr launchpad-login yourlogin bzr whoami "Your Name " - Create a file /.pbuilderrc with content COMPONENTS="main universe multiverse restricted" - Create chroot ubuntu env sudo pbuilder create [--distribution sid|squeeze] - Edit file ~/.bashrc ti add DEBFULLNAME="" DEBEMAIL="" # Init package tools for launchpad - Create a Bazaar directory mkdir bzr - Create debian directory and upload it onto bzr branch ~yourlogin/dolibarr/debian cd bzr mkdir debian cd debian bzr init cp -pr dolibarr_root/debian bzr/debian bzr add debian bzr commit -m "Init" bzr push lp:~eldy/dolibarr/debian or download it from launchpad bazaar: cd bzr bzr branch lp:~eldy/dolibarr/debian - To update this debian directory, edit files into the bzr dir and run bzr commit -m "Description of change" bzr push lp:~eldy/dolibarr/debian - Create a file dolibarr.recipe with content cd bzr vi dolibarr.recipe # bzr-builder format 0.3 deb-version {debupstream}+{revno}+{revno:packaging} lp:dolibarr merge packaging lp:~eldy/dolibarr/debian - Run command cd bzr bzr dailydeb dolibarr.recipe working-dir This will create a directory "working-dir" with dolibarr sources and will add sources from ~eldy/dolibarr/debian - Test package sources sudo pbuilder build /_.dsc # To get/download package: Add signing key of the Launchpad repository: > gpg --keyserver keyserver.ubuntu.com --recv-key A38BF8FD > sudo apt-key add ~/.gnupg/pubring.gpg Add Dolibarr Launchpad repository to your system setup by adding the two lines to /etc/apt/sources.list For the development snapshot version: deb http://ppa.launchpad.net/eldy/dolibarr-dev/ubuntu precise main deb-src http://ppa.launchpad.net/eldy/dolibarr-dev/ubuntu precise main For the stable version: deb http://ppa.launchpad.net/eldy/dolibarr-stable/ubuntu precise main deb-src http://ppa.launchpad.net/eldy/dolibarr-stable/ubuntu precise main Update your package cache: > apt-get update Install Dolibarr: > apt-get install dolibarr