[med-svn] r8218 - in trunk/packages/vcftools/trunk/debian: . patches

Thorsten Alteholz alteholz-guest at alioth.debian.org
Wed Oct 19 17:32:07 UTC 2011


Author: alteholz-guest
Date: 2011-10-19 17:32:07 +0000 (Wed, 19 Oct 2011)
New Revision: 8218

Added:
   trunk/packages/vcftools/trunk/debian/get-orig-source
Modified:
   trunk/packages/vcftools/trunk/debian/changelog
   trunk/packages/vcftools/trunk/debian/copyright
   trunk/packages/vcftools/trunk/debian/patches/make.patch
   trunk/packages/vcftools/trunk/debian/rules
Log:
new version

Modified: trunk/packages/vcftools/trunk/debian/changelog
===================================================================
--- trunk/packages/vcftools/trunk/debian/changelog	2011-10-19 14:00:49 UTC (rev 8217)
+++ trunk/packages/vcftools/trunk/debian/changelog	2011-10-19 17:32:07 UTC (rev 8218)
@@ -1,3 +1,9 @@
+vcftools (0.1.7-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Thorsten Alteholz <debian at alteholz.de>  Wed, 19 Oct 2011 18:00:00 +0200
+
 vcftools (0.1.6-1) unstable; urgency=low
 
   [ Thorsten ]

Modified: trunk/packages/vcftools/trunk/debian/copyright
===================================================================
--- trunk/packages/vcftools/trunk/debian/copyright	2011-10-19 14:00:49 UTC (rev 8217)
+++ trunk/packages/vcftools/trunk/debian/copyright	2011-10-19 17:32:07 UTC (rev 8218)
@@ -9,9 +9,7 @@
 
 Files: debian/*
 Copyright: 2011 Thorsten Alteholz <debian at alteholz.de>
-License: GPL-3.0+
-
-License: GPL-3.0+
+License: GPL-3.0
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or

Added: trunk/packages/vcftools/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/vcftools/trunk/debian/get-orig-source	                        (rev 0)
+++ trunk/packages/vcftools/trunk/debian/get-orig-source	2011-10-19 17:32:07 UTC (rev 8218)
@@ -0,0 +1,20 @@
+#/bin/bash
+
+#set -x
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+DVERSION=`dpkg-parsechangelog | awk '/^Version/ { print $2 }' | cut -d- -f1`
+
+mkdir -p ../tarballs
+uscan --verbose --force-download --destdir=../tarballs --no-symlink
+
+cd ../tarballs
+tar -xzf ${PKG}_${DVERSION}.tar.gz
+cd ${PKG}_${DVERSION}
+find . -name CVS -type d | xargs rm -rf
+find . -name '.svn' -type d | xargs rm -rf 
+find . -name "*.pdf" | xargs rm -f
+cd ..
+
+GZIP="--best --no-name" tar -czf "$PKG"_"$DVERSION".orig.tar.gz ${PKG}_${DVERSION}
+rm -rf  ${PKG}_${DVERSION}
+

Modified: trunk/packages/vcftools/trunk/debian/patches/make.patch
===================================================================
--- trunk/packages/vcftools/trunk/debian/patches/make.patch	2011-10-19 14:00:49 UTC (rev 8217)
+++ trunk/packages/vcftools/trunk/debian/patches/make.patch	2011-10-19 17:32:07 UTC (rev 8218)
@@ -1,14 +1,16 @@
 Description: do not use MAKEFLAGS
 Author: Thorsten Alteholz <debian at alteholz.de>
 Last-Update: 2011-07-03
-Index: vcftools-0.1.5/Makefile
+Index: vcftools-0.1.7/Makefile
 ===================================================================
---- vcftools_0.1.5.org/Makefile	2011-07-04 15:22:33.000000000 +0200
-+++ vcftools_0.1.5/Makefile	2011-07-04 15:22:56.000000000 +0200
-@@ -22,5 +22,5 @@
+--- vcftools_0.1.7.org/Makefile	2011-07-04 15:22:33.000000000 +0200
++++ vcftools_0.1.7/Makefile	2011-07-04 15:22:56.000000000 +0200
+@@ -22,7 +22,7 @@
  DIRS = cpp perl
  install:
  	    @mkdir -p $(BINDIR); mkdir -p $(MODDIR); \
 -        for dir in $(DIRS); do cd $$dir && $(MAKE) $(MAKEFLAGS) && cd ..; done
 +        for dir in $(DIRS); do cd $$dir && $(MAKE) && cd ..; done
  
+ clean:
+ 		@for dir in $(DIRS); do cd $$dir && $(MAKE) clean && cd ..; done

Modified: trunk/packages/vcftools/trunk/debian/rules
===================================================================
--- trunk/packages/vcftools/trunk/debian/rules	2011-10-19 14:00:49 UTC (rev 8217)
+++ trunk/packages/vcftools/trunk/debian/rules	2011-10-19 17:32:07 UTC (rev 8218)
@@ -1,10 +1,5 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
@@ -15,8 +10,6 @@
 override_dh_clean:
 	dh_clean
 	# [ -r Makefile ] && make clean ?
-	find . -name '.svn' -a -type d| xargs -r rm -rf
-	find . -name "*.pdf" | xargs -r rm
 
 override_dh_auto_install:
 	mkdir -p debian/vcftools/usr/bin
@@ -30,9 +23,5 @@
 	dh_installchangelogs perl/ChangeLog
 	dh_auto_install
 
-# The get-orig-source target needs some furhter work
-#get-orig-source:
-#	uscan --verbose --force-download
-#	# .svn and *.pdf needs to be removed
-#	#mv vcftools_0.1.6 vcftools-0.1.6
-#	#GZIP="-9 -n" tar czvf vcftools_0.1.6.orig.^Cr.gz vcftools-0.1.6/
+get-orig-source:
+	. debian/get-orig-source




More information about the debian-med-commit mailing list