--- libmime-types-perl-1.23.orig/debian/rules +++ libmime-types-perl-1.23/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 + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + + touch $@ + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -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 here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples + dh_installdocs README + dh_installchangelogs ChangeLog + 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 --- libmime-types-perl-1.23.orig/debian/watch +++ libmime-types-perl-1.23/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=3 +http://search.cpan.org/dist/MIME-Types/ .*/MIME-Types-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libmime-types-perl-1.23.orig/debian/compat +++ libmime-types-perl-1.23/debian/compat @@ -0,0 +1 @@ +5 --- libmime-types-perl-1.23.orig/debian/copyright +++ libmime-types-perl-1.23/debian/copyright @@ -0,0 +1,21 @@ +Upstream source location: http://search.cpan.org/dist/MIME-Types/ + +Files: * +Copyright: Copyrights 1999,2001-2007 by Mark Overmeer. +License: GPL-1+ | Artistic + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + +Files: debian/* +Copyright: + Copyright 2000, Brian M. Almeida + Copyright 2002-2003, Stephen Zander , + Copyright 2004-2008, Debian Perl Group +License: GPL-1+ | Artistic + It is assumed that all contributors put their work under the same license + as the software 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'. --- libmime-types-perl-1.23.orig/debian/changelog +++ libmime-types-perl-1.23/debian/changelog @@ -0,0 +1,170 @@ +libmime-types-perl (1.23-2) unstable; urgency=low + + * debian/rules: + - delete /usr/lib/perl5 only if it exists (closes: #467801) + - update with dh-make-perl's template's help + * debian/watch: use dist-based URL. + * debian/copyright: update and convert to new format. + + -- gregor herrmann Thu, 06 Mar 2008 23:13:25 +0100 + +libmime-types-perl (1.23-1) unstable; urgency=low + + * New upstream release + * Bumped up standards-version to 3.7.3 (No changes needed) + + -- Gunnar Wolf Sun, 23 Dec 2007 15:10:44 -0600 + +libmime-types-perl (1.22-1) unstable; urgency=low + + * New upstream release. + * Move '$(MAKE)' above '$(MAKE) test' in debian/rules. + + -- gregor herrmann Fri, 16 Nov 2007 15:56:04 +0100 + +libmime-types-perl (1.21-3) unstable; urgency=low + + * Drop patch etc_mime_types.patch on advice of upstream author + (cf. #448887). + Reopens: #165940 -- MIME::Types hard-codes the list of types, instead of + reading /etc/mime.types + * Drop patch tests.patch; not needed anymore without the former patch. + * Remove quilt from build dependencies and (un)patch targets from + debian/rules. + + -- gregor herrmann Wed, 14 Nov 2007 21:36:12 +0100 + +libmime-types-perl (1.21-2) unstable; urgency=medium + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * Add patch tests.patch; make tests pass also on 'normal' systems + (closes: #448887). + * Create separate patch etc_mime_types.patch, the changes against + lib/MIME/Types.pm were contained in the .diff.gz directly. + + [ Frank Lichtenheld ] + * debian/rules: Fix target dependencies to allow building with + dpkg-buildpackage -j. Found by Daniel Schepler. + + -- gregor herrmann Tue, 13 Nov 2007 18:49:09 +0100 + +libmime-types-perl (1.21-1) unstable; urgency=low + + * New upstream release + * Added myself to Uploaders (and wrapped it) + + -- Damyan Ivanov Tue, 11 Sep 2007 09:10:41 +0300 + +libmime-types-perl (1.20-1) unstable; urgency=low + + * New upstream release. + * Add libtest-pod-perl to Build-Depends-Indep. + + -- gregor herrmann Sun, 15 Jul 2007 00:43:39 +0200 + +libmime-types-perl (1.19-1) unstable; urgency=low + + * New upstream release. + + -- gregor herrmann Fri, 13 Apr 2007 21:17:51 +0200 + +libmime-types-perl (1.18-1) unstable; urgency=low + + * New upstream release. + + -- gregor herrmann Sun, 19 Nov 2006 19:44:42 +0100 + +libmime-types-perl (1.17-2) unstable; urgency=low + + * Use $(CURDIR) [make] instead of $(PWD) [sh] to fix issues with sudo. + * Enable tests in debian/rules. + + -- gregor herrmann Sun, 1 Oct 2006 14:31:42 +0200 + +libmime-types-perl (1.17-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Mon, 28 Aug 2006 20:11:35 -0500 + +libmime-types-perl (1.16-2) unstable; urgency=low + + * Moved debhelper to Build-Depends. + * Set Standards-Version to 3.7.2 (no changes). + * Set Debhelper Compatibility Level to 5. + * Removed empty /usr/lib/perl5 from package. + + -- gregor herrmann Fri, 16 Jun 2006 16:23:29 +0200 + +libmime-types-perl (1.16-1) unstable; urgency=low + + * New upstream release + * Bumped up standards-version to 3.6.2 + * Moved debhelper compat to debian/rules + + -- Gunnar Wolf Fri, 11 Nov 2005 17:03:26 -0600 + +libmime-types-perl (1.15-1) unstable; urgency=low + + * New upstream release + * Added debian/watch + + -- Gunnar Wolf Tue, 5 Apr 2005 18:05:04 -0500 + +libmime-types-perl (1.13-1) unstable; urgency=low + + * New upstream release + * New maintainer - Debian Perl Group via Gunnar Wolf + (Closes: #279793) + + -- Gunnar Wolf Sat, 13 Nov 2004 09:02:56 -0600 + +libmime-types-perl (1.12-1) unstable; urgency=low + + * New upstream release, + Closes: 240036 + + -- Stephen Zander Thu, 25 Mar 2004 20:33:16 -0800 + +libmime-types-perl (1.005-1) unstable; urgency=low + + * New upstream release, + Closes: #181546 + * Patch MIME::Types to read /etc/mime.types during module + initialisation. The file is processed after the internal entries, so + it will take precendence, + Closes: #165940 + + -- Stephen Zander Tue, 25 Feb 2003 23:35:27 -0800 + +libmime-types-perl (1.002-1) unstable; urgency=low + + * New upstream release + + -- Stephen Zander Tue, 13 Aug 2002 14:41:54 -0700 + +libmime-types-perl (0.16-2) unstable; urgency=medium + + * Well, there would be a new maintainer if I updated + debian/control. Bah! + + -- Stephen Zander Mon, 11 Mar 2002 21:52:20 -0800 + +libmime-types-perl (0.16-1) unstable; urgency=low + + * New upstream release. + * New maintainer. + + -- Stephen Zander Fri, 8 Mar 2002 14:46:22 -0800 + +libmime-types-perl (0.02-1) unstable; urgency=low + + * Initial Release. + + -- Brian M. Almeida Thu, 20 Jul 2000 16:18:32 -0400 + + --- libmime-types-perl-1.23.orig/debian/control +++ libmime-types-perl-1.23/debian/control @@ -0,0 +1,22 @@ +Source: libmime-types-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Gunnar Wolf , + gregor herrmann , Carlo Segre , + Damyan Ivanov +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/MIME-Types/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmime-types-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-types-perl/ +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>> 5.8.1), libtest-pod-perl + +Package: libmime-types-perl +Architecture: all +Depends: ${perl:Depends} +Description: Perl extension for determining MIME types and Transfer Encoding + A start for a more detailed data-structure to keep knowledge about + various data types are defined by MIME. Some basic treatments with + mime types are implemented. +