[SCM] vdr-plugin-imonlcd packaging repository branch, master, updated. debian/0.0.5-2-4-g4ed287b

etobi git at e-tobi.net
Sat May 12 19:04:33 UTC 2012


The following commit has been merged in the master branch:
commit 4ed287bc1189ccf9db43d6ed93c7b206dfae217e
Author: etobi <git at e-tobi.net>
Date:   Sat May 12 21:03:41 2012 +0200

    New Upstream Snapshot (commit a654926)

diff --git a/debian/changelog b/debian/changelog
index 10f701e..b5c9f4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vdr-plugin-imonlcd (0.0.5+git20120512-1) lucid; urgency=low
+
+  * New Upstream Snapshot (commit a654926)
+
+ -- Tobias Grimm <etobi at debian.org>  Sat, 12 May 2012 21:02:17 +0200
+
 vdr-plugin-imonlcd (0.0.5-2) lucid; urgency=low
 
   * Switched to GIT using pristine tar
diff --git a/debian/get-vcs-snapshot.sh b/debian/get-vcs-snapshot.sh
new file mode 100644
index 0000000..c9702a0
--- /dev/null
+++ b/debian/get-vcs-snapshot.sh
@@ -0,0 +1,19 @@
+echo Downloading latest from git repository...
+set -e
+
+DEB_SOURCE_PACKAGE=`egrep '^Source: ' debian/control | cut -f 2 -d ' '`
+VERSION_UPSTREAM=`dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 | cut -d- -f1 | sed -r 's/(.*)\+git.*/\1/'`
+VERSION_DATE=`/bin/date --utc +%0Y%0m%0d`
+VERSION_FULL="${VERSION_UPSTREAM}+git${VERSION_DATE}"
+
+git clone --depth 1 git://projects.vdr-developer.org/${DEB_SOURCE_PACKAGE}.git
+
+cd ${DEB_SOURCE_PACKAGE}
+GIT_SHA=`git show --pretty=format:"%h" --quiet | head -1 || true`
+cd ..
+
+tar --exclude=.git -czf "../${DEB_SOURCE_PACKAGE}_${VERSION_FULL}.orig.tar.gz" ${DEB_SOURCE_PACKAGE}
+
+dch -v "$VERSION_FULL-1" "New Upstream Snapshot (commit $GIT_SHA)"
+
+rm -rf ${DEB_SOURCE_PACKAGE}
diff --git a/debian/rules b/debian/rules
index 2e942e5..e8b1458 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,6 @@ cleanbuilddir::
 
 common-binary-predeb-arch::
 	sh /usr/share/vdr-dev/dependencies.sh
+
+get-vcs-snapshot:
+	sh debian/get-vcs-snapshot.sh

-- 
vdr-plugin-imonlcd packaging repository



More information about the pkg-vdr-dvb-changes mailing list