r28010 - in /trunk/libsane-perl/debian: changelog copyright rules

ra28145-guest at users.alioth.debian.org ra28145-guest at users.alioth.debian.org
Wed Dec 10 14:38:32 UTC 2008


Author: ra28145-guest
Date: Wed Dec 10 14:38:15 2008
New Revision: 28010

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28010
Log:
Switched rules to dh7; Updated format of copyright

Modified:
    trunk/libsane-perl/debian/changelog
    trunk/libsane-perl/debian/copyright
    trunk/libsane-perl/debian/rules

Modified: trunk/libsane-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/changelog?rev=28010&op=diff
==============================================================================
--- trunk/libsane-perl/debian/changelog (original)
+++ trunk/libsane-perl/debian/changelog Wed Dec 10 14:38:15 2008
@@ -1,9 +1,5 @@
-libsane-perl (0.02-1) UNRELEASED; urgency=low
+libsane-perl (0.02-1) unstable; urgency=low
 
-  TODO:
-  discrepancy regarding debhelper: d/compat and d/control say "7", d/rules
-  uses "5"
-  
   * Initial release (Closes: #506405).
 
  -- Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>  Tue, 25 Nov 2008 20:31:30 +0100

Modified: trunk/libsane-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/copyright?rev=28010&op=diff
==============================================================================
--- trunk/libsane-perl/debian/copyright (original)
+++ trunk/libsane-perl/debian/copyright Wed Dec 10 14:38:15 2008
@@ -1,22 +1,16 @@
-This package was debianized by Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>
-on Tue, 25 Nov 2008 20:31:30 +0100.
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Name: Sane
+Upstream-Maintainer: Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>
+Upstream-Source: http://search.cpan.org/dist/Sane/
 
-It was downloaded from http://search.cpan.org/dist/Sane/
+Files: *
+Copyright: Copyright 2008 Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>
+License: GPL-2+ | Artistic-2.0
+ This library is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself, either Perl version 5.8.5 or,
+ at your option, any later version of Perl 5 you may have available.
+ .
+ The full text of the Artistic license is available on Debian systems in
+ /usr/share/common-licenses/Artistic;
+ the GPL-2 is given in /usr/share/common-licenses/GPL-2
 
-Upstream Authors:
-
-    Jeffrey Ratcliffe
-
-Copyright:
-
-    Copyright 2008 Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>
-
-License:
-
-    This library is free software; you can redistribute it and/or modify
-    it under the same terms as Perl itself, either Perl version 5.8.5 or,
-    at your option, any later version of Perl 5 you may have available.
-
-    The full text of the Artistic license is available on Debian systems in
-    /usr/share/common-licenses/Artistic;
-    the GPL is /usr/share/common-licenses/GPL

Modified: trunk/libsane-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/rules?rev=28010&op=diff
==============================================================================
--- trunk/libsane-perl/debian/rules (original)
+++ trunk/libsane-perl/debian/rules Wed Dec 10 14:38:15 2008
@@ -1,78 +1,24 @@
 #!/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
-
-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:
-	dh_testdir
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
+	dh build
 	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 $@
 	$(RM) *.pnm
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	# Add commands to install the package into $(TMP)
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/share/perl5
+	dh install
 	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 debian/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