libdevice-modem-perl (1.47-2.1) debian-dir only changes

Summary

 debian/changelog |   20 +++++++++++++
 debian/compat    |    1 
 debian/control   |   15 ++++++++++
 debian/copyright |   30 ++++++++++++++++++++
 debian/rules     |   79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 145 insertions(+)

    
download this patch

Patch contents

--- libdevice-modem-perl-1.47.orig/debian/compat
+++ libdevice-modem-perl-1.47/debian/compat
@@ -0,0 +1 @@
+4
--- libdevice-modem-perl-1.47.orig/debian/changelog
+++ libdevice-modem-perl-1.47/debian/changelog
@@ -0,0 +1,20 @@
+libdevice-modem-perl (1.47-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Perl 5.10.  Closes: #467820
+
+ -- Mark Hymers <mhy@debian.org>  Sat, 05 Apr 2008 21:09:02 +0100
+
+libdevice-modem-perl (1.47-2) unstable; urgency=low
+
+  * Changed maintainer address.
+
+ -- Dirk Proesdorf <dirk@proesdorf.de>  Thu,  4 Jan 2007 19:07:50 +0100
+
+libdevice-modem-perl (1.47-1) unstable; urgency=low
+
+  * Initial Release.
+  * Add "=head1 NAME" section in lib/Device/Modem/Protocol/Xmodem.pm to build
+    a correct manpage.
+
+ -- Dirk Prösdorf <dirk@tux.proesdorf.de>  Wed,  3 Jan 2007 13:15:17 +0100
--- libdevice-modem-perl-1.47.orig/debian/copyright
+++ libdevice-modem-perl-1.47/debian/copyright
@@ -0,0 +1,30 @@
+This is the debian package for the Device-Modem module.
+It was created by Dirk Proesdorf <dirk@proesdorf.de> using dh-make-perl.
+
+Original sources were obtained from CPAN.
+
+The upstream author is:
+
+Cosimo Streppone, cosimo@cpan.org.
+
+
+(C) 2002-2006 Cosimo Streppone, cosimo@cpan.org
+
+This library is free software; you can only redistribute it and/or
+modify it under the same terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License.  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'.
+
+
+The upstream source includes lib/Device/Modem/UsRobotics.pm witch is a
+derivated work from Ludovic Drolez, ldrolez@free.fr.
+
+(C) 1998-2003 Ludovic Drolez, ldrolez@free.fr
+
+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.
--- libdevice-modem-perl-1.47.orig/debian/control
+++ libdevice-modem-perl-1.47/debian/control
@@ -0,0 +1,15 @@
+Source: libdevice-modem-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), libdevice-serialport-perl
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Dirk Proesdorf <dirk@proesdorf.de>
+Standards-Version: 3.7.2
+
+Package: libdevice-modem-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libdevice-serialport-perl
+Description: Perl class to interface generic modems (AT-compliant)
+ Device::Modem class implements basic AT (Hayes) compliant device abstraction.
+ It can be inherited by sub classes (as Device::Gsm), which are based on serial
+ connections.
--- libdevice-modem-perl-1.47.orig/debian/rules
+++ libdevice-modem-perl-1.47/debian/rules
@@ -0,0 +1,79 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> 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
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	$(MAKE) test
+	$(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 $(TMP)/usr/lib/perl5
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_link
+	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