r24828 - in /trunk/libnet-cups-perl/debian: changelog compat control copyright libnet-cups-perl.docs libnet-cups-perl.examples rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Sep 6 16:20:43 UTC 2008


Author: gregoa
Date: Sat Sep  6 16:20:40 2008
New Revision: 24828

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24828
Log:
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.
* No need to select specific tests any more, t/03_destination.t has been
  moved to extra_t/.
* Convert debian/copyright to the new format.

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

Modified: trunk/libnet-cups-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/changelog?rev=24828&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/changelog (original)
+++ trunk/libnet-cups-perl/debian/changelog Sat Sep  6 16:20:40 2008
@@ -1,6 +1,11 @@
 libnet-cups-perl (0.59-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * No need to select specific tests any more, t/03_destination.t has been
+    moved to extra_t/.
+  * Convert debian/copyright to the new format.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 06 Sep 2008 18:09:33 +0200
 

Modified: trunk/libnet-cups-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/compat?rev=24828&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/compat (original)
+++ trunk/libnet-cups-perl/debian/compat Sat Sep  6 16:20:40 2008
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libnet-cups-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/control?rev=24828&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/control (original)
+++ trunk/libnet-cups-perl/debian/control Sat Sep  6 16:20:40 2008
@@ -5,7 +5,7 @@
 Uploaders: Rene Mayorga <rmayorga at debian.org.sv>,
  Martín Ferrari <tincho at debian.org>, Damyan Ivanov <dmn at debian.org>,
  gregor herrmann <gregoa at debian.org>, Gunnar Wolf <gwolf at debian.org>
-Build-Depends: perl, debhelper (>= 6), libcups2-dev (>= 1.3.7-3), libcupsimage2-dev
+Build-Depends: perl, debhelper (>= 7), libcups2-dev (>= 1.3.7-3), libcupsimage2-dev
 Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/Net-CUPS/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-cups-perl/

Modified: trunk/libnet-cups-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/copyright?rev=24828&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/copyright (original)
+++ trunk/libnet-cups-perl/debian/copyright Sat Sep  6 16:20:40 2008
@@ -1,30 +1,39 @@
-This package was debianized by Rene Mayorga <rmayorga at debian.org.sv>. It is
-currently maintained by the Debian Perl group.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: D. Hageman <dhageman at dracken.com>
+Upstream-Source: http://search.cpan.org/dist/Net-CUPS/
+Upstream-Name: Net-CUPS
 
-It was downloaded from: http://search.cpan.org/dist/Net-CUPS
+Files: *
+Copyright: 
+ (C) 2003-2005 D. Hageman <dhageman at dracken.com>
+ (C) 2006-2008 Dracken Technology, Inc. (http://www.dracken.com/)
+License-Alias: perl
+License: Artistic | GPL-1+
 
-Upstream Author:
-    D. Hageman <dhageman at dracken.com>
-   
-    Copyright (C) 2003-2005 D. Hageman <dhageman at dracken.com>
-    Copyright (C) 2006-2008 Dracken Technology, Inc. (http://www.dracken.com/)
+Files: :ppport.h
+Copyright:
+ Version 3.x, Copyright (c) 2004-2006, Marcus Holland-Moritz.
+ Version 2.x, Copyright (C) 2001, Paul Marquess.
+ Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
+License-Alias: perl
+License: Artistic | GPL-1+
 
+Files: debian/*
+Copyright: (C) 2007, Rene Mayorga <rmayorga at debian.org.sv>
+ (C) 2008, gregor herrmann <gregoa at debian.org>
+License: Artistic | GPL-1+
+
+License: Artistic
     This program is free software; you can redistribute it and/or modify
-    it under the same terms as Perl itself.
+    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
 
-ppport.h:
-
-    Version 3.x, Copyright (c) 2004-2006, Marcus Holland-Moritz.
-    Version 2.x, Copyright (C) 2001, Paul Marquess.
-    Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
-
-    This program is free software; you can redistribute it and/or
-    modify it under the same terms as Perl itself.
-    
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic License.  On Debian GNU/Linux systems, the complete text of the
-GNU General Public License can be found in `/usr/share/common-licenses/GPL'
-and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
-
-The Debian packaging is (C) 2007, Rene Mayorga <rmayorga at debian.org.sv> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+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-cups-perl/debian/libnet-cups-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/libnet-cups-perl.docs?rev=24828&op=file
==============================================================================
--- trunk/libnet-cups-perl/debian/libnet-cups-perl.docs (added)
+++ trunk/libnet-cups-perl/debian/libnet-cups-perl.docs Sat Sep  6 16:20:40 2008
@@ -1,0 +1,2 @@
+TODO
+README

Added: trunk/libnet-cups-perl/debian/libnet-cups-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/libnet-cups-perl.examples?rev=24828&op=file
==============================================================================
--- trunk/libnet-cups-perl/debian/libnet-cups-perl.examples (added)
+++ trunk/libnet-cups-perl/debian/libnet-cups-perl.examples Sat Sep  6 16:20:40 2008
@@ -1,0 +1,1 @@
+examples/*

Modified: trunk/libnet-cups-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/rules?rev=24828&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/rules (original)
+++ trunk/libnet-cups-perl/debian/rules Sat Sep  6 16:20:40 2008
@@ -1,74 +1,23 @@
 #!/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 = $(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=""
-	$(MAKE) test TEST_FILES="t/01_use.t t/02_cups.t"
+	dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp const-c.inc const-xs.inc
-	[ ! -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
+	dh install
 	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 examples/*
-	dh_installdocs TODO README
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep:
 
-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