--- libio-capture-perl-0.05.orig/debian/patches/fix_pod_whatis_entry.patch +++ libio-capture-perl-0.05/debian/patches/fix_pod_whatis_entry.patch @@ -0,0 +1,25 @@ +Index: libio-capture-perl/lib/IO/Capture/Overview.pod +=================================================================== +--- libio-capture-perl.orig/lib/IO/Capture/Overview.pod 2008-01-28 00:11:36.000000000 -0600 ++++ libio-capture-perl/lib/IO/Capture/Overview.pod 2008-01-28 00:13:41.000000000 -0600 +@@ -1,6 +1,6 @@ + =head1 NAME + +-Overview of C Module, and classes derived from it. ++IO::Capture -- Overview of C Module, and classes derived from it. + + =head1 DESCRIPTION + +Index: libio-capture-perl/lib/IO/Capture/Tie_STDx.pm +=================================================================== +--- libio-capture-perl.orig/lib/IO/Capture/Tie_STDx.pm 2008-01-28 00:12:18.000000000 -0600 ++++ libio-capture-perl/lib/IO/Capture/Tie_STDx.pm 2008-01-28 00:13:09.000000000 -0600 +@@ -28,7 +28,7 @@ + + =head1 NAME + +-IO::Capture::Tie_STDx; ++IO::Capture::Tie_STDx -- tie STDOUT or STDERR; + + =head1 SYNOPSIS + --- libio-capture-perl-0.05.orig/debian/patches/series +++ libio-capture-perl-0.05/debian/patches/series @@ -0,0 +1 @@ +fix_pod_whatis_entry.patch --- libio-capture-perl-0.05.orig/debian/compat +++ libio-capture-perl-0.05/debian/compat @@ -0,0 +1 @@ +6 --- libio-capture-perl-0.05.orig/debian/copyright +++ libio-capture-perl-0.05/debian/copyright @@ -0,0 +1,24 @@ +This is the debian package for the IO-Capture module. +It was created by Krzysztof Krzyzaniak (eloy) using dh-make-perl. + +The upstream authors are: +Mark Reynolds sgi.com>, Jon Morgan sgi.com>. + + +Copyright (c) 2003 Mark Reynolds and Jon Morgan +Copyright (c) 2004-2005 Mark Reynolds + +This program is free software, you can redistribute it and/or modify it under +the same terms as Perl itself. + +Perl is distributed under licenses: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in /usr/share/common-licenses/GPL' and + the Artistic Licence in /usr/share/common-licenses/Artistic'. --- libio-capture-perl-0.05.orig/debian/changelog +++ libio-capture-perl-0.05/debian/changelog @@ -0,0 +1,39 @@ +libio-capture-perl (0.05-2) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/rules: delete /usr/lib/perl5 only if it exists. + + [ Rene Mayorga ] + * Make the package ready for perl 5.10 update + * debian/control + + Raise dephelper version to 6 + + set standards-version to 3.7.3 ( no changes needed ) + + Remove leading "," in Depends + + Add quilt to B-D + * Improve debian/watch + * debian/rules + + we use quilt now + + remove OPTIMIZE, we are not using it + + use $@ when touching -stamp files + + move test suites from install to build target + + Remove commented-out and un-ussed dh_ calls + + Don't install the README file + * Add a patch to fix bad what-is entry in Pod files. + + -- Rene Mayorga Sun, 27 Jan 2008 23:56:31 -0600 + +libio-capture-perl (0.05-1) unstable; urgency=low + + * New upstream release (closes: #353141) + + -- Krzysztof Krzyzaniak (eloy) Wed, 28 Dec 2005 15:26:03 +0100 + +libio-capture-perl (0.04-1) unstable; urgency=low + + * Initial Release. + + -- Krzysztof Krzyzaniak (eloy) Wed, 28 Dec 2005 15:06:12 +0100 + --- libio-capture-perl-0.05.orig/debian/rules +++ libio-capture-perl-0.05/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +include /usr/share/quilt/quilt.make + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs BUGS + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libio-capture-perl-0.05.orig/debian/watch +++ libio-capture-perl-0.05/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/IO-Capture/ .+/IO-Capture-v?(\d[\d._]*)\.(?:tar\.gz|tar\.bz2|tgz|\.zip) --- libio-capture-perl-0.05.orig/debian/control +++ libio-capture-perl-0.05/debian/control @@ -0,0 +1,29 @@ +Source: libio-capture-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 6), quilt +Build-Depends-Indep: perl (>= 5.8.0-7) +Maintainer: Debian Perl Group +Uploaders: Krzysztof Krzyzaniak (eloy) +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/IO-Capture/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libio-capture-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-capture-perl/ + +Package: libio-capture-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Abstract Base Class to build modules to capture output + The IO::Capture Module defines an abstract base class that can be + used to build modules that capture output being sent on a filehandle + such as STDOUT or STDERR. + . + Several modules that come with the distribution do just that. + I.e., Capture STDOUT and STDERR. Also see James Keenan's + IO::Capture::Stdout::Extended on CPAN. + . + See IO::Capture::Overview for a + discussion of these modules and examples of how to build a module to + sub-class from IO::Capture yourself. If after reading the overview, + you would like to build a class from IO::Capture, look here for + details on the internals.