[Pkg-cli-apps-commits] r4931 - in /packages/tomboy-latex/trunk/debian: copyright rules

meebey at users.alioth.debian.org meebey at users.alioth.debian.org
Sun May 10 12:07:57 UTC 2009


Author: meebey
Date: Sun May 10 12:07:57 2009
New Revision: 4931

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4931
Log:
implemented debian policy conform get-orig-source target

Modified:
    packages/tomboy-latex/trunk/debian/copyright
    packages/tomboy-latex/trunk/debian/rules

Modified: packages/tomboy-latex/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/tomboy-latex/trunk/debian/copyright?rev=4931&op=diff
==============================================================================
--- packages/tomboy-latex/trunk/debian/copyright (original)
+++ packages/tomboy-latex/trunk/debian/copyright Sun May 10 12:07:57 2009
@@ -28,9 +28,10 @@
 On Debian GNU/Linux systems, the complete text of the GNU Lesser General
 Public License can be found in the /usr/share/common-licenses/LGPL-2.1 file.
 
-The Debian packaging is (C) 2008, Jonathan Davies <jpds at ubuntu.com> and 
-2009, Chow Loong Jin <hyperair at gmail.com> and is licensed under the version
-3 or (at your option), any later version of GPL:
+The Debian packaging is Copyright (C) 2008, Jonathan Davies <jpds at ubuntu.com>
+Copyright (C) 2009, Chow Loong Jin <hyperair at gmail.com> and
+Copyright (C) 2009, Mirco Bauer <meebey at debian.org> and is licensed under the
+version 3 or (at your option), any later version of GPL:
 
     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

Modified: packages/tomboy-latex/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/tomboy-latex/trunk/debian/rules?rev=4931&op=diff
==============================================================================
--- packages/tomboy-latex/trunk/debian/rules (original)
+++ packages/tomboy-latex/trunk/debian/rules Sun May 10 12:07:57 2009
@@ -1,8 +1,27 @@
 #!/usr/bin/make -f
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+
+DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2)
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
 
 include /usr/share/cli-common/cli.make
 
 export MCS=/usr/bin/csc
 
+get-orig-source:
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(VERSION) \
+		--download-version $(VERSION) \
+		-destdir . \
+		-force-download \
+		--rename \
+		--repack
+
 %:
 	dh $@




More information about the Pkg-cli-apps-commits mailing list