[Genabel-commits] r1065 - pkg/ProbABEL/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jan 1 18:49:57 CET 2013
Author: lckarssen
Date: 2013-01-01 18:49:57 +0100 (Tue, 01 Jan 2013)
New Revision: 1065
Modified:
pkg/ProbABEL/doc/packaging.txt
Log:
ProbABEL: The change to configure.ac in SVN r.1063 where the AM_INIT_AUTOMAKE macro options were changed (i.e. the package name and version removed) has an unexpected result: running 'make dist' generates a tar.gz file with lowercase letters. This wasn't the case before (it used to generate a tar file like: ProbABEL-0.2.0.tar.gz). When creating .deb packages (which require the package name to be lower case) this removes one step from the packaging process.
This commit fixes the packaging documentation accordingly.
Modified: pkg/ProbABEL/doc/packaging.txt
===================================================================
--- pkg/ProbABEL/doc/packaging.txt 2012-12-31 16:44:06 UTC (rev 1064)
+++ pkg/ProbABEL/doc/packaging.txt 2013-01-01 17:49:57 UTC (rev 1065)
@@ -26,15 +26,14 @@
Now that we verified that the source code builds without problems,
let's create the package.
mkdir /tmp/PA-deb
- cp ProbABEL-0.2.0.tar.gz /tmp/PA-deb
+ cp probabel-0.3.0.tar.gz /tmp/PA-deb
cd /tmp/PA-deb
Debian packages must have lowercase letters, so we'll have to rename
the directory after untar-ing it.
- tar -xzf ProbABEL-0.2.0.tar.gz
- mv ProbABEL-0.2.0 probabel-0.2-0
- cd probabel-0.2.0
+ tar -xzf probabel-0.3.0.tar.gz
+ cd probabel-0.3.0
dh_make --single --email youremail at example.com \
- --file ../ProbABEL-0.2.0.tar.gz --copyright gpl2 \
+ --file ../probabel-0.3.0.tar.gz --copyright gpl2 \
--packagename probabel
Hit the enter key to confirm the settings. Several files need to be
@@ -45,13 +44,13 @@
- debian/README.Debian
dh_make also creates several example scripts in the debian/
directory. We don't need them, so they can be delete:
- rm debian/*.ex debian/*.EX
+ rm debian/*.ex debian/*.EX debian/README.source
Now the package can be built (NOTE that dpkg-buildpackage replaces
our default CXXFLAGS with "-g -O2"):
dpkg-buildpackage -rfakeroot -us -uc
This creates an unsigned ~.deb~ file in the parent directory. As a
final touch you can check you package for errors with
- lintian ../probabel_0.2.0-1_amd64.deb
+ lintian ../probabel_0.3.0-1_amd64.deb
Several warnings will show up (e.g. binaries without man-pages),
but we ignore these for now. If you are interested in a more
detailed explanation of the warnings, add the -i option to the
@@ -65,4 +64,4 @@
where YOURKEYID is the ID of the gpg key you use for signing your
package (this key should be known by launchpad).
To upload the package created above to the GenABEL PPA simply type:
- dput ppa:l.c.karssen/genabel-ppa ../probabel_0.2.0-1_source.changes
+ dput ppa:l.c.karssen/genabel-ppa ../probabel_0.3.0-1_source.changes
More information about the Genabel-commits
mailing list