[Pkg-samba-maint] r1896 - trunk/samba-gtk/debian

ctrlsoft-guest at alioth.debian.org ctrlsoft-guest at alioth.debian.org
Mon May 26 16:46:06 UTC 2008


Author: ctrlsoft-guest
Date: 2008-05-26 16:46:06 +0000 (Mon, 26 May 2008)
New Revision: 1896

Added:
   trunk/samba-gtk/debian/build-orig.sh
Modified:
   trunk/samba-gtk/debian/
   trunk/samba-gtk/debian/changelog
   trunk/samba-gtk/debian/rules
Log:
Add script for building orig tarball.



Property changes on: trunk/samba-gtk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/samba-gtk/debian/build-orig.sh
===================================================================
--- trunk/samba-gtk/debian/build-orig.sh	                        (rev 0)
+++ trunk/samba-gtk/debian/build-orig.sh	2008-05-26 16:46:06 UTC (rev 1896)
@@ -0,0 +1,20 @@
+#!/bin/bash
+REFSPEC=$1
+GIT_URL=$2
+shift 2
+
+if [ -z "$GIT_URL" ]; then
+	GIT_URL=git://git.samba.org/jelmer/samba-gtk.git
+fi
+
+if [ -z "$REFSPEC" ]; then
+	REFSPEC=master
+fi
+
+version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
+git clone --depth 1 -l $GIT_URL "samba-gtk-$version"
+
+rm -rf "samba-gtk-$version/.git"
+pushd "samba-gtk-$version" && ./autogen.sh && popd
+tar cvz "samba-gtk-$version" > "samba-gtk_$version.orig.tar.gz"
+rm -rf "samba-gtk-$version"


Property changes on: trunk/samba-gtk/debian/build-orig.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/samba-gtk/debian/changelog
===================================================================
--- trunk/samba-gtk/debian/changelog	2008-05-26 16:07:06 UTC (rev 1895)
+++ trunk/samba-gtk/debian/changelog	2008-05-26 16:46:06 UTC (rev 1896)
@@ -1,4 +1,4 @@
-samba-gtk (0.0.1~20080510-1) experimental; urgency=low
+samba-gtk (0.0.1~20080526-1) experimental; urgency=low
 
   * Initial release. (Closes: #413822)
 

Modified: trunk/samba-gtk/debian/rules
===================================================================
--- trunk/samba-gtk/debian/rules	2008-05-26 16:07:06 UTC (rev 1895)
+++ trunk/samba-gtk/debian/rules	2008-05-26 16:46:06 UTC (rev 1896)
@@ -30,6 +30,9 @@
 	[ ! -f Makefile.settings ] || $(MAKE) clean
 	$(RM) build-stamp configure-stamp
 
+get-orig-source:
+	./debian/build-orig.sh
+
 binary-indep: build install
 	dh_installdocs -i
 	dh_installchangelogs -i




More information about the Pkg-samba-maint mailing list