rev 6675 - kde-extras/kid3/trunk/debian

Mark Purcell msp at alioth.debian.org
Wed Jul 4 12:28:44 UTC 2007


Author: msp
Date: 2007-07-04 12:28:43 +0000 (Wed, 04 Jul 2007)
New Revision: 6675

Modified:
   kde-extras/kid3/trunk/debian/changelog
   kde-extras/kid3/trunk/debian/rules
Log:
* Install debian/watch file
* Add debian/rules get-orig-source target for http://buildserver.net

Modified: kde-extras/kid3/trunk/debian/changelog
===================================================================
--- kde-extras/kid3/trunk/debian/changelog	2007-07-04 12:17:27 UTC (rev 6674)
+++ kde-extras/kid3/trunk/debian/changelog	2007-07-04 12:28:43 UTC (rev 6675)
@@ -1,11 +1,12 @@
-kid3 (0.9.0-1) UNRELEASED; urgency=low
+kid3 (0.9-1) UNRELEASED; urgency=low
 
   * Debconf7 Release :-)
   * New Upstream Release
-  * Install debian/watch file 
+  * Install debian/watch file
   * Add myself to uploaders
+  * Add debian/rules get-orig-source target for http://buildserver.net
 
- -- Mark Purcell <msp at debian.org>  Fri, 15 Jun 2007 22:43:21 +0100
+ -- Mark Purcell <msp at debian.org>  Wed, 04 Jul 2007 13:28:27 +0100
 
 kid3 (0.8.1-3) unstable; urgency=low
 

Modified: kde-extras/kid3/trunk/debian/rules
===================================================================
--- kde-extras/kid3/trunk/debian/rules	2007-07-04 12:17:27 UTC (rev 6674)
+++ kde-extras/kid3/trunk/debian/rules	2007-07-04 12:28:43 UTC (rev 6675)
@@ -10,6 +10,14 @@
 INSTALL_DIR = install -p -d -o root -g root -m 755
 INSTALL_FILE = install -p -o root -g root -m 644
 
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+                    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+
+FILENAME := kid3_$(UPVERSION).orig.tar.gz
+UPFILENAME := kid3-$(UPVERSION).tar.gz
+URL = http://heanet.dl.sourceforge.net/kid3/$(UPFILENAME)
+
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -84,3 +92,9 @@
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure
+
+get-orig-source-wget:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@echo Downloading $(UPFILENAME) from $(URL) ...
+	@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)




More information about the pkg-kde-commits mailing list