--- perltidy-20070801.orig/debian/rules +++ perltidy-20070801/debian/rules @@ -6,7 +6,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export DH_COMPAT=3 PACKAGE=$(shell dh_listpackages) @@ -14,17 +13,12 @@ PERL = /usr/bin/perl endif -ifndef DESTDIR -DESTDIR=.. -endif TMP =`pwd`/debian/$(PACKAGE) build: build-stamp build-stamp: dh_testdir - - # Add here commands to compile the package. $(PERL) Makefile.PL INSTALLDIRS=vendor $(MAKE) OPTIMIZE="-O2 -g -Wall" @@ -35,8 +29,10 @@ dh_testroot rm -f build-stamp - # Add here commands to clean up after the build process. - -$(MAKE) realclean + if [ -e Makefile ]; then \ + $(MAKE) distclean;\ + rm -f Makefile;\ + fi dh_clean @@ -46,9 +42,9 @@ dh_clean -k dh_installdirs - # Add here commands to install the package into debian/tmp. - #$(MAKE) install DESTDIR=`pwd`/debian/tmp $(MAKE) install PREFIX=$(TMP)/usr + rmdir -p --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5 + # Build architecture-dependent files here. @@ -57,32 +53,21 @@ # Build architecture-independent files here. binary-indep: build install -# dh_testversion dh_testdir dh_testroot dh_installdocs BUGS TODO README examples/README docs/README - dh_installexamples + dh_installexamples examples/* dh_installmenu -# dh_installemacsen -# dh_installinit dh_installcron dh_installman -# dh_undocumented dh_installchangelogs CHANGES - dh_link - dh_strip dh_compress dh_fixperms -# dh_makeshlibs dh_installdeb dh_perl - dh_shlibdeps dh_gencontrol dh_md5sums - dh_builddeb --destdir=$(DESTDIR) - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary --- perltidy-20070801.orig/debian/changelog +++ perltidy-20070801/debian/changelog @@ -2,39 +2,37 @@ * New upstream release - -- Steve Hancock Tue, 31 Jul 2007 19:12:50 -0700 + -- Don Armstrong Mon, 20 Aug 2007 23:07:33 -0700 perltidy (20070508-1) unstable; urgency=low * New upstream release - -- Steve Hancock Tue, 08 May 2007 13:04:28 -0700 + -- Don Armstrong Tue, 1 May 2007 03:03:29 -0700 -perltidy (20070504-1) unstable; urgency=low - - * New upstream release - - -- Steve Hancock Fri, 04 May 2007 07:03:29 -0700 - -perltidy (20070424-1) unstable; urgency=low - - * New upstream release - - -- Steve Hancock Tue, 24 Apr 2007 16:40:09 -0700 - perltidy (20060719-1) unstable; urgency=low * New upstream release - - -- Steve Hancock Wed, 19 Jul 2006 16:16:15 -0700 + -- Don Armstrong Fri, 28 Jul 2006 22:02:55 -0700 perltidy (20060614-1) unstable; urgency=low * New upstream release - -- Steve Hancock Tue, 13 Jun 2006 18:59:02 -0700 + -- Don Armstrong Fri, 23 Jun 2006 13:23:08 -0700 + +perltidy (20031021-2) unstable; urgency=low + * New maintainer adopting this package (closes: #206884) + * Modifications to packaging to make the package suitable for inclusion + in debian. (closes: #162066) + * Change Build-Depends to perl (>=5.6.0-16) as per perl policy + * Add reference to -st and note that - doesn't mean stdout to -o + documentation (closes: #202916) + * New upstream properly removes useless semi-colons (closes: #203171) + + -- Don Armstrong Wed, 18 Aug 2004 22:54:01 -0700 perltidy (20031021-1) unstable; urgency=low @@ -86,6 +84,4 @@ -- Dr. Guenter Bechly Tue, 27 Mar 2001 19:39:30 +0200 -Local variables: -mode: debian-changelog -End: + --- perltidy-20070801.orig/debian/control +++ perltidy-20070801/debian/control @@ -1,14 +1,15 @@ Source: perltidy -Section: interpreters +Section: devel Priority: optional -Maintainer: Steve Hancock -Build-Depends: debhelper (>= 3.0.5), perl (>= 5.6.1-7) -Standards-Version: 3.5.1 +Maintainer: Don Armstrong +Build-Depends: debhelper (>= 4) +Build-Depends-Indep: perl (>= 5.6.0-16) +Standards-Version: 3.7.2 Package: perltidy Architecture: all Depends: ${perl:Depends} -Description: A Perl script indenter and reformatter +Description: Perl script indenter and reformatter Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read. . @@ -16,5 +17,8 @@ The default parameter settings approximately follow the suggestions in the Perl Style Guide. . - If you write Perl scripts, or spend much time reading them, - you will probably find it useful. + Perltidy can also generate formatted HTML output from POD, and can + even generate colored output in HTML for scripts. See examples at + http://perltidy.sourceforge.net/ + . + Homepage: http://perltidy.sourceforge.net/ --- perltidy-20070801.orig/debian/compat +++ perltidy-20070801/debian/compat @@ -0,0 +1 @@ +4 \ No newline at end of file --- perltidy-20070801.orig/debian/watch +++ perltidy-20070801/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 2; this line is compulsory! +version=2 + +http://sf.net/perltidy/Perl-Tidy-(.*)\.tar\.gz \ No newline at end of file --- perltidy-20070801.orig/bin/perltidy +++ perltidy-20070801/bin/perltidy @@ -170,7 +170,9 @@ Name of the output file (only if a single input file is being processed). If no output file is specified, and output is not -redirected to the standard output, the output will go to F. +redirected to the standard output (see B<-st>), the output will go to +F. [Note: - does not redirect to standard output. Use +B<-st> instead.] =item B<-st>, B<--standard-output>