r8209 - in /trunk/libmarc-lint-perl/debian: changelog control copyright rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Oct 12 04:46:25 UTC 2007


Author: dmn
Date: Fri Oct 12 04:46:22 2007
New Revision: 8209

URL: http://svn.debian.org/wsvn/?sc=1&rev=8209
Log:
* Migrate from CDBS to DH
* Add 01_fix-man-name.patch to fix CodeData whatis entry
* Drop cdbs and patchutils from Build-Depends
* Add myself as an Uploader

Modified:
    trunk/libmarc-lint-perl/debian/changelog
    trunk/libmarc-lint-perl/debian/control
    trunk/libmarc-lint-perl/debian/copyright
    trunk/libmarc-lint-perl/debian/rules

Modified: trunk/libmarc-lint-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmarc-lint-perl/debian/changelog?rev=8209&op=diff
==============================================================================
--- trunk/libmarc-lint-perl/debian/changelog (original)
+++ trunk/libmarc-lint-perl/debian/changelog Fri Oct 12 04:46:22 2007
@@ -10,8 +10,12 @@
 
   [ Damyan Ivanov ]
   * Clean up debian/watch, remove uupdate invocation as we use svn-*
+  * Migrate from CDBS to DH
+  * Add 01_fix-man-name.patch to fix CodeData whatis entry
+  * Drop cdbs and patchutils from Build-Depends
+  * Add myself as an Uploader
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:30:18 +0200
+ -- Damyan Ivanov <dmn at debian.org>  Fri, 12 Oct 2007 07:44:23 +0300
 
 libmarc-lint-perl (1.42-3) unstable; urgency=medium
 

Modified: trunk/libmarc-lint-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libmarc-lint-perl/debian/control?rev=8209&op=diff
==============================================================================
--- trunk/libmarc-lint-perl/debian/control (original)
+++ trunk/libmarc-lint-perl/debian/control Fri Oct 12 04:46:22 2007
@@ -1,10 +1,12 @@
 Source: libmarc-lint-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), cdbs (>= 0.4.27-1), quilt, patchutils (>= 0.2.25)
+Build-Depends: debhelper (>= 5.0.0), quilt
 Build-Depends-Indep: perl (>= 5.8.8-7), libbusiness-isbn-perl (>= 2.03), libmarc-record-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Vincent Danjean <vdanjean at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
+Uploaders: Vincent Danjean <vdanjean at debian.org>,
+ gregor herrmann <gregor+debian at comodo.priv.at>,
+ Damyan Ivanov <dmn at debian.org>
 Standards-Version: 3.7.2
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmarc-lint-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmarc-lint-perl/

Modified: trunk/libmarc-lint-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libmarc-lint-perl/debian/copyright?rev=8209&op=diff
==============================================================================
--- trunk/libmarc-lint-perl/debian/copyright (original)
+++ trunk/libmarc-lint-perl/debian/copyright Fri Oct 12 04:46:22 2007
@@ -6,7 +6,7 @@
 
 The upstream author is Bryan Baldus <eijabb at cpan.org>
 
-Copyright (c) 2001-2006 Baldus, Lester, Summers
+Copyright (c) 2001-2007 Baldus, Lester, Summers
 
 License:
 

Modified: trunk/libmarc-lint-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmarc-lint-perl/debian/rules?rev=8209&op=diff
==============================================================================
--- trunk/libmarc-lint-perl/debian/rules (original)
+++ trunk/libmarc-lint-perl/debian/rules Fri Oct 12 04:46:22 2007
@@ -1,13 +1,83 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
+# 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.
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-binary-install/libmarc-lint-perl::
-	rmdir --parents --ignore-fail-on-non-empty debian/libmarc-lint-perl/usr/lib/perl5
+# 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
 
-.PHONY: show-builddepends
-show-builddepends:
-	@echo "Build-Depends: $(CDBS_BUILD_DEPENDS)"
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+include /usr/share/quilt/quilt.make
+
+build: patch build-stamp
+build-stamp:
+	dh_testdir
+
+	# 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/
+	$(MAKE)
+	$(MAKE) test
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	# 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
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	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_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




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