libfile-type-perl (0.22-1.1) debian-dir only changes

Summary

 debian/changelog |   13 ++++++++++
 debian/compat    |    1 
 debian/control   |   17 +++++++++++++
 debian/copyright |   20 +++++++++++++++
 debian/rules     |   70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 121 insertions(+)

    
download this patch

Patch contents

--- libfile-type-perl-0.22.orig/debian/compat
+++ libfile-type-perl-0.22/debian/compat
@@ -0,0 +1 @@
+4
--- libfile-type-perl-0.22.orig/debian/changelog
+++ libfile-type-perl-0.22/debian/changelog
@@ -0,0 +1,13 @@
+libfile-type-perl (0.22-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Perl 5.10.  Closes: #467822
+
+ -- Mark Hymers <mhy@debian.org>  Sat, 05 Apr 2008 21:09:02 +0100
+
+libfile-type-perl (0.22-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Bastian Blank <waldi@debian.org>  Fri, 08 Oct 2004 20:50:50 +0200
+
--- libfile-type-perl-0.22.orig/debian/copyright
+++ libfile-type-perl-0.22/debian/copyright
@@ -0,0 +1,20 @@
+This is the debian package for the Type::File module.
+
+It was downloaded from the Comprehensive Perl Archive Network (CPAN).
+Visit <http://www.perl.com/CPAN/> to find a CPAN site near you.
+
+The upstream author is: 
+
+Paul Mison <pmison@fotango.com>
+
+Copyright 2003-2004 Fotango Ltd.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+See http://www.perl.com/perl/misc/Artistic.html
+
+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'.
--- libfile-type-perl-0.22.orig/debian/control
+++ libfile-type-perl-0.22/debian/control
@@ -0,0 +1,17 @@
+Source: libfile-type-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2)
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Bastian Blank <waldi@debian.org>
+Standards-Version: 3.6.1
+
+Package: libfile-type-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: determine file type using magic structure
+ File::Type uses magic numbers (typically at the start of a file) to 
+ determine the MIME type of that file.
+ .
+ File::Type can use either a filename, or file contents, to determine the
+ type of a file.
--- libfile-type-perl-0.22.orig/debian/rules
+++ libfile-type-perl-0.22/debian/rules
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+
+# 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
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	-$(MAKE) distclean
+	
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+#	dh_installcron
+#	dh_installmenu
+#	dh_installexamples
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary