Skip to content
Snippets Groups Projects
Commit 847b0234 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Change for debian

parent 986794ad
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ from origin/upstream and origin/pristine. ...@@ -125,7 +125,7 @@ from origin/upstream and origin/pristine.
* Staying into git root directory, run * Staying into git root directory, run
> git-import-orig -vv ../tcpdf_x.y.z+dfsg.orig.tar.xz > git-import-orig -vv ../tcpdf_x.y.z+dfsg.orig.tar.xz
Note: If there was errors managed manually, you may need to make a git commit Note: If there was errors solved manually, you may need to make a git commit
* Add an entry into debian/changelog * Add an entry into debian/changelog
> dh "My comment" will add entry. > dh "My comment" will add entry.
...@@ -170,3 +170,21 @@ from git clone dir and make link to git. ...@@ -170,3 +170,21 @@ from git clone dir and make link to git.
* If local branch upstream and pristine-tar does not exists, create it * If local branch upstream and pristine-tar does not exists, create it
from origin/upstream and origin/pristine. from origin/upstream and origin/pristine.
* If new upstream is available onto sourceforge, launch:
> debian/get-orig-source.sh
otherwise, just unzip the official .tgz into workspace dir.
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
* Add an entry into debian/changelog
> dh "My comment" will add entry.
For example: dch -v x.y.z-1 "New upstream release." for a new version
Warning: Date must have format reported by "date -R"
Warning: Entry added here is used by next step. Name and email must match value into debian/control file.
* We try to build package
> git-buildpackage -us -uc
...@@ -12,8 +12,8 @@ uscan --noconf --force-download --no-symlink --verbose --destdir=$tmpdir $uscan_ ...@@ -12,8 +12,8 @@ uscan --noconf --force-download --no-symlink --verbose --destdir=$tmpdir $uscan_
cd $tmpdir cd $tmpdir
tgzfile=$(echo *.tar.gz) tgzfile=$(echo *.tgz)
version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr_//; s/\.zip$//; s/_/./g; s/\+nmu1//; s/$/+dfsg/;') version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr_//; s/\.zip$//; s/_/./g; s/\+nmu1//; ')
# Extract the zip file # Extract the zip file
tar -xvf $tgzfile tar -xvf $tgzfile
......
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
version=3 version=3
#http://sf.net/dolibarr/dolibarr-(.+)\.tgz #http://sf.net/dolibarr/dolibarr-(.+)\.tgz
http://www.dolibarr.org/files/stable/package_debian-ubuntu/dolibarr_(.+)\.tar\.gz http://www.dolibarr.org/files/stable/standard/dolibarr_(.+)\.tgz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment