r11943 - in /trunk/mime-tools/debian: changelog control rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Thu Jan 3 09:25:31 UTC 2008


Author: tincho-guest
Date: Thu Jan  3 09:25:30 2008
New Revision: 11943

URL: http://svn.debian.org/wsvn/?sc=1&rev=11943
Log:
TODO: copyright needs love.
* New binary package: libmime-tools-perl (Closes: #297765).
* Make old binary package a dummy.
* Pimp up debian/rules.
* Bumped Standards-Version (no changes).

Modified:
    trunk/mime-tools/debian/changelog
    trunk/mime-tools/debian/control
    trunk/mime-tools/debian/rules

Modified: trunk/mime-tools/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/changelog?rev=11943&op=diff
==============================================================================
--- trunk/mime-tools/debian/changelog (original)
+++ trunk/mime-tools/debian/changelog Thu Jan  3 09:25:30 2008
@@ -1,3 +1,14 @@
+mime-tools (5.425-2) UNRELEASED; urgency=low
+
+  TODO: copyright needs love.
+
+  * New binary package: libmime-tools-perl (Closes: #297765).
+  * Make old binary package a dummy.
+  * Pimp up debian/rules.
+  * Bumped Standards-Version (no changes).
+
+ -- Martín Ferrari <martin.ferrari at gmail.com>  Thu, 03 Jan 2008 07:18:41 -0200
+
 mime-tools (5.425-1) unstable; urgency=low
 
   [ gregor herrmann ]

Modified: trunk/mime-tools/debian/control
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/control?rev=11943&op=diff
==============================================================================
--- trunk/mime-tools/debian/control (original)
+++ trunk/mime-tools/debian/control Thu Jan  3 09:25:30 2008
@@ -5,17 +5,33 @@
 Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>,
  Alexis Sukrieh <sukria at debian.org>, Niko Tyni <ntyni at iki.fi>,
  Damyan Ivanov <dmn at debian.org>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/MIME-tools/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/mime-tools/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/mime-tools/
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.8.4), libmailtools-perl, libio-stringy-perl (>= 2.110), libconvert-binhex-perl, libfile-temp-perl (>= 0.17), netbase, libtest-pod-perl (>= 1.00)
+Build-Depends-Indep: perl (>= 5.8.4), libmailtools-perl,
+ libio-stringy-perl (>= 2.110), libconvert-binhex-perl,
+ libfile-temp-perl (>= 0.17), netbase, libtest-pod-perl (>= 1.00)
+
+Package: libmime-tools-perl
+Replaces: libmime-perl (<< 5.425-2)
+Conflicts: libmime-perl (<< 5.425-2)
+Architecture: all
+Depends: perl (>= 5.8.4-2.3), libmailtools-perl, libio-stringy-perl (>= 2.110),
+ libconvert-binhex-perl, libfile-temp-perl (>= 0.17)
+Description: Perl5 modules for MIME-compliant messages
+ This package provides the MIME-tools modules. MIME-tools is a
+ collection of Perl5 MIME:: modules for parsing, decoding, and generating
+ single- or multipart (even nested multipart) MIME messages. 
 
 Package: libmime-perl
+Depends: libmime-tools-perl
 Architecture: all
-Depends: perl (>= 5.8.4-2.3), libmailtools-perl, libio-stringy-perl (>= 2.110), libconvert-binhex-perl, libfile-temp-perl (>= 0.17)
-Description: Perl5 modules for MIME-compliant messages (MIME-tools)
+Description: Perl5 modules for MIME-compliant messages (transitional package)
  The libmime-perl package provide the MIME-tools modules. MIME-tools is a
  collection of Perl5 MIME:: modules for parsing, decoding, and generating
- single- or multipart (even nested multipart) MIME messages. 
+ single- or multipart (even nested multipart) MIME messages.
+ .
+ This is a dummy package to ease the transition to libmime-tools-perl and can
+ be safely removed

Modified: trunk/mime-tools/debian/rules
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/rules?rev=11943&op=diff
==============================================================================
--- trunk/mime-tools/debian/rules (original)
+++ trunk/mime-tools/debian/rules Thu Jan  3 09:25:30 2008
@@ -2,10 +2,17 @@
 # -*- makefile -*-
 # debian/rules file for libmime-perl
 
+# 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	:= $(firstword $(shell dh_listpackages))
-TMP		:= $(CURDIR)/debian/$(package)
+TMP	:= $(CURDIR)/debian/$(package)
 
 build:	build-stamp
 build-stamp:
@@ -17,36 +24,38 @@
 	$(MAKE) test
 	touch $@
 
-clean:	checkroot
+clean:
+	dh_testdir
+	dh_testroot
 	dh_clean testout/* build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
-install-stamp: checkroot build-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
 	dh_clean -k
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	touch $@
 
-binary-indep:	checkroot build install
+binary-arch:
+	# Nothing to do.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
 	dh_installdirs
 	dh_installdocs
 	dh_installexamples examples/*
 	dh_installchangelogs ChangeLog
-
+	dh_perl
 	dh_compress
 	dh_fixperms
-	dh_perl
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-binary-arch:
-	# Nothing to do.
 
-binary:	binary-indep binary-arch
-
-checkroot:
-	dh_testdir
-	dh_testroot
-
-.PHONY:	binary binary-arch binary-indep clean checkroot build install
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install




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