[med-svn] r8663 - trunk/packages/activiz.net/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Nov 23 17:26:31 UTC 2011


Author: malat-guest
Date: 2011-11-23 17:26:30 +0000 (Wed, 23 Nov 2011)
New Revision: 8663

Modified:
   trunk/packages/activiz.net/trunk/debian/control
   trunk/packages/activiz.net/trunk/debian/get-orig-source
   trunk/packages/activiz.net/trunk/debian/rules
Log:
fill in the provides value

Modified: trunk/packages/activiz.net/trunk/debian/control
===================================================================
--- trunk/packages/activiz.net/trunk/debian/control	2011-11-23 16:40:59 UTC (rev 8662)
+++ trunk/packages/activiz.net/trunk/debian/control	2011-11-23 17:26:30 UTC (rev 8663)
@@ -5,7 +5,7 @@
 DM-Upload-Allowed: yes
 Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
 Build-Depends: debhelper (>= 8), cmake (>= 2.8.3), mummy,
- libkitware-mummy-runtime1.0-cil, gccxml, libvtk5-dev (>= 5.8), mono-devel,
+ libkitware-mummy-runtime1.0-cil, gccxml, libvtk5-dev (>= 5.6), mono-devel,
  cli-common-dev (>= 0.5.7), doxygen-latex (>= 1.6.2), graphviz
 Standards-Version: 3.9.2
 Homepage: http://www.kitware.com/products/avdownload.php

Modified: trunk/packages/activiz.net/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/activiz.net/trunk/debian/get-orig-source	2011-11-23 16:40:59 UTC (rev 8662)
+++ trunk/packages/activiz.net/trunk/debian/get-orig-source	2011-11-23 17:26:30 UTC (rev 8663)
@@ -1,27 +1,27 @@
 #!/bin/sh
 
+PACKAGE=activiz.net
+
 # We need to be matching VTK version actually:
 #VERSION=5.8.0
-VERSION=`dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-`
+VERSION=`dpkg-parsechangelog | grep '^Version' | cut -f1 -d- | cut -d: -f3`
 
 #
 # put orig.tar in ../tarballs (-> default location for svn-buildpackage)
 mkdir -p ../tarballs
 cd ../tarballs
 
-rm -rf activiz.net-$VERSION
+FOLDER=${PACKAGE}-${VERSION}
 
 # b73a17d702e9b4eec05cc1860067231bf488f334
-git clone git://public.kitware.com/activizdotnet.git activiz.net-$VERSION
-cd activiz.net-$VERSION
-rm -rf .git
+git clone git://public.kitware.com/activizdotnet.git ${FOLDER}
 
+# remove git bookkeeping:
+rm -rf ${FOLDER}/.git
 # W: activiz.net-examples: windows-thumbnail-database-in-package usr/share/activiz.net/examples/Decimate/textures/Thumbs.db
-find . -name Thumbs.db -delete
-
+find ${FOLDER} -name Thumbs.db -delete
 #PDF file was generated from word document, cant ship that:
-rm Documentation/UsersGuide.pdf
+rm ${FOLDER}/Documentation/UsersGuide.pdf
 
-cd ..
-
 GZIP="--best --no-name" tar cfz activiz.net_$VERSION.orig.tar.gz activiz.net-$VERSION
+rm -rf ${FOLDER}

Modified: trunk/packages/activiz.net/trunk/debian/rules
===================================================================
--- trunk/packages/activiz.net/trunk/debian/rules	2011-11-23 16:40:59 UTC (rev 8662)
+++ trunk/packages/activiz.net/trunk/debian/rules	2011-11-23 17:26:30 UTC (rev 8663)
@@ -44,8 +44,8 @@
 	find ./debian/$(pkg_exa) -name *.sln -delete
 
 # automatically compute SOVERSION from vtk package:
+vtk_version=$(shell apt-cache policy libvtk5-dev | grep "Installed:" | cut -d: -f2 | cut -d' ' -f2 | cut -d- -f1 | cut -d. -f1-2)
 override_dh_gencontrol:
-	vtk_version=$(shell apt-cache policy libvtk5-dev | grep "Installed:" | cut -d: -f2 | cut -d' ' -f2 | cut -d- -f1)
 	dh_gencontrol -- -Vvtk:Version=$(vtk_version)
 
 get-orig-source:




More information about the debian-med-commit mailing list