r4660 - in /packages/libtext-shellwords-perl/trunk/debian: compat control copyright old.rules rules watch

gwolf at users.alioth.debian.org gwolf at users.alioth.debian.org
Thu Dec 28 22:30:41 CET 2006


Author: gwolf
Date: Thu Dec 28 22:30:40 2006
New Revision: 4660

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=4660
Log:
Preparing for adoption - Not yet ready (will do an upstream version update as well)

Removed:
    packages/libtext-shellwords-perl/trunk/debian/old.rules
Modified:
    packages/libtext-shellwords-perl/trunk/debian/compat
    packages/libtext-shellwords-perl/trunk/debian/control
    packages/libtext-shellwords-perl/trunk/debian/copyright
    packages/libtext-shellwords-perl/trunk/debian/rules
    packages/libtext-shellwords-perl/trunk/debian/watch

Modified: packages/libtext-shellwords-perl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-shellwords-perl/trunk/debian/compat?rev=4660&op=diff
==============================================================================
--- packages/libtext-shellwords-perl/trunk/debian/compat (original)
+++ packages/libtext-shellwords-perl/trunk/debian/compat Thu Dec 28 22:30:40 2006
@@ -1,1 +1,1 @@
-4
+5

Modified: packages/libtext-shellwords-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-shellwords-perl/trunk/debian/control?rev=4660&op=diff
==============================================================================
--- packages/libtext-shellwords-perl/trunk/debian/control (original)
+++ packages/libtext-shellwords-perl/trunk/debian/control Thu Dec 28 22:30:40 2006
@@ -1,9 +1,10 @@
 Source: libtext-shellwords-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4), cdbs (>= 0.4)
+Build-Depends: debhelper (>= 5)
 Build-Depends-Indep: perl (>= 5.8.0)
-Maintainer: Debian QA Group <packages at qa.debian.org>
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Gunnar Wolf <gwolf at debian.org>
 Standards-Version: 3.7.2
 
 Package: libtext-shellwords-perl

Modified: packages/libtext-shellwords-perl/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-shellwords-perl/trunk/debian/copyright?rev=4660&op=diff
==============================================================================
--- packages/libtext-shellwords-perl/trunk/debian/copyright (original)
+++ packages/libtext-shellwords-perl/trunk/debian/copyright Thu Dec 28 22:30:40 2006
@@ -18,11 +18,11 @@
 Debianised:
   Matt Hope <dopey at debian.org>, 20030312
 
+Currently maintained by the Debian Pkg-perl Group
+
 Perl is dual-licenced under "Artistic" and "GPL".
-The text of the GPL licence is available from 
+The text of the GPL licence is available in Debian systems at
  /usr/share/common-licenses/GPL
-The text of the Artistic licence is available from
+The text of the Artistic licence is available in Debian systems at
  /usr/share/common-licenses/Artistic
-The text of the Perl licence is available from
- /usr/share/doc/perl/copyright
 

Modified: packages/libtext-shellwords-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-shellwords-perl/trunk/debian/rules?rev=4660&op=diff
==============================================================================
--- packages/libtext-shellwords-perl/trunk/debian/rules (original)
+++ packages/libtext-shellwords-perl/trunk/debian/rules Thu Dec 28 22:30:40 2006
@@ -1,7 +1,83 @@
 #!/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.
 
-# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-DEB_INSTALL_DOCS_libtext-shellwords-perl := README
+# 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
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	#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 
+	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

Modified: packages/libtext-shellwords-perl/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-shellwords-perl/trunk/debian/watch?rev=4660&op=diff
==============================================================================
--- packages/libtext-shellwords-perl/trunk/debian/watch (original)
+++ packages/libtext-shellwords-perl/trunk/debian/watch Thu Dec 28 22:30:40 2006
@@ -1,3 +1,2 @@
 version=2
-
-http://www.cpan.org/authors/id/LDS/	Text-Shellwords-(.*)\.tar\.gz	debian	uupdate
+http://www.cpan.org/modules/by-module/Text/Text-Shellowrds-([\d\.]+)\.(tar\.gz|tar|tgz)	debian	uupdate




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