r2398 - packages/libclass-inner-perl/trunk/debian

gregor herrmann gregoa-guest at costa.debian.org
Fri Mar 17 19:13:57 UTC 2006


Author: gregoa-guest
Date: 2006-03-17 19:13:56 +0000 (Fri, 17 Mar 2006)
New Revision: 2398

Added:
   packages/libclass-inner-perl/trunk/debian/watch
Modified:
   packages/libclass-inner-perl/trunk/debian/changelog
   packages/libclass-inner-perl/trunk/debian/compat
   packages/libclass-inner-perl/trunk/debian/control
   packages/libclass-inner-perl/trunk/debian/copyright
   packages/libclass-inner-perl/trunk/debian/rules
Log:
  * New maintainer (closes: #357083).
  * Bumped Standards-Version and Debhelper compatibility level.
  * Fixed copyright statement in debian/copyright.
  * Updated debian/rules.
  * Added watch file.



Modified: packages/libclass-inner-perl/trunk/debian/changelog
===================================================================
--- packages/libclass-inner-perl/trunk/debian/changelog	2006-03-17 19:05:52 UTC (rev 2397)
+++ packages/libclass-inner-perl/trunk/debian/changelog	2006-03-17 19:13:56 UTC (rev 2398)
@@ -1,3 +1,13 @@
+libclass-inner-perl (0.1-3) unstable; urgency=low
+
+  * New maintainer (closes: #357083).
+  * Bumped Standards-Version and Debhelper compatibility level.
+  * Fixed copyright statement in debian/copyright.
+  * Updated debian/rules.
+  * Added watch file.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 17 Mar 2006 20:06:41 +0100
+
 libclass-inner-perl (0.1-2) unstable; urgency=high
 
   * Fix Build-Depends by deleting my hacked dpkg-source.

Modified: packages/libclass-inner-perl/trunk/debian/compat
===================================================================
--- packages/libclass-inner-perl/trunk/debian/compat	2006-03-17 19:05:52 UTC (rev 2397)
+++ packages/libclass-inner-perl/trunk/debian/compat	2006-03-17 19:13:56 UTC (rev 2398)
@@ -1 +1 @@
-4
+5

Modified: packages/libclass-inner-perl/trunk/debian/control
===================================================================
--- packages/libclass-inner-perl/trunk/debian/control	2006-03-17 19:05:52 UTC (rev 2397)
+++ packages/libclass-inner-perl/trunk/debian/control	2006-03-17 19:13:56 UTC (rev 2398)
@@ -1,9 +1,10 @@
 Source: libclass-inner-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 3.0.5), perl (>= 5.8.0-7)
-Maintainer: Chip Salzenberg <chip at debian.org>
-Standards-Version: 3.5.1
+Build-Depends-Indep: debhelper (>= 5.0.0), perl (>= 5.8.0-7)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>
+Standards-Version: 3.6.2
 
 Package: libclass-inner-perl
 Architecture: all

Modified: packages/libclass-inner-perl/trunk/debian/copyright
===================================================================
--- packages/libclass-inner-perl/trunk/debian/copyright	2006-03-17 19:05:52 UTC (rev 2397)
+++ packages/libclass-inner-perl/trunk/debian/copyright	2006-03-17 19:13:56 UTC (rev 2398)
@@ -5,8 +5,8 @@
 Archive Network (CPAN) <URL:http://cpan.org/>.  The Debian Perl
 packaging tool "dh-make-perl" was of great help.
 
-The upstream author is Piers Cawley <pdcawley at iterative-software.com>.
-
+Copyright (c) 2001 Piers Cawley, <pdcawley at iterative-software.com>.
+    
 libclass-inner-perl may be redistributed under the terms of either the
 GNU General Public License or the Artistic License.  On a Debian
 GNU/Linux systems, the complete text of these licenses may be found in

Modified: packages/libclass-inner-perl/trunk/debian/rules
===================================================================
--- packages/libclass-inner-perl/trunk/debian/rules	2006-03-17 19:05:52 UTC (rev 2397)
+++ packages/libclass-inner-perl/trunk/debian/rules	2006-03-17 19:13:56 UTC (rev 2398)
@@ -1,82 +1,87 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
+# 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
 
-ifndef DESTDIR
-DESTDIR=..
+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
-TMP     =`pwd`/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
 
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)"
 	
-	# Add here commands to compile the package.
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
 
-	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
+	# Add commands to clean up after the build process here
+	-$(MAKE) distclean
+	
+	dh_clean build-stamp install-stamp
 
-	dh_clean
-
-install: 
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 
-	# Add here commands to install the package into debian/tmp.
-	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
-	$(MAKE) install PREFIX=$(TMP)/usr
+	$(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
 
-# Build architecture-dependent files here.
-binary-arch: build install
+binary-arch:
 # 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_installexamples
-	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
-	dh_installcron
-	dh_installman
 	dh_installchangelogs Changes
+	dh_perl
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_makeshlibs
 	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb --destdir=$(DESTDIR)
+	dh_builddeb
 
 source diff:                                                                  
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

Added: packages/libclass-inner-perl/trunk/debian/watch
===================================================================
--- packages/libclass-inner-perl/trunk/debian/watch	2006-03-17 19:05:52 UTC (rev 2397)
+++ packages/libclass-inner-perl/trunk/debian/watch	2006-03-17 19:13:56 UTC (rev 2398)
@@ -0,0 +1,3 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+http://mirrors.kernel.org/cpan/modules/by-module/Class/Class-Inner-([\d\.]+)\.tar\.gz




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