vdr/vdr-plugin-weather/debian install changelog control rules dirs

Tobias Grimm pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 01 Aug 2004 16:48:14 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-weather/debian
In directory haydn:/tmp/cvs-serv4320/debian

Modified Files:
	changelog control rules 
Added Files:
	install 
Removed Files:
	dirs 
Log Message:
adapted for official Debian

Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-weather/debian/rules,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rules	1 Aug 2004 16:33:35 -0000	1.1
+++ rules	1 Aug 2004 16:48:12 -0000	1.2
@@ -6,7 +6,7 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatibility version to use.
-export DH_COMPAT=3
+export DH_COMPAT=4
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -g
@@ -15,30 +15,39 @@
 	INSTALL_PROGRAM += -s
 endif
 
+VDR=vdr
+VDRDIR=/usr/include/$(VDR)
+PACKAGE=$(VDR)-plugin-weather
+
+# To use dpatch uncomment the following line and set Build-Depends to dpatch
+#DPATCH=yes
+
+ifdef DPATCH
+include /usr/share/dpatch/dpatch.make
+else
+patch:
+patch-stamp:
+unpatch:
+endif
+
 configure: configure-stamp
-configure-stamp:
+configure-stamp: patch-stamp
 	dh_testdir
-
 	touch configure-stamp
 
-
 build: build-stamp
-
-build-stamp: configure-stamp 
+build-stamp: configure-stamp
 	dh_testdir
-
-	$(MAKE) all DVBDIR=/usr/include VDRDIR=/usr/include/vdr LIBDIR=. REMOTE=lirc
-
+	$(MAKE) all DVBDIR=/usr VDRDIR=$(VDRDIR) LIBDIR=.
 	touch build-stamp
 
-clean:
+clean: clean1 unpatch
+clean1:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
-	rm -f debian/vdr-plugin-weather.substvars
-	rm -f libvdr-*.so*
-	make clean
-
+	$(MAKE) -o .dependencies clean
+	rm -f libvdr-*.so.*
 	dh_clean
 
 install: build
@@ -46,9 +55,7 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-
-	cp libvdr-weather*.so.* $(CURDIR)/debian/vdr-plugin-weather/usr/lib/vdr/plugins/
-
+	dh_install
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -58,23 +65,34 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
+#	dh_installdebconf
 	dh_installdocs
 	dh_installexamples
-	dh_installmenu
-	dh_installcron
-	dh_installman
-	dh_installinfo
+#	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
-	cd debian; mv vdr-plugin-weather.substvars substvars.old; cat /usr/include/vdr/patchlevel substvars.old > vdr-plugin-weather.substvars; rm -f substvars.old
+	[ -r $(VDRDIR)/patchlevel ] || echo 'patchlevel=' >> debian/$(PACKAGE).substvars
+	[ ! -r $(VDRDIR)/patchlevel ] || cat $(VDRDIR)/patchlevel >> debian/$(PACKAGE).substvars
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure \
+        clean1 patch unpatch

--- NEW FILE: install ---
libvdr-weather.so.*    usr/lib/vdr/plugins/

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-weather/debian/changelog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- changelog	1 Aug 2004 16:33:35 -0000	1.1
+++ changelog	1 Aug 2004 16:48:12 -0000	1.2
@@ -1,3 +1,12 @@
+vdr-plugin-weather (0.2.1e-5) unstable; urgency=low
+
+  * Tobias Grimm <tg@e-tobi.net>:
+    - plugin taken over by Debian VDR Team from c't VDR
+    - adapted patchlevel stuff to new vdr-patchlevel control field
+    - using dh_install now
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sun, 01 Aug 2004 18:45:00 +0200
+
 vdr-plugin-weather (0.2.1e-4) unstable; urgency=low
 
   * now depends on libmdsp-dev (renamed from mdsplib-dev)

Index: control
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-weather/debian/control,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- control	1 Aug 2004 16:33:35 -0000	1.1
+++ control	1 Aug 2004 16:48:12 -0000	1.2
@@ -1,9 +1,10 @@
 Source: vdr-plugin-weather
 Section: misc
 Priority: extra
-Maintainer: Tobias Grimm <tg@e-tobi.net>
-Build-Depends: debhelper (>> 3.0.0), vdr-dev (>= 1.2.6-5), ftplib-dev (>=3.1-1-1), libmdsp-dev (>=0.11-1)
-Standards-Version: 3.5.2
+Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
+Uploaders: Tobias Grimm <tg@e-tobi.net>
+Build-Depends: debhelper (>> 4.1.16), vdr-dev (>= 1.2.6-4), ftplib-dev (>=3.1-1-1), libmdsp-dev (>=0.11-1)
+Standards-Version: 3.6.1
 
 Package: vdr-plugin-weather
 Architecture: i386
@@ -11,4 +12,4 @@
 Description: Weather plugin for vdr
  Displays the current weather conditions for a selected location. 
  It gets the METAR data from ftp://weather.noaa.gov.
- Patchlevel: ${patchlevel}
\ No newline at end of file
+XB-VDR-Patchlevel: ${patchlevel}

--- dirs DELETED ---