r9652 - in /trunk/libgtk2-ex-printdialog-perl/debian: compat control copyright rules watch

ra28145-guest at users.alioth.debian.org ra28145-guest at users.alioth.debian.org
Wed Nov 21 21:22:33 UTC 2007


Author: ra28145-guest
Date: Wed Nov 21 21:22:33 2007
New Revision: 9652

URL: http://svn.debian.org/wsvn/?sc=1&rev=9652
Log:
+ compat level 5
+ author-independent URLs in debian/watch and debian/copyright
+ improved copyright and licensing info
+ replaced rules with latest rules.Makemaker.noxs
+ updated build-dependencies and dependencies

Modified:
    trunk/libgtk2-ex-printdialog-perl/debian/compat
    trunk/libgtk2-ex-printdialog-perl/debian/control
    trunk/libgtk2-ex-printdialog-perl/debian/copyright
    trunk/libgtk2-ex-printdialog-perl/debian/rules
    trunk/libgtk2-ex-printdialog-perl/debian/watch

Modified: trunk/libgtk2-ex-printdialog-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libgtk2-ex-printdialog-perl/debian/compat?rev=9652&op=diff
==============================================================================
--- trunk/libgtk2-ex-printdialog-perl/debian/compat (original)
+++ trunk/libgtk2-ex-printdialog-perl/debian/compat Wed Nov 21 21:22:33 2007
@@ -1,1 +1,1 @@
-4
+5

Modified: trunk/libgtk2-ex-printdialog-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libgtk2-ex-printdialog-perl/debian/control?rev=9652&op=diff
==============================================================================
--- trunk/libgtk2-ex-printdialog-perl/debian/control (original)
+++ trunk/libgtk2-ex-printdialog-perl/debian/control Wed Nov 21 21:22:33 2007
@@ -2,12 +2,12 @@
 Section: perl
 Priority: optional
 Maintainer: Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>
-Build-Depends: debhelper (>= 4), dpatch
+Build-Depends: debhelper (>= 5), perl (>= 5.8.0), libgtk2-perl
 Standards-Version: 3.7.2
 
 Package: libgtk2-ex-printdialog-perl
 Architecture: all
-Depends: perl (>= 5.8.0), libgtk2-perl
+Depends: ${perl:Depends}, libgtk2-perl, liblocale-gettext-perl
 Description: a pure-perl alternative to the Gnome2::Print libraries
  libgtk2-ex-printdialog-perl implements a dialog widget that can be used to
  print PostScript data. It is intended to be a lightweight and pure-perl

Modified: trunk/libgtk2-ex-printdialog-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libgtk2-ex-printdialog-perl/debian/copyright?rev=9652&op=diff
==============================================================================
--- trunk/libgtk2-ex-printdialog-perl/debian/copyright (original)
+++ trunk/libgtk2-ex-printdialog-perl/debian/copyright Wed Nov 21 21:22:33 2007
@@ -1,17 +1,17 @@
 This package was debianized by Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com> on
 Sun, 18 Nov 2007 18:38:04 +0100.
 
-It was downloaded from http://search.cpan.org/~gbrown/Gtk2-Ex-PrintDialog-0.03/
+It was downloaded from http://search.cpan.org/dist/Gtk2-Ex-PrintDialog/
 
 The upstream Author is Gavin Brown <gavin.brown at uk.com>.
 
-Copyright: (c) 2004-2005 Gavin Brown <gavin.brown at uk.com>
+Copyright: (c) 2003 (README), 2005 (PrintDialog.pm) Gavin Brown <gavin.brown at uk.com>
 
-All rights reserved. This program is free software; you can 
-redistribute it and/or modify it under the same terms as Perl
-itself (GPL and Artistic license)
-
-On Debian systems the complete text of the GPL and Artistic
-licenses can be found at:
-	/usr/share/common-licenses/GPL and
-	/usr/share/common-licenses/Artistic
+Both this module and its Debian package are free software;
+you can redistribute them 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'.

Modified: trunk/libgtk2-ex-printdialog-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libgtk2-ex-printdialog-perl/debian/rules?rev=9652&op=diff
==============================================================================
--- trunk/libgtk2-ex-printdialog-perl/debian/rules (original)
+++ trunk/libgtk2-ex-printdialog-perl/debian/rules Wed Nov 21 21:22:33 2007
@@ -1,40 +1,55 @@
 #!/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: patch build-stamp
+build: build-stamp
 build-stamp:
 	dh_testdir
 
-	/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" 
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 
 	touch build-stamp
 
-clean: unpatch clean-unpatched
-clean-unpatched:
+clean:
 	dh_testdir
 	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) distclean
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
 	dh_clean build-stamp install-stamp
 
-install: install-stamp
-install-stamp: build-stamp
+install: build install-stamp
+install-stamp:
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 
-	$(MAKE) test
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	#TEST#
 	$(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:
+
+	# 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:
 	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 
 	touch install-stamp
@@ -45,11 +60,14 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
+#	dh_installcron
+#	dh_installmenu
+#	dh_installexamples
+	dh_installdocs #DOCS#
+	dh_installchangelogs #CHANGES#
 	dh_perl
-	dh_installchangelogs
 	dh_link
-	dh_strip
+#	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -57,18 +75,8 @@
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
+source diff:
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
-patch: patch-stamp
-patch-stamp:
-	dpatch apply-all
-	#dpatch call-all -a=pkg-info >patch-stamp #I don't understand this one.
-	echo patched > patch-stamp
-
-unpatch:
-	dpatch deapply-all
-	rm -rf patch-stamp debian/patched
-
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary patch unpatch patch-stamp clean-unpatch
+.PHONY: build clean binary-indep binary-arch binary

Modified: trunk/libgtk2-ex-printdialog-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libgtk2-ex-printdialog-perl/debian/watch?rev=9652&op=diff
==============================================================================
--- trunk/libgtk2-ex-printdialog-perl/debian/watch (original)
+++ trunk/libgtk2-ex-printdialog-perl/debian/watch Wed Nov 21 21:22:33 2007
@@ -1,3 +1,3 @@
 version=2
 
-http://search.cpan.org/CPAN/authors/id/G/GB/GBROWN/Gtk2-Ex-PrintDialog-([\d\.]+).tar.gz
+http://search.cpan.org/dist/Gtk2-Ex-PrintDialog-([\d\.]+)\.tar\.gz




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