Author: tille Date: 2010-03-22 14:50:35 +0000 (Mon, 22 Mar 2010) New Revision: 4673
Added: trunk/packages/velvet/trunk/debian/get-orig-source Modified: trunk/packages/velvet/trunk/debian/changelog trunk/packages/velvet/trunk/debian/rules Log: New upstream version, get-orig-source target to strip zlib copy Modified: trunk/packages/velvet/trunk/debian/changelog =================================================================== --- trunk/packages/velvet/trunk/debian/changelog 2010-03-21 08:46:20 UTC (rev 4672) +++ trunk/packages/velvet/trunk/debian/changelog 2010-03-22 14:50:35 UTC (rev 4673) @@ -1,3 +1,11 @@ +velvet (0.7.61~nozlibcopy-1) unstable; urgency=low + + * New upstream version + * debian/get-orig-source, debian/rules: Strip zlib copy from + upstream tarball + + -- Andreas Tille <[email protected]> Mon, 22 Mar 2010 15:41:53 +0100 + velvet (0.7.59~nozlibcopy-1) unstable; urgency=low * New upstream release Added: trunk/packages/velvet/trunk/debian/get-orig-source =================================================================== --- trunk/packages/velvet/trunk/debian/get-orig-source (rev 0) +++ trunk/packages/velvet/trunk/debian/get-orig-source 2010-03-22 14:50:35 UTC (rev 4673) @@ -0,0 +1,22 @@ +#!/bin/sh +# script to download and repack source package of velvet +# this is needed to remove a copy of zlib + +PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` +VERSION=`uscan --verbose --force-download | \ + grep "Newest version on remote site is .* local version is .*" | \ + head -n 1 | \ + sed "s/Newest version on remote site is \([-0-9.]\+\),.*/\1/"` + +mkdir -p ../tarballs +cd ../tarballs + +UPSTREAMDIR="${PKG}_${VERSION}" +mv ../${UPSTREAMDIR}.tgz . +tar -xzf ${UPSTREAMDIR}.tgz +rm -rf ${UPSTREAMDIR}/third-party +mv ${UPSTREAMDIR} ${UPSTREAMDIR}~nozlibcopy + +GZIP=-9 tar -czf "$PKG"_"$VERSION~nozlibcopy".orig.tar.gz "${UPSTREAMDIR}~nozlibcopy" +rm -rf "${UPSTREAMDIR}~nozlibcopy" + Modified: trunk/packages/velvet/trunk/debian/rules =================================================================== --- trunk/packages/velvet/trunk/debian/rules 2010-03-21 08:46:20 UTC (rev 4672) +++ trunk/packages/velvet/trunk/debian/rules 2010-03-22 14:50:35 UTC (rev 4673) @@ -29,3 +29,7 @@ help2man --no-info --version-option=" " \ --name="de Bruijn graph construction, error removal and repeat resolution (colorspace version)" \ $(CURDIR)/velvetg_de > $(CURDIR)/debian/$(pkg)/usr/share/man/man1/velvetg_de.1 + +get-orig-source: + . debian/get-orig-source + _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit
