diff -Nru libjs-swfobject-2.2+dfsg/debian/changelog libjs-swfobject-2.2+dfsg/debian/changelog --- libjs-swfobject-2.2+dfsg/debian/changelog 2012-01-17 20:47:24.000000000 +0000 +++ libjs-swfobject-2.2+dfsg/debian/changelog 2016-08-10 20:47:23.000000000 +0000 @@ -1,3 +1,14 @@ +libjs-swfobject (2.2+dfsg-2) unstable; urgency=low + + * Add Vcs-Git and Vcs-Browser fields. + * Split build target into build-arch and build-indep (Closes: 831935) + * Change Vcs-Git to secure uri. + * Bumped standards version to 3.9.8. + * Change old project URIs to clone on github. Remove watch file. + Adapt the get-orig-source target of debian/rules to new archive. + + -- Christian Welzel Wed, 10 Aug 2016 22:47:23 +0200 + libjs-swfobject (2.2+dfsg-1) unstable; urgency=low * Initial release (Closes: #601160) diff -Nru libjs-swfobject-2.2+dfsg/debian/control libjs-swfobject-2.2+dfsg/debian/control --- libjs-swfobject-2.2+dfsg/debian/control 2012-01-16 22:03:04.000000000 +0000 +++ libjs-swfobject-2.2+dfsg/debian/control 2016-08-10 20:47:23.000000000 +0000 @@ -3,8 +3,10 @@ Priority: optional Maintainer: Christian Welzel Build-Depends: debhelper (>= 7.0.50~), yui-compressor, mtasc -Standards-Version: 3.9.2 -Homepage: http://code.google.com/p/swfobject/ +Standards-Version: 3.9.8 +Homepage: https://github.com/swfobject/swfobject +Vcs-Git: https://github.com/sir-gawain/debian-libjs-swfobject.git +Vcs-Browser: https://github.com/sir-gawain/debian-libjs-swfobject Package: libjs-swfobject Architecture: all diff -Nru libjs-swfobject-2.2+dfsg/debian/copyright libjs-swfobject-2.2+dfsg/debian/copyright --- libjs-swfobject-2.2+dfsg/debian/copyright 2012-01-17 20:51:00.000000000 +0000 +++ libjs-swfobject-2.2+dfsg/debian/copyright 2016-08-10 20:47:23.000000000 +0000 @@ -1,7 +1,7 @@ Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: libjs-swfobject Maintainer: Christian Welzel -Source: http://code.google.com/p/swfobject/downloads/list +Source: https://github.com/swfobject/swfobject Copyright: 2004-2012 Geoff Stearns, Bobby van der Sluis, Michael Williams, Aran Rhee, Philip Hutchison, Kyle Simpson and others diff -Nru libjs-swfobject-2.2+dfsg/debian/rules libjs-swfobject-2.2+dfsg/debian/rules --- libjs-swfobject-2.2+dfsg/debian/rules 2012-01-17 21:47:22.000000000 +0000 +++ libjs-swfobject-2.2+dfsg/debian/rules 2016-08-10 20:47:23.000000000 +0000 @@ -7,7 +7,7 @@ ORIG_VERSION = $(shell echo $(SRC_VERSION) | sed -ne 's/+dfsg//p') ORIGTAR = libjs-swfobject_$(ORIG_VERSION).orig.tar.gz ORIGDIR = swfobject -DEBTAR = libjs-swfobject_$(SRC_VERSION).orig.tar.gz +DEBTAR = libjs-swfobject_$(SRC_VERSION).orig.tar %: dh $@ @@ -18,7 +18,11 @@ dh_clean rm -rf build -build: +build: build-arch build-indep + +build-arch: + +build-indep: dh_testdir mkdir build mtasc -main -header 310:130:12 -version 6 -out build/expressInstall.swf -swf build/expressInstall.swf src/expressInstall.as @@ -27,11 +31,19 @@ find . -maxdepth 1 -type f -print0 | xargs -0 chmod a-x get-orig-source: - uscan --no-conf --force-download --rename --repack --download-current-version --destdir=. - +# get source + wget https://github.com/swfobject/swfobject/archive/2.2.zip +# unpack and rename mkdir -p _unpack - tar -xzf $(ORIGTAR) -C _unpack + unzip 2.2.zip -d _unpack + mv _unpack/swfobject-2.2/swfobject/ _unpack/$(ORIGDIR) +# fix line endings + sed -i 's/\r//g' _unpack/$(ORIGDIR)/src/expressInstall.as + +# remove dfsg non complient files + rm -r _unpack/swfobject-2.2/ rm -f _unpack/$(ORIGDIR)/test.swf rm -f _unpack/$(ORIGDIR)/expressInstall.swf - tar -czf $(DEBTAR) -C _unpack $(ORIGDIR) +# repack + fakeroot tar -cf - -C _unpack $(ORIGDIR) | gzip -9 - > $(DEBTAR).gz rm -rf _unpack diff -Nru libjs-swfobject-2.2+dfsg/debian/watch libjs-swfobject-2.2+dfsg/debian/watch --- libjs-swfobject-2.2+dfsg/debian/watch 2012-01-17 21:25:11.000000000 +0000 +++ libjs-swfobject-2.2+dfsg/debian/watch 2016-08-10 20:47:23.000000000 +0000 @@ -1,3 +1,4 @@ -version=3 -opts="dversionmangle=s/\+dfsg//,uversionmangle=s/_/\./g" \ - http://googlecode.debian.net/p/swfobject/swfobject_([\d_]+)\.zip +#version=3 + +# no watch file available, upstream does not provide versioned +# release packages.