[SCM] vdr-plugin-sleeptimer packaging repository branch, master, updated. upstream/0.7-8-g81701b2

etobi git at e-tobi.net
Fri May 18 00:34:59 UTC 2012


The following commit has been merged in the master branch:
commit e07ecae76101cd47567c4660629e041cbfa67c64
Author: etobi <git at e-tobi.net>
Date:   Fri May 18 02:32:04 2012 +0200

    New Upstream Snapshot (commit 9b1417e)

diff --git a/debian/changelog b/debian/changelog
index 6c5ba95..3e6d44e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-vdr-plugin-sleeptimer (0.8.2-1) experimental; urgency=low
+vdr-plugin-sleeptimer (0.8.2+git20120518-1) experimental; urgency=low
 
-  * New upstream release
+  * New Upstream Snapshot (commit 9b1417e)
 
  -- Tobias Grimm <etobi at debian.org>  Fri, 18 May 2012 02:27:35 +0200
 
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 9f487b6..865cce3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,6 @@ override_dh_auto_clean:
 override_dh_gencontrol:
 	sh /usr/share/vdr-dev/dependencies.sh
 	dh_gencontrol
+
+get-vcs-snapshot:
+	sh debian/get-vcs-snapshot.sh

-- 
vdr-plugin-sleeptimer packaging repository



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