r26108 - in /trunk/libnet-z3950-zoom-perl/debian: changelog compat control copyright libnet-z3950-zoom-perl.docs libnet-z3950-zoom-perl.examples libnet-z3950-zoom-perl.install rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Oct 17 21:15:49 UTC 2008


Author: gregoa
Date: Fri Oct 17 21:15:46 2008
New Revision: 26108

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26108
Log:
* debian/copyright: switch to new format.
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.

Added:
    trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.docs
    trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.examples
    trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.install
Modified:
    trunk/libnet-z3950-zoom-perl/debian/changelog
    trunk/libnet-z3950-zoom-perl/debian/compat
    trunk/libnet-z3950-zoom-perl/debian/control
    trunk/libnet-z3950-zoom-perl/debian/copyright
    trunk/libnet-z3950-zoom-perl/debian/rules

Modified: trunk/libnet-z3950-zoom-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/changelog?rev=26108&op=diff
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/changelog (original)
+++ trunk/libnet-z3950-zoom-perl/debian/changelog Fri Oct 17 21:15:46 2008
@@ -1,6 +1,9 @@
 libnet-z3950-zoom-perl (1.25-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * debian/copyright: switch to new format.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
 
  -- gregor herrmann <gregoa at debian.org>  Fri, 17 Oct 2008 22:49:45 +0200
 

Modified: trunk/libnet-z3950-zoom-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/compat?rev=26108&op=diff
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/compat (original)
+++ trunk/libnet-z3950-zoom-perl/debian/compat Fri Oct 17 21:15:46 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libnet-z3950-zoom-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/control?rev=26108&op=diff
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/control (original)
+++ trunk/libnet-z3950-zoom-perl/debian/control Fri Oct 17 21:15:46 2008
@@ -1,7 +1,7 @@
 Source: libnet-z3950-zoom-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.2), libyaz3-dev (>= 2.1.50), 
+Build-Depends: debhelper (>= 7), libyaz3-dev (>= 2.1.50), 
  libmarc-record-perl, perl (>= 5.8.0-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregoa at debian.org>,

Modified: trunk/libnet-z3950-zoom-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/copyright?rev=26108&op=diff
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/copyright (original)
+++ trunk/libnet-z3950-zoom-perl/debian/copyright Fri Oct 17 21:15:46 2008
@@ -1,30 +1,31 @@
-This is the debian package for the Net-Z3950-ZOOM module.
-It was created by gregor herrmann <gregor+debian at comodo.priv.at> using dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Mike Taylor, <mike at indexdata.com>
+Upstream-Source: http://search.cpan.org/dist/Net-Z3950-ZOOM/
+Upstream-Name: Net-Z3950-ZOOM
 
-Author:
+Files: *
+Copyright: (C) 2005-2007 by Index Data
+License-Alias: Perl
+License: Artistic | GPL-1+
 
-    Mike Taylor <mike at indexdata.com>
+Files: debian/*
+Copyright: 
+ 2006-2008, gregor herrmann <gregoa at debian.org>
+ 2007, Vincent Danjean <vdanjean at debian.org>
+ 2007, Damyan Ivanov <dmn at debian.org>
+License: Artistic | GPL-1+
 
-Copyright:
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in /usr/share/common-licenses/Artistic
 
-    Copyright (C) 2005-2007 by Index Data
-
-License:
-
-    This library is free software; you can redistribute it and/or modify
-    it under the same terms as Perl itself, either Perl version 5.8.4 or,
-    at your option, any later version of Perl 5 you may have available.
-
-    Perl is distributed under either the Artistic licence or the GPL.
-
-The full text of the GPL is available on Debian systems in
-/usr/share/common-licenses/GPL
-
-The full text of the Artistic Licence is available on Debian systems in
-/usr/share/common-licenses/Artistic.
-
-The Debian packaging is (C) 2006-2008, gregor herrmann <gregoa at debian.org>
-                            2007, Vincent Danjean <vdanjean at debian.org>
-                            2007, Damyan Ivanov <dmn at debian.org>
-and is licensed under the same licenses as the software itself (see above).
-
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by 
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.docs?rev=26108&op=file
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.docs (added)
+++ trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.docs Fri Oct 17 21:15:46 2008
@@ -1,0 +1,1 @@
+README

Added: trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.examples?rev=26108&op=file
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.examples (added)
+++ trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.examples Fri Oct 17 21:15:46 2008
@@ -1,0 +1,1 @@
+samples/*

Added: trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.install
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.install?rev=26108&op=file
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.install (added)
+++ trunk/libnet-z3950-zoom-perl/debian/libnet-z3950-zoom-perl.install Fri Oct 17 21:15:46 2008
@@ -1,0 +1,1 @@
+debian/tmp/*

Modified: trunk/libnet-z3950-zoom-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-z3950-zoom-perl/debian/rules?rev=26108&op=diff
==============================================================================
--- trunk/libnet-z3950-zoom-perl/debian/rules (original)
+++ trunk/libnet-z3950-zoom-perl/debian/rules Fri Oct 17 21:15:46 2008
@@ -1,83 +1,31 @@
 #!/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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(firstword $(shell dh_listpackages))
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation 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
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	dh build --before test
 	# test that don't need network access
 	# running all once for new packages might be a good idea
 	$(MAKE) test TEST_FILES="t/10-options.t t/11-option-callback.t t/17-logging.t t/20-options.t t/21-option-callback.t t/27-logging.t"
+	dh build --after test
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/share/perl5
-	# zselect in examples is enough
-	rm $(TMP)/usr/bin/zselect
-	[ ! -d $(TMP)/usr/bin ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/bin
-	# fix permissions in examples/
-	chmod 664 samples/zoom/*.pl
+	dh install --until dh_auto_install
+	# zselect and zoomdump in examples are enough
+	$(RM) -rv $(CURDIR)/debian/tmp/usr/bin/
+	dh install --remaining
 	touch $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
+binary-arch: install
+	dh $@
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples samples/*
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress -Xexamples
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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