r28891 - in /trunk/libgnome2-canvas-perl/debian: changelog compat control rules

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Mon Dec 29 01:00:42 UTC 2008


Author: ryan52-guest
Date: Mon Dec 29 01:00:38 2008
New Revision: 28891

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28891
Log:
dh 7

Modified:
    trunk/libgnome2-canvas-perl/debian/changelog
    trunk/libgnome2-canvas-perl/debian/compat
    trunk/libgnome2-canvas-perl/debian/control
    trunk/libgnome2-canvas-perl/debian/rules

Modified: trunk/libgnome2-canvas-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-canvas-perl/debian/changelog?rev=28891&op=diff
==============================================================================
--- trunk/libgnome2-canvas-perl/debian/changelog (original)
+++ trunk/libgnome2-canvas-perl/debian/changelog Mon Dec 29 01:00:38 2008
@@ -12,8 +12,9 @@
   * fix watch file (Closes: #415925)
   * convert direct changes to a quilt patch
   * add README.source
+  * dh 7
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Sun, 28 Dec 2008 12:01:21 -0800
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Sun, 28 Dec 2008 17:00:33 -0800
 
 libgnome2-canvas-perl (1.002-1) unstable; urgency=low
 

Modified: trunk/libgnome2-canvas-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-canvas-perl/debian/compat?rev=28891&op=diff
==============================================================================
--- trunk/libgnome2-canvas-perl/debian/compat (original)
+++ trunk/libgnome2-canvas-perl/debian/compat Mon Dec 29 01:00:38 2008
@@ -1,1 +1,1 @@
-4
+7

Modified: trunk/libgnome2-canvas-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-canvas-perl/debian/control?rev=28891&op=diff
==============================================================================
--- trunk/libgnome2-canvas-perl/debian/control (original)
+++ trunk/libgnome2-canvas-perl/debian/control Mon Dec 29 01:00:38 2008
@@ -1,7 +1,7 @@
 Source: libgnome2-canvas-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7), libextutils-depends-perl (>= 0.200), libextutils-pkgconfig-perl (>= 1.03), libglib-perl (>= 1.040), libgtk2-perl (>= 1.040), libgnomecanvas2-dev (>= 2), quilt
+Build-Depends: debhelper (>= 7), perl (>= 5.8.0-7), libextutils-depends-perl (>= 0.200), libextutils-pkgconfig-perl (>= 1.03), libglib-perl (>= 1.040), libgtk2-perl (>= 1.040), libgnomecanvas2-dev (>= 2), quilt
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ryan Niebur <ryanryan52 at gmail.com>
 Standards-Version: 3.6.1

Modified: trunk/libgnome2-canvas-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-canvas-perl/debian/rules?rev=28891&op=diff
==============================================================================
--- trunk/libgnome2-canvas-perl/debian/rules (original)
+++ trunk/libgnome2-canvas-perl/debian/rules Mon Dec 29 01:00:38 2008
@@ -1,87 +1,29 @@
 #!/usr/bin/make -f
 
-# 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
-
-include /usr/share/quilt/quilt.make
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
+TMP=debian/libgnome2-canvas-perl
 
 build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
+build-stamp:
+	dh build
+	touch $@
 
-	# Add here commands to compile the package.
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)"
+clean:
+	dh $@
 
-	touch build-stamp
+install: install-stamp
+install-stamp: build-stamp
+	dh --until dh_installexamples install
+        rm "$(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/ENTRYPOINT_IS_canvas.pl"
+        rename -v 's/examples\/canvas-(.+).pl$$/examples\/canvas-$$1.pm/' $(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/*
+        chmod +x $(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/canvas.pl
+	dh --after dh_installexamples install
+	touch $@
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
+binary-arch: install
+	dh $@
 
-	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
+binary-indep:
 
-	dh_clean
+binary: binary-arch binary-indep
 
-install: 
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	$(MAKE) test
-	$(MAKE) install DESTDIR="$(TMP)" PREFIX=/usr
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README TODO
-
-	#Fix the examples dir:
-	dh_installexamples 
-	rm "$(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/ENTRYPOINT_IS_canvas.pl"
-	rename -v 's/examples\/canvas-(.+).pl$$/examples\/canvas-$$1.pm/' $(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/*
-	chmod +x $(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/canvas.pl
-	
-	dh_installchangelogs ChangeLog
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-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