r10588 - in /trunk/libxml-rss-perl/debian: changelog compat control rules watch

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Sat Dec 1 13:51:42 UTC 2007


Author: vdanjean
Date: Sat Dec  1 13:51:42 2007
New Revision: 10588

URL: http://svn.debian.org/wsvn/?sc=1&rev=10588
Log:
upgrade package to Debian Perl Group standard

Modified:
    trunk/libxml-rss-perl/debian/changelog
    trunk/libxml-rss-perl/debian/compat
    trunk/libxml-rss-perl/debian/control
    trunk/libxml-rss-perl/debian/rules
    trunk/libxml-rss-perl/debian/watch

Modified: trunk/libxml-rss-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libxml-rss-perl/debian/changelog?rev=10588&op=diff
==============================================================================
--- trunk/libxml-rss-perl/debian/changelog (original)
+++ trunk/libxml-rss-perl/debian/changelog Sat Dec  1 13:51:42 2007
@@ -1,3 +1,18 @@
+libxml-rss-perl (1.05-2) UNRELEASED; urgency=low
+
+  * [debian/watch] upgrade to version 3 with call to svn-upgrade
+  * [debian/control]
+    - fix Maintainer and Uploaders according to the Debian Perl Group policy
+    - add Homepage field
+    - add Vcs-Svn and Vcs-Browser fields
+    - upgrade Standards-Version: to 3.7.2
+    - depends on debhelper >= 5
+    - use Build-Depends instead of B-D-Indep for perl and debhelper
+  * [debian/compat] change to level 5
+  * [debian/rules] adapt it from the current perl template
+
+ -- Vincent Danjean <vdanjean at debian.org>  Sat, 01 Dec 2007 13:58:18 +0100
+
 libxml-rss-perl (1.05-1) unstable; urgency=low
 
   * New upstream version

Modified: trunk/libxml-rss-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libxml-rss-perl/debian/compat?rev=10588&op=diff
==============================================================================
--- trunk/libxml-rss-perl/debian/compat (original)
+++ trunk/libxml-rss-perl/debian/compat Sat Dec  1 13:51:42 2007
@@ -1,1 +1,1 @@
-4
+5

Modified: trunk/libxml-rss-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libxml-rss-perl/debian/control?rev=10588&op=diff
==============================================================================
--- trunk/libxml-rss-perl/debian/control (original)
+++ trunk/libxml-rss-perl/debian/control Sat Dec  1 13:51:42 2007
@@ -1,9 +1,14 @@
 Source: libxml-rss-perl
 Section: perl
 Priority: optional
-Maintainer: Jay Bonci <jaybonci at debian.org>
-Standards-Version: 3.6.1.0
-Build-Depends-Indep: debhelper (>= 4.1), perl, libtest-manifest-perl (>= 0.9), libtest-simple-perl, libxml-parser-perl (>= 2.23)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jay Bonci <jaybonci at debian.org>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), perl
+Build-Depends-Indep: libtest-manifest-perl (>= 0.9), libtest-simple-perl, libxml-parser-perl (>= 2.23)
+Homepage: http://search.cpan.org/dist/XML-RSS/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-rss-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-rss-perl/
 
 Package: libxml-rss-perl
 Section: perl

Modified: trunk/libxml-rss-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libxml-rss-perl/debian/rules?rev=10588&op=diff
==============================================================================
--- trunk/libxml-rss-perl/debian/rules (original)
+++ trunk/libxml-rss-perl/debian/rules Sat Dec  1 13:51:42 2007
@@ -1,57 +1,84 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# 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
 
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
+# 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=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PACKAGE=$(shell dh_listpackages)
 
+ifndef PERL
+PERL = /usr/bin/perl
+endif
 
-build:
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
 	dh_testdir
-	# Add here commands to compile the package.
-	perl Makefile.PL verbose INSTALLDIRS=vendor
+
+	# As this is a architecture independent package, we are not
+	# supposed to install stuff to /usr/lib. MakeMaker creates
+	# the dirs, we prevent this by setting the INSTALLVENDORARCH
+	# and VENDORARCHEXP environment variables.
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+		INSTALLVENDORARCH=/usr/share/perl5/ \
+		VENDORARCHEXP=/usr/share/perl5/
 	-find $(CURDIR)/examples -name "*.rdf" -exec chmod -x {} \; 
 	-chmod -x examples/README
+	$(MAKE)
+	$(MAKE) test
+
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 
-	-$(MAKE) clean
-	rm -f Makefile.old
-	dh_clean
+	dh_clean build-stamp install-stamp
 
-install:
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: build install-stamp
+install-stamp:
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 
-	$(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
-	-find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	-find $(TMP) -type d | xargs rmdir -p --ignore-fail-on-non-empty
 
-binary-arch:;
+	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
-	dh_installexamples
-	dh_installman
 	dh_installchangelogs Changes
-	dh_link
-	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
 	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 install configure
+.PHONY: build clean binary-indep binary-arch binary

Modified: trunk/libxml-rss-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libxml-rss-perl/debian/watch?rev=10588&op=diff
==============================================================================
--- trunk/libxml-rss-perl/debian/watch (original)
+++ trunk/libxml-rss-perl/debian/watch Sat Dec  1 13:51:42 2007
@@ -1,2 +1,2 @@
-version=2
-http://www.cpan.org/modules/by-module/XML/XML-RSS-([0-9].*)\.tar.gz
+version=3
+http://www.cpan.org/modules/by-module/XML/XML-RSS-([0-9].*)\.tar\.gz debian svn-upgrade




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