r24877 - in /trunk/libgtk2-sexy-perl/debian: changelog compat control libgtk2-sexy-perl.examples rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Sep 6 18:43:00 UTC 2008


Author: gregoa
Date: Sat Sep  6 18:42:57 2008
New Revision: 24877

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24877
Log:
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.
* Add /me to Uploaders.
* Mention module name in long description.

Added:
    trunk/libgtk2-sexy-perl/debian/libgtk2-sexy-perl.examples
Modified:
    trunk/libgtk2-sexy-perl/debian/changelog
    trunk/libgtk2-sexy-perl/debian/compat
    trunk/libgtk2-sexy-perl/debian/control
    trunk/libgtk2-sexy-perl/debian/rules

Modified: trunk/libgtk2-sexy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-sexy-perl/debian/changelog?rev=24877&op=diff
==============================================================================
--- trunk/libgtk2-sexy-perl/debian/changelog (original)
+++ trunk/libgtk2-sexy-perl/debian/changelog Sat Sep  6 18:42:57 2008
@@ -1,6 +1,10 @@
 libgtk2-sexy-perl (0.04-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * Add /me to Uploaders.
+  * Mention module name in long description.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 06 Sep 2008 20:26:47 +0200
 

Modified: trunk/libgtk2-sexy-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-sexy-perl/debian/compat?rev=24877&op=diff
==============================================================================
--- trunk/libgtk2-sexy-perl/debian/compat (original)
+++ trunk/libgtk2-sexy-perl/debian/compat Sat Sep  6 18:42:57 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libgtk2-sexy-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-sexy-perl/debian/control?rev=24877&op=diff
==============================================================================
--- trunk/libgtk2-sexy-perl/debian/control (original)
+++ trunk/libgtk2-sexy-perl/debian/control Sat Sep  6 18:42:57 2008
@@ -2,7 +2,7 @@
 Section: perl
 Priority: optional
 Build-Depends:
- debhelper (>= 5),
+ debhelper (>= 7),
  perl (>= 5.8.0),
  libextutils-pkgconfig-perl,
  libextutils-depends-perl,
@@ -13,7 +13,8 @@
  xfonts-base,
  quilt
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Carl Fürstenberg <azatoth at gmail.com>
+Uploaders: Carl Fürstenberg <azatoth at gmail.com>,
+ gregor herrmann <gregoa at debian.org>
 Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/Gtk2-Sexy/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libgtk2-sexy-perl/
@@ -28,5 +29,5 @@
  ${misc:Depends},
  libgtk2-perl
 Description: Perl interface to the sexy widget collection
- This module allows a perl developer to access the widgets of the sexy 
+ Gtk2::Sexy allows a perl developer to access the widgets of the sexy 
  widget collection.

Added: trunk/libgtk2-sexy-perl/debian/libgtk2-sexy-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-sexy-perl/debian/libgtk2-sexy-perl.examples?rev=24877&op=file
==============================================================================
--- trunk/libgtk2-sexy-perl/debian/libgtk2-sexy-perl.examples (added)
+++ trunk/libgtk2-sexy-perl/debian/libgtk2-sexy-perl.examples Sat Sep  6 18:42:57 2008
@@ -1,0 +1,1 @@
+examples/*

Modified: trunk/libgtk2-sexy-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-sexy-perl/debian/rules?rev=24877&op=diff
==============================================================================
--- trunk/libgtk2-sexy-perl/debian/rules (original)
+++ trunk/libgtk2-sexy-perl/debian/rules Sat Sep  6 18:42:57 2008
@@ -1,78 +1,31 @@
 #!/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
 include /usr/share/quilt/quilt.make
-# 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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation 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: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	dh build --before test
 	xvfb-run $(MAKE) test
+	dh build --after test
 	touch $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	dh install
 
 	# remove /usr/lib/perl5/Gtk2/Sexy/Install from binary package
-	$(RM) -rv $(TMP)/usr/lib/perl5/Gtk2/Sexy/Install
+	$(RM) -rv $(CURDIR)/debian/libgtk2-sexy-perl/usr/lib/perl5/Gtk2/Sexy/Install
 
-	[ ! -d $(TMP)/usr/share/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/share/perl5
 	touch $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
+binary-arch: install
+	dh $@
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples examples/*
-	dh_installdocs
-	dh_installchangelogs ChangeLog
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep:
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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