r4961 - in /vdr/vdr-plugin-lastfm/trunk/debian: changelog control rules

tschmidt at users.alioth.debian.org tschmidt at users.alioth.debian.org
Tue Jul 24 16:41:50 UTC 2007


Author: tschmidt
Date: Tue Jul 24 16:41:50 2007
New Revision: 4961

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=4961
Log:
* New Upstream Snapshot
* Added get-orig-source target to debian/rules to download the newest
  svn-snapshot from Sourceforge
* Switched Build-system to cdbs
* Build-Depend on cdbs

Modified:
    vdr/vdr-plugin-lastfm/trunk/debian/changelog
    vdr/vdr-plugin-lastfm/trunk/debian/control
    vdr/vdr-plugin-lastfm/trunk/debian/rules

Modified: vdr/vdr-plugin-lastfm/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-lastfm/trunk/debian/changelog?rev=4961&op=diff
==============================================================================
--- vdr/vdr-plugin-lastfm/trunk/debian/changelog (original)
+++ vdr/vdr-plugin-lastfm/trunk/debian/changelog Tue Jul 24 16:41:50 2007
@@ -1,9 +1,19 @@
+vdr-plugin-lastfm (0.1.4~svn20070724.1618-1) UNRELEASED; urgency=low
+
+  * New Upstream Snapshot
+  * Added get-orig-source target to debian/rules to download the newest
+    svn-snapshot from Sourceforge
+
+ -- Thomas Schmidt <tschmidt at debian.org>  Tue, 24 Jul 2007 18:18:24 +0200
+
 vdr-plugin-lastfm (0.1.3-1) UNRELEASED; urgency=low
 
   * New upstream release
   * Added debian/watch
+  * Switched Build-system to cdbs
+  * Build-Depend on cdbs
 
- -- Thomas Schmidt <tschmidt at debian.org>  Mon, 16 Jul 2007 15:24:47 +0200
+ -- Thomas Schmidt <tschmidt at debian.org>  Tue, 24 Jul 2007 17:52:19 +0200
 
 vdr-plugin-lastfm (0.1.2-1) UNRELEASED; urgency=low
 

Modified: vdr/vdr-plugin-lastfm/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-lastfm/trunk/debian/control?rev=4961&op=diff
==============================================================================
--- vdr/vdr-plugin-lastfm/trunk/debian/control (original)
+++ vdr/vdr-plugin-lastfm/trunk/debian/control Tue Jul 24 16:41:50 2007
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
 Uploaders: Thomas Schmidt <tschmidt at debian.org>, Tobias Grimm <tg at e-tobi.net>, Thomas Günther <tom at toms-cafe.de>
-Build-Depends: debhelper (>= 5), vdr-dev (>= 1.4.6-1), libmad0-dev, uuid-dev, libmagick++-dev
+Build-Depends: cdbs, debhelper (>= 5), vdr-dev (>= 1.4.6-1), libmad0-dev, uuid-dev, libmagick++-dev
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/vdr/vdr-plugin-lastfm/trunk/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-lastfm/trunk/

Modified: vdr/vdr-plugin-lastfm/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-lastfm/trunk/debian/rules?rev=4961&op=diff
==============================================================================
--- vdr/vdr-plugin-lastfm/trunk/debian/rules (original)
+++ vdr/vdr-plugin-lastfm/trunk/debian/rules Tue Jul 24 16:41:50 2007
@@ -1,93 +1,28 @@
 #! /bin/sh /usr/share/vdr-dev/make-special-vdr.sh
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/cdbs/1/rules/dpatch.mk
 
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
+DEB_INSTALL_CHANGELOGS_ALL = HISTORY
 
-# To use dpatch uncomment the following line and set Build-Depends to dpatch
-# DPATCH=yes
+MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LASTFM_HAVE_MAGICK=1
 
-ifdef DPATCH
-include /usr/share/dpatch/dpatch.make
-else
-patch:
-patch-stamp:
-unpatch:
-endif
+common-build-arch::
+	$(MAKE) all $(MAKE_OPTIONS)
 
-MAKE_OPTIONS = DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=. LASTFM_HAVE_MAGICK=1
-
-configure: configure-stamp
-configure-stamp: patch-stamp
-	dh_testdir
-	touch configure-stamp
-
-build: build-stamp
-build-stamp: configure-stamp
-	dh_testdir
-	$(MAKE) all $(MAKE_OPTIONS)
-	touch build-stamp
-
-clean: clean-patched unpatch
-clean-patched:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
+clean::
 	-$(MAKE) -o .dependencies clean $(MAKE_OPTIONS)
 	rm -f libvdr-*.so.*
-	dh_clean
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	dh_install
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-#	dh_installdebconf
-	dh_installdocs
-	dh_installexamples
-#	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installman
-#	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs HISTORY
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-#	dh_perl
-	dh_shlibdeps
+common-binary-predeb-arch::
 	sh /usr/share/vdr-dev/patchlevel.sh subst
 	sh /usr/share/vdr-dev/dependencies.sh
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure \
-        clean-patched patch unpatch
+VERSION_DATE = $(shell /bin/date --utc +%0Y%0m%0d.%0k%0M)
+VERSION_ID = 0.1.4~svn$(VERSION_DATE)
+get-orig-source::
+	echo Downloading vdr-lastfm $(VERSION_ID) from svn...
+	svn export https://vdr-lastfm.svn.sourceforge.net/svnroot/vdr-lastfm/trunk vdr-lastfm
+	tar cvfz "../vdr-plugin-lastfm_$(VERSION_ID).orig.tar.gz" vdr-lastfm
+	rm -rf vdr-lastfm
+	dch -v "$(VERSION_ID)-1" "New Upstream Snapshot"




More information about the pkg-vdr-dvb-changes mailing list