r42946 - in /trunk/libtext-multimarkdown-perl/debian: README.source control patches/ patches/pod_name.patch patches/series rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed Aug 26 19:20:59 UTC 2009


Author: jawnsy-guest
Date: Wed Aug 26 19:20:53 2009
New Revision: 42946

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=42946
Log:
Add patch and copy code to get the manpages/script installed...

Added:
    trunk/libtext-multimarkdown-perl/debian/README.source
    trunk/libtext-multimarkdown-perl/debian/patches/
    trunk/libtext-multimarkdown-perl/debian/patches/pod_name.patch
    trunk/libtext-multimarkdown-perl/debian/patches/series
Modified:
    trunk/libtext-multimarkdown-perl/debian/control
    trunk/libtext-multimarkdown-perl/debian/rules

Added: trunk/libtext-multimarkdown-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/debian/README.source?rev=42946&op=file
==============================================================================
--- trunk/libtext-multimarkdown-perl/debian/README.source (added)
+++ trunk/libtext-multimarkdown-perl/debian/README.source Wed Aug 26 19:20:53 2009
@@ -1,0 +1,5 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+ 
+See /usr/share/doc/quilt/README.source for a detailed explanation.

Modified: trunk/libtext-multimarkdown-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/debian/control?rev=42946&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/debian/control (original)
+++ trunk/libtext-multimarkdown-perl/debian/control Wed Aug 26 19:20:53 2009
@@ -1,7 +1,7 @@
 Source: libtext-multimarkdown-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7)
 Build-Depends-Indep: perl, libtest-exception-perl, liblist-moreutils-perl,
  libfile-slurp-perl, libtext-markdown-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Added: trunk/libtext-multimarkdown-perl/debian/patches/pod_name.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/debian/patches/pod_name.patch?rev=42946&op=file
==============================================================================
--- trunk/libtext-multimarkdown-perl/debian/patches/pod_name.patch (added)
+++ trunk/libtext-multimarkdown-perl/debian/patches/pod_name.patch Wed Aug 26 19:20:53 2009
@@ -1,0 +1,25 @@
+Description: Change name in POD for installed script
+ MultiMarkdown.pl as provided upstream is installed as markdown
+ (due to policy prohibiting installation of .pl files in bin).
+Author: Jonathan Yu <frequency at cpan.org>
+Forwarded: not-needed
+Origin: vendor
+--- a/script/MultiMarkdown.pl
++++ b/script/MultiMarkdown.pl
+@@ -5,14 +5,14 @@
+ 
+ =head1 NAME
+ 
+-MultiMarkdown.pl - Convert MultiMarkdown syntax to (X)HTML
++multimarkdown - Convert MultiMarkdown syntax to (X)HTML
+ 
+ =head1 DESCRIPTION
+ 
+ This program is distributed as part of Perl's Text::MultiMarkdown module,
+ illustrating sample usage.
+ 
+-MultiMarkdown.pl can be invoked on any file containing MultiMarkdown-syntax, and
++multimarkdown can be invoked on any file containing MultiMarkdown-syntax, and
+ will produce the corresponding (X)HTML on STDOUT:
+ 
+     $ cat file.txt

Added: trunk/libtext-multimarkdown-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/debian/patches/series?rev=42946&op=file
==============================================================================
--- trunk/libtext-multimarkdown-perl/debian/patches/series (added)
+++ trunk/libtext-multimarkdown-perl/debian/patches/series Wed Aug 26 19:20:53 2009
@@ -1,0 +1,1 @@
+pod_name.patch

Modified: trunk/libtext-multimarkdown-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/debian/rules?rev=42946&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/debian/rules (original)
+++ trunk/libtext-multimarkdown-perl/debian/rules Wed Aug 26 19:20:53 2009
@@ -1,4 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
-	dh $@
+	dh --with quilt $@
+
+override_dh_auto_test:
+	TEST_POD=1 dh_auto_test
+
+override_dh_auto_install:
+	dh_auto_install
+	install -D -m 755 script/MultiMarkdown.pl $(TMP)/usr/bin/multimarkdown
+	install -d $(TMP)/usr/share/man/man1/
+	pod2man $(TMP)/usr/bin/multimarkdown $(TMP)/usr/share/man/man1/multimarkdown.1




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