dh-ify packaging with dh-make-perl refresh.
authorIan Beckwith <ianb@erislabs.net>
Sat, 8 Jun 2013 16:29:36 +0000 (17:29 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sat, 8 Jun 2013 16:29:36 +0000 (17:29 +0100)
debian/changelog
debian/control
debian/copyright
debian/libwww-opensearch-perl.docs [new file with mode: 0644]
debian/rules

index b6b86db..19d2660 100644 (file)
@@ -2,8 +2,9 @@ libwww-opensearch-perl (0.17-1) unstable; urgency=low
 
   * New upstream version
     + Fixes FTBFS with perl 5.18 (Closes: #711400).
+  * dh-ify packaging with dh-make-perl refresh.
 
- -- Ian Beckwith <ianb@debian.org>  Sat, 08 Jun 2013 16:02:20 +0100
+ -- Ian Beckwith <ianb@debian.org>  Sat, 08 Jun 2013 17:26:18 +0100
 
 libwww-opensearch-perl (0.16-1) unstable; urgency=low
 
index a53f3e6..e172f80 100644 (file)
@@ -1,15 +1,29 @@
 Source: libwww-opensearch-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.8.8-6.1), libtest-pod-perl (>= 1.02), libtest-pod-coverage-perl, libdata-page-perl (>= 2.00), libwww-perl (>= 5.811), liburi-perl, liburi-template-perl, libxml-feed-perl (>= 0.08), libxml-libxml-perl (>= 1.58)
 Maintainer: Ian Beckwith <ianb@debian.org>
+Build-Depends: debhelper (>= 8)
+Build-Depends-Indep: libdata-page-perl (>= 2.00),
+ libtest-pod-coverage-perl,
+ libtest-pod-perl (>= 1.02),
+ liburi-perl,
+ liburi-template-perl,
+ libwww-perl (>= 5.811),
+ libxml-feed-perl (>= 0.08),
+ libxml-libxml-perl (>= 1.58),
+ perl (>= 5.8.8-6.1)
 Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/WWW-OpenSearch/
 
 Package: libwww-opensearch-perl
 Architecture: all
-Depends: libdata-page-perl (>= 2.00), libwww-perl (>= 5.811), liburi-perl, liburi-template-perl, libxml-feed-perl (>= 0.08), libxml-libxml-perl (>= 1.58), ${perl:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${perl:Depends},
+ libdata-page-perl (>= 2.00),
+ liburi-perl,
+ liburi-template-perl,
+ libwww-perl (>= 5.811),
+ libxml-feed-perl (>= 0.08),
+ libxml-libxml-perl (>= 1.58)
 Description: search OpenSearch compatible web sites
  WWW::OpenSearch is a perl module to search web sites that provide
  an OpenSearch description and handle responses in Atom or RSS.
index 9c58266..5e9362c 100644 (file)
@@ -1,34 +1,32 @@
-Name: WWW::OpenSearch
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/?rev=59&sc=1
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: WWW::OpenSearch
+Upstream-Contact: Brian Cassidy <bricas@cpan.org>
 Source: http://search.cpan.org/dist/WWW-OpenSearch/
 
-Copyright: 2005-2010 by Tatsuhiko Miyagawa and Brian Cassidy
+Files: *
+Copyright: 2005-2013 by Tatsuhiko Miyagawa and Brian Cassidy
 License: Artistic or GPL-1+
 
 Files: inc/*
-Copyright: 2008 - 2010 Adam Kennedy.
+Copyright: 2002 - 2012 Brian Ingerson, Audrey Tang and Adam Kennedy.
 License: Artistic or GPL-1+
 
 Files: debian/*
-Copyright: 2006-2011 Ian Beckwith <ianb@debian.org>
+Copyright: 2006-2013 Ian Beckwith <ianb@debian.org>
 License: Artistic or GPL-1+
 
-License: Artistic or GPL-1+
-    This library is free software; you can redistribute it and/or modify it
-    under the same terms as Perl itself.
-
-
-    Those terms are (from /usr/share/doc/perl/copyright):
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of either:
-
-    a) the GNU General Public License as published by the Free Software
-       Foundation; either version 1, or (at your option) any later
-       version, or
-
-    b) the "Artistic License" which comes with Perl.
-
-    On Debian GNU/Linux systems, the complete text of the GNU General
-    Public License can be found in `/usr/share/common-licenses/GPL-1' and
-    the Artistic Licence in `/usr/share/common-licenses/Artistic'.
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --git a/debian/libwww-opensearch-perl.docs b/debian/libwww-opensearch-perl.docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
index ac51683..4d35e04 100755 (executable)
@@ -1,71 +1,8 @@
 #!/usr/bin/make -f
-# Debian Customisations Copyright 2006 Ian Beckwith <ianb@nessie.mcc.ac.uk>
-# Based on a template by Marc Brockschmidt <marc@dch-faq.de>
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+       dh $@
 
-# 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
-
-PACKAGE=libwww-opensearch-perl
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-       dh_testdir
-
-       $(PERL) Makefile.PL INSTALLDIRS=vendor
-       $(MAKE) 
-
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-
-       [ ! -f Makefile ] || $(MAKE) realclean
-
-       dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-       $(MAKE) test
-endif
-
-       $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-       [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-       touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-       dh_testdir
-       dh_testroot
-       dh_installdocs README
+override_dh_installchangelogs:
        dh_installchangelogs Changes
-       dh_perl
-       dh_link
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary