[libfile-type-perl] 01/12: Imported Debian patch 0.22-1.1

gregor herrmann gregoa at debian.org
Fri Sep 13 14:26:58 UTC 2013


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libfile-type-perl.

commit b91e81636aeeed2a6edfc6804a1b6e6ce77567ad
Author: Mark Hymers <mhy at debian.org>
Date:   Sat Apr 5 21:09:02 2008 +0100

    Imported Debian patch 0.22-1.1
---
 debian/changelog |   13 ++++++++++
 debian/compat    |    1 +
 debian/control   |   17 +++++++++++++
 debian/copyright |   20 ++++++++++++++++
 debian/rules     |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 121 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4bc4ecc
--- /dev/null
+++ b/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 at debian.org>  Sat, 05 Apr 2008 21:09:02 +0100
+
+libfile-type-perl (0.22-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Bastian Blank <waldi at debian.org>  Fri, 08 Oct 2004 20:50:50 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d67c855
--- /dev/null
+++ b/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 at 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6cdd363
--- /dev/null
+++ b/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 at 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'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cc40e90
--- /dev/null
+++ b/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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-type-perl.git



More information about the Pkg-perl-cvs-commits mailing list