From b3c4a69fcfc9bb1fdfa1b529fb93c2d3e8cd415a Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Fri, 12 Feb 2016 10:13:49 +0100 Subject: [PATCH] sanitize debian packaging --- .gitignore | 11 ++++++++--- build-debian-package.sh | 7 +++++-- debian/changelog | 17 ++--------------- debian/source/format | 2 +- debian/watch | 4 ++++ 5 files changed, 20 insertions(+), 21 deletions(-) create mode 100644 debian/watch diff --git a/.gitignore b/.gitignore index 6c94546..cfd5ded 100644 --- a/.gitignore +++ b/.gitignore @@ -1,21 +1,26 @@ -Makefile -Makefile.am -Makefile.in aclocal.m4 +AUTHORS autom4te.cache/ ccr +codecrypt-*.tar.gz compile config.guess config.log config.status config.sub configure +debian-packages/ depcomp +INSTALL install-sh libtool ltmain.sh m4/ +Makefile +Makefile.am +Makefile.in missing +NEWS src/.deps/ src/.dirstamp src/*.o diff --git a/build-debian-package.sh b/build-debian-package.sh index e88ae0a..2267abb 100755 --- a/build-debian-package.sh +++ b/build-debian-package.sh @@ -10,12 +10,15 @@ if [ -z "$1" ] ; then fi OUT_DIR=debian-packages -NV="codecrypt-$1" +N="codecrypt" +V="$1" +NV="$N-$V" DIST="$NV.tar.gz" +ORIG="$OUT_DIR/${N}_$V.orig.tar.gz" mkdir -p "$OUT_DIR" && \ make dist && \ -cp "$DIST" "$OUT_DIR" && \ +cp "$DIST" "$ORIG" && \ tar xzf "$DIST" -C "$OUT_DIR" && \ cp -a debian "$OUT_DIR/$NV/" && \ cd "$OUT_DIR/$NV" && \ diff --git a/debian/changelog b/debian/changelog index 4abdbc2..cbb699c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,18 +1,5 @@ -codecrypt (1.7.3) unstable; urgency=low +codecrypt (1.7.3-1) unstable; urgency=low - * upstream version 1.7.3 + * Initial release (Closes: #814462) -- Mirek Kratochvil Thu, 11 Feb 2016 20:25:55 +0100 - -codecrypt (1.7.2) unstable; urgency=low - - * Imported Upstream version 1.7.2 - * Fixed the libfftw3 dependency - - -- Mirek Kratochvil Wed, 10 Feb 2016 22:19:43 +0100 - -codecrypt (1.6.1) unstable; urgency=low - - * Initial release - - -- Mirek Kratochvil Sat, 25 Apr 2015 10:04:19 +0200 diff --git a/debian/source/format b/debian/source/format index 89ae9db..163aaf8 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (native) +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..8337c76 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://e-x-a.org/codecrypt/files/codecrypt-(.+)\.tar\.gz \ + debian uupdate +