43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
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:
|
|
# apt-get install bzr-builder bzr pbuilder
|
|
|
|
To submit a package on LaunchPad:
|
|
- Create account on launchpad.org
|
|
- Create Project
|
|
- Link project to official SCM server
|
|
- Upload SSH public key onto account
|
|
- Run from command line: bzr launchpad-login yourlogin
|
|
|
|
- Create a debian directory and upload it onto bzr branch ~yourlogin/dolibarr/debian
|
|
|
|
- Create an empty directory dolibarr and go into it.
|
|
- Create a file dolibarr.recipe with content
|
|
# bzr-builder format 0.3 deb-version {debupstream}+{revno}+{revno:packaging}
|
|
lp:dolibarr
|
|
merge packaging lp:~eldy/dolibarr/debian
|
|
- Run command
|
|
bzr dailydeb dolibarr.recipe working-dir
|
|
This will create a directory "working-dir" with dolibarr sources and will add sources from ~eldy/dolibarr/debian
|
|
|
|
- Create a file /.pbuilderrc with content
|
|
$BUILDROOT/$PROJECT-$MAJOR.$MINOR.$build
|
|
|
|
- Create chroot ubuntu env
|
|
sudo pbuilder create
|
|
- Test package sources
|
|
sudo pbuilder build <working-dir>/<project>_<version>.dsc
|
|
|
|
|
|
|
|
|