--- libclass-factory-perl-1.06.orig/debian/control +++ libclass-factory-perl-1.06/debian/control @@ -0,0 +1,26 @@ +Source: libclass-factory-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.0-7) +Maintainer: Debian Perl Group +Uploaders: gregor herrmann , + Carlo Segre , Krzysztof Krzyzaniak (eloy) , + Damyan Ivanov +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Class-Factory/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-factory-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-factory-perl/ + +Package: libclass-factory-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, +Description: Base class for dynamic factory classes + This is a simple module that factory classes can use to generate new + types of objects on the fly, providing a consistent interface to common + groups of objects. + . + Factory classes are used when you have different implementations for + the same set of tasks but may not know in advance what implementations + you will be using. With a factory class this is easy. Class::Factory + even provides a simple constructor for you. --- libclass-factory-perl-1.06.orig/debian/rules +++ libclass-factory-perl-1.06/debian/rules @@ -0,0 +1,69 @@ +#!/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 build-stamp + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) distclean + +install: install-stamp +install-stamp: build-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 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_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 --- libclass-factory-perl-1.06.orig/debian/watch +++ libclass-factory-perl-1.06/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://search.cpan.org/dist/Class-Factory/ .*/Class-Factory-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libclass-factory-perl-1.06.orig/debian/copyright +++ libclass-factory-perl-1.06/debian/copyright @@ -0,0 +1,39 @@ +Chip Salzenberg created this Debian package using +original module sources, as found on the Comprehensive Perl Archive +Network (CPAN) . The Debian Perl packaging tool +"dh-make-perl" was of great help. + +Upstream URL: http://search.cpan.org/dist/Class-Factory/ + + +COPYRIGHT AND LICENCE + +Copyright (c) 2002-2007 Chris Winters. All rights reserved. + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +AUTHORS + +Fred Moyer is the current maintainer. + +Chris Winters is the author of Class::Factory. + +Eric Andreychek also helped out with code, +testing and good advice. + +Srdjan Jankovic contributed the idea for +'get_my_factory()' and 'get_my_factory_type()' + +Sebastian Knapp contributed the idea for +'get_registered_class()' + +Marcel Gruenauer contributed the methods +remove_factory_type() and unregister_factory_type(). + + +libclass-factory-perl may be redistributed 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'. --- libclass-factory-perl-1.06.orig/debian/compat +++ libclass-factory-perl-1.06/debian/compat @@ -0,0 +1 @@ +5 --- libclass-factory-perl-1.06.orig/debian/changelog +++ libclass-factory-perl-1.06/debian/changelog @@ -0,0 +1,62 @@ +libclass-factory-perl (1.06-2) unstable; urgency=low + + * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467729). + * debian/watch: use dist-based URL. + * Set Standards-Version to 3.7.3 (no changes). + + -- gregor herrmann Fri, 07 Mar 2008 16:09:19 +0100 + +libclass-factory-perl (1.06-1) unstable; urgency=low + + [ gregor herrmann ] + * New upstream release. + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/copyright: Add upstream URL and update copyright information and + list of authors. + * debian/rules: + - Don't ignore errors of make distclean. + - Cleanup (comments, compiler arguments, unused dh_* calls). + + [ Damyan Ivanov ] + * Move test suite from install to build target + * Add myself to Uploaders. Wrapped Uploaders. + + -- Damyan Ivanov Mon, 12 Nov 2007 14:23:03 +0200 + +libclass-factory-perl (1.05-1) unstable; urgency=low + + * New upstream release + * Added me to Uploaders + * Updated debian/watch file + + -- Krzysztof Krzyzaniak (eloy) Fri, 13 Apr 2007 09:55:05 +0200 + +libclass-factory-perl (1.04-1) unstable; urgency=low + + * New upstream release. + * Set Standards-Version to 3.7.2 (no changes). + + -- gregor herrmann Sat, 2 Sep 2006 18:42:06 +0200 + +libclass-factory-perl (1.03-2) unstable; urgency=low + + * New maintainer (closes: #357076). + * Added copyright statement to debian/copyright. + * Bumped Standards-Version and Debhelper compatibility level. + * Added watch file. + + -- gregor herrmann Fri, 17 Mar 2006 19:54:00 +0100 + +libclass-factory-perl (1.03-1) unstable; urgency=low + + * New upstream release. + + -- Chip Salzenberg Tue, 8 Mar 2005 12:12:01 -0500 + +libclass-factory-perl (1.00-1) unstable; urgency=low + + * Initial Release. + + -- Chip Salzenberg Tue, 30 Mar 2004 21:08:18 -0500