[SCM] rtaudio/master: Repack by copyright file now.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sun Oct 8 05:54:02 UTC 2017


The following commit has been merged in the master branch:
commit 23b1e6032c4785a7ba70044896ddb155f3a4c851
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Oct 8 07:53:15 2017 +0200

    Repack by copyright file now.

diff --git a/debian/copyright b/debian/copyright
index d5c7602..0bddf83 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,8 +1,26 @@
-Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=200
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: RtAudio
 Upstream-Contact: Gary P. Schiavone <gary at music.mcgill.ca>
 Source: http://www.music.mcgill.ca/~gary/rtaudio/release/
 Copyright: 2001-2014 Gary P. Scavone
+Comment: The original tarball was repacked in order to remove Windows files
+ and HTML documentation.
+Files-Excluded:
+ ._*
+ .DS_Store
+ .gitignore
+ autom4te.cache
+ contrib
+ doc/._*
+ doc/doxygen/._*
+ doc/html
+ doc/images
+ include
+ msw
+ tests/._*
+ tests/Debug
+ tests/Release
+ tests/Windows
 
 Files: *
 Copyright: 2001-2014 Gary P. Scavone
diff --git a/debian/rules b/debian/rules
index 07df433..3c3d99f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,6 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p')
-dfsg_version = $(upstream_version)~ds0
-pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
-
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 CONFIGURE_FLAGS = --enable-debug --with-jack --with-pulse
@@ -34,21 +30,3 @@ override_dh_auto_configure:
 
 override_dh_installchangelogs:
 	dh_installchangelogs doc/release.txt
-
-# get-orig-source to drop doc and win files
-get-orig-source:
-	uscan --noconf --force-download --rename --download-current-version --destdir=.
-	tar -xf $(pkg)_$(upstream_version).orig.tar.gz
-	mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version)
-	rm -fR $(pkg)-$(dfsg_version)/configure/
-	rm -fR $(pkg)-$(dfsg_version)/autom4te.cache/
-	rm -fR $(pkg)-$(dfsg_version)/contrib/
-	rm -fR $(pkg)-$(dfsg_version)/doc/html/
-	rm -fR $(pkg)-$(dfsg_version)/doc/images/
-	rm -fR $(pkg)-$(dfsg_version)/include/
-	rm -fR $(pkg)-$(dfsg_version)/tests/Windows/
-	tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)-$(dfsg_version)
-	xz -zf $(pkg)_$(dfsg_version).orig.tar
-	rm -rf $(pkg)-$(dfsg_version)
-	rm -rf $(pkg)_$(upstream_version).orig.tar.gz
-	mv $(pkg)_$(dfsg_version).orig.tar.xz ../$(pkg)_$(dfsg_version).orig.tar.xz
diff --git a/debian/watch b/debian/watch
index 19380b3..8ae2604 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=dversionmangle=s/~ds.*// \
+opts=dversionmangle=s/\~ds$//,repacksuffix=~ds \
 http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-(.*)\.tar\.gz

-- 
RtAudio packaging



More information about the pkg-multimedia-commits mailing list