--- libvideo-ivtv-perl-0.13.orig/debian/control +++ libvideo-ivtv-perl-0.13/debian/control @@ -1,13 +1,17 @@ Source: libvideo-ivtv-perl Section: perl Priority: optional -Build-Depends: debhelper (>= 3.0.5), perl (>= 5.8.0-7) -Maintainer: James A. Pattie -Standards-Version: 3.6.1 +Build-Depends: debhelper (>= 6), perl (>= 5.8.0-7) +Maintainer: tony mancill +Uploaders: gregor herrmann +Standards-Version: 3.7.3 +Homepage: http://ivtvdriver.org/ +Vcs-Svn: http://dorf.mancill.com/svn/deb/libvideo-ivtv-perl/ +Vcs-Browser: http://dorf.mancill.com/websvn/listing.php?repname=debian+SVN+repository&path=%2Flibvideo-ivtv-perl%2F Package: libvideo-ivtv-perl Architecture: any -Depends: perl (>= 5.8.0), ${shlibs:Depends}, ${misc:Depends} +Depends: ${perl:Depends}, ${shlibs:Depends} Description: Perl extension for using V4l2 in the ivtv perl scripts The Video::ivtv module will provide helper methods for working with videodev2.h structures and making ioctl calls that have proven to be --- libvideo-ivtv-perl-0.13.orig/debian/rules +++ libvideo-ivtv-perl-0.13/debian/rules @@ -13,10 +13,7 @@ PERL = /usr/bin/perl endif -ifndef DESTDIR -DESTDIR=.. -endif -TMP =`pwd`/debian/$(PACKAGE) +TMP =$(CURDIR)/debian/$(PACKAGE) OPTIMIZE = -O2 -Wall ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) @@ -26,34 +23,27 @@ build: build-stamp build-stamp: dh_testdir - - - # Add here commands to compile the package. $(PERL) Makefile.PL INSTALLDIRS=vendor $(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH="" - + #$(MAKE) test # needs /dev/video0 touch build-stamp clean: dh_testdir dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) realclean - + rm -f build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean dh_clean -install: +install: install-stamp +install-stamp: build-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs - - # Add here commands to install the package into debian/tmp. - #$(MAKE) install DESTDIR=`pwd`/debian/tmp - $(MAKE) install PREFIX=$(TMP)/usr - + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/share/perl5 + touch $@ # Build architecture-independent files here. binary-indep: build install @@ -64,24 +54,16 @@ dh_testdir dh_testroot dh_installdocs README - dh_installexamples - dh_installmenu -# dh_installemacsen -# dh_installinit - dh_installcron - dh_installman dh_installchangelogs Changes - dh_link dh_strip dh_compress dh_fixperms -# dh_makeshlibs dh_installdeb dh_perl dh_shlibdeps dh_gencontrol dh_md5sums - dh_builddeb --destdir=$(DESTDIR) + dh_builddeb source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false --- libvideo-ivtv-perl-0.13.orig/debian/changelog +++ libvideo-ivtv-perl-0.13/debian/changelog @@ -1,3 +1,45 @@ +libvideo-ivtv-perl (0.13-6) unstable; urgency=low + + * debian/rules: + - remove /usr/share/perl5 only if it exists (prevents FTBFS with perl + 5.10). + - use $(CURDIR) instead of `pwd` + - use DESTDIR and PREFIX in install-stamp target + - remove unneeded $DESTDIR variable + * Set debhelper compatibility level to 6. + * Use ${perl:depends} to calculate perl dependencies. + + -- gregor herrmann Tue, 22 Jan 2008 17:51:23 +0100 + +libvideo-ivtv-perl (0.13-5) unstable; urgency=low + + * Add Homepage field to debian/control. + * Change XS-Vcs-* fields to Vcs-*. + * Set Standards-Version to 3.7.3 (no changes needed). + * debian/rules: new install-stamp target, minor cleanups. + * Change debian/copyright to the new machine-readable format. + + -- gregor herrmann Mon, 24 Dec 2007 23:52:17 +0100 + +libvideo-ivtv-perl (0.13-4) unstable; urgency=low + + * Add XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control. + * Set debhelper compatibility level to 5. + * Don't ignore errors of $(MAKE) realclean in debian/rules. + * Set Standards-Version to 3.7.2 (no changes). + * Remove empty /usr/share/perl5 directory from binary package. + * Add watch file. + * Add myself to uploaders. + + -- gregor herrmann Mon, 13 Aug 2007 20:17:24 +0200 + +libvideo-ivtv-perl (0.13-3) unstable; urgency=low + + * Uploading into the main archive. (closes: #293965) + (thanks to James A. Pattie for the software and packaging) + + -- tony mancill Thu, 10 Feb 2005 22:40:48 -0800 + libvideo-ivtv-perl (0.13-2) unstable; urgency=low * Updated to cover the 0.2.0rc1g driver version. --- libvideo-ivtv-perl-0.13.orig/debian/compat +++ libvideo-ivtv-perl-0.13/debian/compat @@ -1 +1 @@ -4 +6 --- libvideo-ivtv-perl-0.13.orig/debian/copyright +++ libvideo-ivtv-perl-0.13/debian/copyright @@ -1,12 +1,21 @@ -This is the debian package for the Video::ivtv module. -It was created by James A. Pattie using dh-make-perl. +Upstream source location: +http://sourceforge.net/project/showfiles.php?group_id=73219&package_id=83888 -The upstream author is: +Files: * +Copyright: © James A. Pattie . +License: GPL1+ + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License. -James A. Pattie . +Files: ivtv.h +Copyright + © 2003-2004 Kevin Thayer + VBI portions: © 2004 Hans Verkuil +License: GPL2+ + 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 + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -This program is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License. - -On Debian GNU/Linux systems, the complete text of the -GNU General Public License can be found in `/usr/share/common-licenses/GPL'. +On Debian GNU/Linux systems, the complete text of the GNU General Public +License {,2} can be found in `/usr/share/common-licenses/GPL{,-2}'. --- libvideo-ivtv-perl-0.13.orig/debian/watch +++ libvideo-ivtv-perl-0.13/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://dl.ivtvdriver.org/supporting-tools/Video-ivtv-([\d\.]+)\.tar\.gz