r2391 - in packages/libclass-factory-perl/trunk: . debian

gregor herrmann gregoa-guest at costa.debian.org
Fri Mar 17 18:47:33 UTC 2006


Author: gregoa-guest
Date: 2006-03-17 18:47:32 +0000 (Fri, 17 Mar 2006)
New Revision: 2391

Added:
   packages/libclass-factory-perl/trunk/debian/
   packages/libclass-factory-perl/trunk/debian/changelog
   packages/libclass-factory-perl/trunk/debian/compat
   packages/libclass-factory-perl/trunk/debian/control
   packages/libclass-factory-perl/trunk/debian/copyright
   packages/libclass-factory-perl/trunk/debian/rules
Log:
Load libclass-factory-perl-1.03 into
packages/libclass-factory-perl/trunk.


Added: packages/libclass-factory-perl/trunk/debian/changelog
===================================================================
--- packages/libclass-factory-perl/trunk/debian/changelog	2006-03-17 18:47:12 UTC (rev 2390)
+++ packages/libclass-factory-perl/trunk/debian/changelog	2006-03-17 18:47:32 UTC (rev 2391)
@@ -0,0 +1,12 @@
+libclass-factory-perl (1.03-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Chip Salzenberg <chip at debian.org>  Tue,  8 Mar 2005 12:12:01 -0500
+
+libclass-factory-perl (1.00-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Chip Salzenberg <chip at debian.org>  Tue, 30 Mar 2004 21:08:18 -0500
+

Added: packages/libclass-factory-perl/trunk/debian/compat
===================================================================
--- packages/libclass-factory-perl/trunk/debian/compat	2006-03-17 18:47:12 UTC (rev 2390)
+++ packages/libclass-factory-perl/trunk/debian/compat	2006-03-17 18:47:32 UTC (rev 2391)
@@ -0,0 +1 @@
+4

Added: packages/libclass-factory-perl/trunk/debian/control
===================================================================
--- packages/libclass-factory-perl/trunk/debian/control	2006-03-17 18:47:12 UTC (rev 2390)
+++ packages/libclass-factory-perl/trunk/debian/control	2006-03-17 18:47:32 UTC (rev 2391)
@@ -0,0 +1,20 @@
+Source: libclass-factory-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2)
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Chip Salzenberg <chip at debian.org>
+Standards-Version: 3.6.1
+
+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.

Added: packages/libclass-factory-perl/trunk/debian/copyright
===================================================================
--- packages/libclass-factory-perl/trunk/debian/copyright	2006-03-17 18:47:12 UTC (rev 2390)
+++ packages/libclass-factory-perl/trunk/debian/copyright	2006-03-17 18:47:32 UTC (rev 2391)
@@ -0,0 +1,13 @@
+Chip Salzenberg <chip at debian.org> created this Debian package using
+original module sources, as found on the Comprehensive Perl Archive
+Network (CPAN) <URL:http://cpan.org/>.  The Debian Perl packaging tool
+"dh-make-perl" was of great help.
+
+The upstream author is Chris Winters <chris at cwinters.com>, with
+help from Eric Andreychek <eric at openthought.net>.
+
+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'.

Added: packages/libclass-factory-perl/trunk/debian/rules
===================================================================
--- packages/libclass-factory-perl/trunk/debian/rules	2006-03-17 18:47:12 UTC (rev 2390)
+++ packages/libclass-factory-perl/trunk/debian/rules	2006-03-17 18:47:32 UTC (rev 2391)
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at 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)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)"
+	
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	-$(MAKE) distclean
+	
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	#$(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:
+	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_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
+
+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


Property changes on: packages/libclass-factory-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




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