r28297 - in /trunk/libnetaddr-ip-perl/debian: changelog compat control copyright libnetaddr-ip-perl.docs rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Dec 16 16:41:50 UTC 2008


Author: gregoa
Date: Tue Dec 16 16:41:47 2008
New Revision: 28297

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28297
Log:
* debian/copyright: switch to new format and mention how the +dfsg version
  is created.
* Don't install upstream READMEs anymore, they are just text versions of the
  POD documentation. Install TODO instead.
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.
* Add /me to Uploaders.

Added:
    trunk/libnetaddr-ip-perl/debian/libnetaddr-ip-perl.docs
Modified:
    trunk/libnetaddr-ip-perl/debian/changelog
    trunk/libnetaddr-ip-perl/debian/compat
    trunk/libnetaddr-ip-perl/debian/control
    trunk/libnetaddr-ip-perl/debian/copyright
    trunk/libnetaddr-ip-perl/debian/rules

Modified: trunk/libnetaddr-ip-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/debian/changelog?rev=28297&op=diff
==============================================================================
--- trunk/libnetaddr-ip-perl/debian/changelog (original)
+++ trunk/libnetaddr-ip-perl/debian/changelog Tue Dec 16 16:41:47 2008
@@ -14,6 +14,13 @@
   * New upstream release.
   * Remove patch 10_special-chars-to-utf8.patch, not needed any more. Remove
     quilt framework and debian/README.source.
+  * debian/copyright: switch to new format and mention how the +dfsg version
+    is created.
+  * Don't install upstream READMEs anymore, they are just text versions of the
+    POD documentation. Install TODO instead.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * Add /me to Uploaders.
 
  -- Franck Joncourt <franck.mail at dthconnex.com>  Sat, 15 Nov 2008 00:02:04 +0100
 

Modified: trunk/libnetaddr-ip-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/debian/compat?rev=28297&op=diff
==============================================================================
--- trunk/libnetaddr-ip-perl/debian/compat (original)
+++ trunk/libnetaddr-ip-perl/debian/compat Tue Dec 16 16:41:47 2008
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libnetaddr-ip-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/debian/control?rev=28297&op=diff
==============================================================================
--- trunk/libnetaddr-ip-perl/debian/control (original)
+++ trunk/libnetaddr-ip-perl/debian/control Tue Dec 16 16:41:47 2008
@@ -1,10 +1,10 @@
 Source: libnetaddr-ip-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6), perl (>= 5.6.0-17), libtest-pod-perl
+Build-Depends: debhelper (>= 7), perl (>= 5.6.0-17), libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Julian Mehnle <julian at mehnle.net>, Gunnar Wolf <gwolf at debian.org>,
- Damyan Ivanov <dmn at debian.org>
+ Damyan Ivanov <dmn at debian.org>, gregor herrmann <gregoa at debian.org>
 Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/NetAddr-IP/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnetaddr-ip-perl/

Modified: trunk/libnetaddr-ip-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/debian/copyright?rev=28297&op=diff
==============================================================================
--- trunk/libnetaddr-ip-perl/debian/copyright (original)
+++ trunk/libnetaddr-ip-perl/debian/copyright Tue Dec 16 16:41:47 2008
@@ -1,22 +1,34 @@
-This is the debian package for the NetAddr::IP module.
-It was created by Elie Rosenblum <fnord at debian.org> using dh-make-perl.
-As of June 2007, it is now maintained by the Debian Perl Group
-<pkg-perl-maintainers at lists.alioth.debian.org> 
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Luis E. Muñoz <luismunoz at cpan.org>,
+    Michael Robinton <michael at bizsystems.com>
+Upstream-Source: http://search.cpan.org/dist/NetAddr-IP/
+Upstream-Name: NetAddr-IP
+X-Comment: The +dfsg version is created by removing the non-free RFC from
+ the docs/ directory. debian/repack.sh automates this process.
 
-It was downloaded from http://search.cpan.org/dist/NetAddr/
+Files: *
+Copyright:
+ 1999-2007, Luis E. Muñoz <luismunoz at cpan.org>
+ 2006-2008, Michael Robinton <michael at bizsystems.com>
+License: Artistic
 
-The upstream authors are:
-  Luis E. Muñoz <luismunoz at cpan.org>
-  Michael A. Robinton <michael at bizsystems.com>
+Files: debian/*
+Copyright: 
+ 2001-2003, Elie Rosenblum <fnord at debian.org>
+ 2007-2008, various members of the Debian Perl Group, cf. debian/changelog
+License: GPL-1+ | Artistic
 
-This software is Copyright 1999-2007 Luis E. Muñoz, and Copyright
-2006-2007 Michael A. Robinton.  It can be used under the terms of the
-perl artistic license provided that proper credit for the work of the
-authors is preserved in the form of this copyright notice and license
-for this module.
+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'
 
-No warranty of any kind is expressed or implied.  This code might make your
-computer go up in a puff of black smoke.
-
-The perl artistic license can be found locally on a Debian system as:
-  /usr/share/common-licenses/Artistic
+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'

Added: trunk/libnetaddr-ip-perl/debian/libnetaddr-ip-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/debian/libnetaddr-ip-perl.docs?rev=28297&op=file
==============================================================================
--- trunk/libnetaddr-ip-perl/debian/libnetaddr-ip-perl.docs (added)
+++ trunk/libnetaddr-ip-perl/debian/libnetaddr-ip-perl.docs Tue Dec 16 16:41:47 2008
@@ -1,0 +1,1 @@
+TODO

Modified: trunk/libnetaddr-ip-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/debian/rules?rev=28297&op=diff
==============================================================================
--- trunk/libnetaddr-ip-perl/debian/rules (original)
+++ trunk/libnetaddr-ip-perl/debian/rules Tue Dec 16 16:41:47 2008
@@ -1,95 +1,29 @@
 #!/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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
+PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimation 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
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
-
+	dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into $(TMP) here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture dependent package, we are not
-	# supposed to install stuff to /usr/share. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
+	dh install --before dh_compress
+	cp Lite/Changes      $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Lite
+	cp Lite/Util/Changes $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Util
+	dh install --remaining
 	touch $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary-arch: install
+	dh $@
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	cp Lite/README       $(TMP)/usr/share/doc/$(PACKAGE)/README.NetAddr-IP-Lite
-	cp Lite/Util/README  $(TMP)/usr/share/doc/$(PACKAGE)/README.NetAddr-IP-Lite-Util
-	dh_installchangelogs Changes
-	cp Lite/Changes      $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Lite
-	cp Lite/Util/Changes $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Util
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep:
 
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build




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