r34193 - in /trunk/libcgi-uploader-perl/debian: changelog compat control copyright libcgi-uploader-perl.examples rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Apr 27 13:11:07 UTC 2009


Author: gregoa
Date: Mon Apr 27 13:11:02 2009
New Revision: 34193

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

Added:
    trunk/libcgi-uploader-perl/debian/libcgi-uploader-perl.examples
Modified:
    trunk/libcgi-uploader-perl/debian/changelog
    trunk/libcgi-uploader-perl/debian/compat
    trunk/libcgi-uploader-perl/debian/control
    trunk/libcgi-uploader-perl/debian/copyright
    trunk/libcgi-uploader-perl/debian/rules

Modified: trunk/libcgi-uploader-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-uploader-perl/debian/changelog?rev=34193&op=diff
==============================================================================
--- trunk/libcgi-uploader-perl/debian/changelog (original)
+++ trunk/libcgi-uploader-perl/debian/changelog Mon Apr 27 13:11:02 2009
@@ -8,6 +8,10 @@
     (source stanza).
   * Set Standards-Version to 3.8.1 (no changes).
   * debian/control: change my email address.
+  * debian/copyright: switch to new format.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * debian/control: make short description a noun phrase.
 
  -- Jeremiah C. Foster <jeremiah at jeremiahfoster.com>  Sun, 26 Apr 2009 21:30:23 +0200
 

Modified: trunk/libcgi-uploader-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-uploader-perl/debian/compat?rev=34193&op=diff
==============================================================================
--- trunk/libcgi-uploader-perl/debian/compat (original)
+++ trunk/libcgi-uploader-perl/debian/compat Mon Apr 27 13:11:02 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libcgi-uploader-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-uploader-perl/debian/control?rev=34193&op=diff
==============================================================================
--- trunk/libcgi-uploader-perl/debian/control (original)
+++ trunk/libcgi-uploader-perl/debian/control Mon Apr 27 13:11:02 2009
@@ -1,7 +1,7 @@
 Source: libcgi-uploader-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl (>= 5.8.8-7), libcarp-assert-perl,libdbd-sqlite3-perl,libfile-mmagic-perl,libhttp-browserdetect-perl,libgraphics-magick-perl,libimage-size-perl,libmime-types-perl,libmodule-install-perl,libparams-validate-perl,libsql-abstract-perl,libwww-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>,
@@ -16,7 +16,7 @@
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}, libcarp-assert-perl,libhttp-browserdetect-perl,libimage-size-perl,libmime-types-perl,libparams-validate-perl,libsql-abstract-perl
 Recommends: libdbi-perl,libgraphics-magick-perl
-Description: Manage CGI uploads using an SQL database
+Description: module for managing CGI uploads using an SQL database
  CGI::Uploader is designed to help with the task of managing files
  uploaded through a CGI application. The files are stored on the file
  system, and the file attributes stored in a SQL database.

Modified: trunk/libcgi-uploader-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-uploader-perl/debian/copyright?rev=34193&op=diff
==============================================================================
--- trunk/libcgi-uploader-perl/debian/copyright (original)
+++ trunk/libcgi-uploader-perl/debian/copyright Mon Apr 27 13:11:02 2009
@@ -1,23 +1,36 @@
-This is the debian package for the CGI::Uploader module.
-It was created by Jaldhar H. Vyas <jaldhar at debian.org> using dh-make-perl
-from the original package found at CPAN
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Mark Stosberg <mark at summersault.com>
+Upstream-Source: http://search.cpan.org/dist/CGI-Uploader/
+Upstream-Name: CGI-Uploader
 
-The original package can be downloaded from:
-    http://search.cpan.org/dist/CGI-Uploader/
+Files: *
+Copyright: Mark Stosberg
+License-Alias: Perl
+License: GPL-1+ | Artistic
 
-Author: Mark Stosberg <mark at summersault.com>
+Files: inc/*
+Copyright: 2002 - 2009 by Brian Ingerson, Audrey Tang and Adam Kennedy
+License-Alias: Perl
+License: GPL-1+ | Artistic
 
-This program is free software; you can redistribute it and/or modify it
-under the terms as Perl itself.
+Files: debian/*
+Copyright: 2007, 2008, Damyan Ivanov <dmn at debian.org>
+ 2007, Jaldhar H. Vyas <jaldhar at debian.org>
+ 2009, Jeremiah C. Foster <jeremiah at jeremiahfoster.com>
+ 2009, gregor herrmann <gregoa at debian.org>
+License: Artistic | GPL-1+
 
-Perl is distributed under licenses:
+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'
 
-a) the GNU General Public License as published by the Free Software
-Foundation; either version 1, or (at your option) any later version, or
-                              
-b) the "Artistic License" which comes with Perl.
-                                      
-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.
-                                      
+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/libcgi-uploader-perl/debian/libcgi-uploader-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-uploader-perl/debian/libcgi-uploader-perl.examples?rev=34193&op=file
==============================================================================
--- trunk/libcgi-uploader-perl/debian/libcgi-uploader-perl.examples (added)
+++ trunk/libcgi-uploader-perl/debian/libcgi-uploader-perl.examples Mon Apr 27 13:11:02 2009
@@ -1,0 +1,2 @@
+examples/*
+*.sql

Modified: trunk/libcgi-uploader-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-uploader-perl/debian/rules?rev=34193&op=diff
==============================================================================
--- trunk/libcgi-uploader-perl/debian/rules (original)
+++ trunk/libcgi-uploader-perl/debian/rules Mon Apr 27 13:11:02 2009
@@ -1,82 +1,25 @@
 #!/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
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	#$(MAKE) test  -- needs Test::DatabaseRow
-
+	dh build --before dh_auto_test
+	# don't run tests, they need Test::DatabaseRow
+	dh build --after dh_auto_test
 	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 debian/$PACKAGE_NAME here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
+	dh install
 	touch $@
 
 binary-arch:
-# We have nothing to do by default.
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples examples/* *.sql
-	# remove a zero length file.
-	rm -f $(TMP)/usr/share/doc/$(PACKAGE)/examples/friends_photos/uploads/.empty
-	rmdir $(TMP)/usr/share/doc/$(PACKAGE)/examples/friends_photos/uploads/
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-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 install
+.PHONY: binary binary-arch binary-indep install clean build




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