r11264 - in /trunk/libwebservice-cia-perl: Build.PL debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules debian/rules.old

zakame-guest at users.alioth.debian.org zakame-guest at users.alioth.debian.org
Mon Dec 17 03:20:20 UTC 2007


Author: zakame-guest
Date: Mon Dec 17 03:20:20 2007
New Revision: 11264

URL: http://svn.debian.org/wsvn/?sc=1&rev=11264
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libwebservice-cia-perl/debian/
    trunk/libwebservice-cia-perl/debian/changelog
    trunk/libwebservice-cia-perl/debian/compat
    trunk/libwebservice-cia-perl/debian/control
    trunk/libwebservice-cia-perl/debian/copyright
    trunk/libwebservice-cia-perl/debian/rules   (with props)
    trunk/libwebservice-cia-perl/debian/rules.old
Modified:
    trunk/libwebservice-cia-perl/Build.PL

Modified: trunk/libwebservice-cia-perl/Build.PL
URL: http://svn.debian.org/wsvn/trunk/libwebservice-cia-perl/Build.PL?rev=11264&op=diff
==============================================================================
--- trunk/libwebservice-cia-perl/Build.PL (original)
+++ trunk/libwebservice-cia-perl/Build.PL Mon Dec 17 03:20:20 2007
@@ -16,6 +16,6 @@
 );
 
 print "Some tests require an internet connection\n";
-$build->notes('internet' => ($build->y_n("Run internet-based tests?", "y")?"yes":"no"));
+$build->notes('internet' => ($build->y_n("Run internet-based tests?", "n")?"yes":"no"));
 
 $build->create_build_script;

Added: trunk/libwebservice-cia-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libwebservice-cia-perl/debian/changelog?rev=11264&op=file
==============================================================================
--- trunk/libwebservice-cia-perl/debian/changelog (added)
+++ trunk/libwebservice-cia-perl/debian/changelog Mon Dec 17 03:20:20 2007
@@ -1,0 +1,11 @@
+libwebservice-cia-perl (1.2-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #429785)
+  * Build.PL:
+    + Do not enable tests requiring Internet connection to CIA Factbook
+      site.
+  * debian/rules:
+    + Do not install webservice-cia-makedbm.pl to /usr/bin by default;
+      include it as part of examples instead.
+
+ -- Zak B. Elep <zakame at spunge.org>  Wed, 20 Jun 2007 18:15:51 +0800

Added: trunk/libwebservice-cia-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libwebservice-cia-perl/debian/compat?rev=11264&op=file
==============================================================================
--- trunk/libwebservice-cia-perl/debian/compat (added)
+++ trunk/libwebservice-cia-perl/debian/compat Mon Dec 17 03:20:20 2007
@@ -1,0 +1,1 @@
+5

Added: trunk/libwebservice-cia-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libwebservice-cia-perl/debian/control?rev=11264&op=file
==============================================================================
--- trunk/libwebservice-cia-perl/debian/control (added)
+++ trunk/libwebservice-cia-perl/debian/control Mon Dec 17 03:20:20 2007
@@ -1,0 +1,15 @@
+Source: libwebservice-cia-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), libcrypt-ssleay-perl, libmldbm-perl, libmodule-build-perl, libwww-perl
+Build-Depends-Indep: perl (>= 5.8.8-7)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Zak B. Elep <zakame at spunge.org>
+Standards-Version: 3.7.2
+
+Package: libwebservice-cia-perl
+Architecture: all
+Depends: ${perl:Depends}, libcrypt-ssleay-perl, libmldbm-perl, libwww-perl
+Description: get information from the CIA World Factbook via Perl
+ This Perl module gets information from the CIA World Factbook.
+

Added: trunk/libwebservice-cia-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libwebservice-cia-perl/debian/copyright?rev=11264&op=file
==============================================================================
--- trunk/libwebservice-cia-perl/debian/copyright (added)
+++ trunk/libwebservice-cia-perl/debian/copyright Mon Dec 17 03:20:20 2007
@@ -1,0 +1,27 @@
+This is the debian package for the WebService-CIA module.
+It was created by Zak B. Elep <zakame at spunge.org> on 
+Mon, 18 Jun 2007 14:14:07 +0800
+
+The upstream author is: Ian Malpass <ian-cpan at indecorous.com>.
+
+
+Copyright: Copyright 2003-2007, Ian Malpass
+
+License:
+
+This library is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+The CIA World Factbook's copyright information page
+(https://www.cia.gov/library/publications/the-world-factbook/docs/contributor_copyright.html)
+states:
+
+The Factbook is in the public domain. Accordingly, it may be copied
+  freely without permission of the Central Intelligence Agency (CIA).
+
+
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License.  On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.

Added: trunk/libwebservice-cia-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libwebservice-cia-perl/debian/rules?rev=11264&op=file
==============================================================================
--- trunk/libwebservice-cia-perl/debian/rules (added)
+++ trunk/libwebservice-cia-perl/debian/rules Mon Dec 17 03:20:20 2007
@@ -1,0 +1,84 @@
+#!/usr/bin/make -f
+# debian/rules for libwebservice-cia-perl, based from the template
+# 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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
+#
+# This package is maintained by Zak B. Elep <zakame at spunge.org>
+
+# 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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	echo "n" | $(PERL) Build.PL installdirs=vendor
+	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build distclean
+
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$(PACKAGE) here
+	$(PERL) Build test
+	$(PERL) Build install destdir=$(TMP)
+
+	rm -f $(TMP)/usr/bin/webservice-cia-makedbm.pl
+	rm -rf $(TMP)/usr/bin
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples $(CURDIR)/examples/* $(CURDIR)/webservice-cia-makedbm.pl
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libwebservice-cia-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libwebservice-cia-perl/debian/rules.old
URL: http://svn.debian.org/wsvn/trunk/libwebservice-cia-perl/debian/rules.old?rev=11264&op=file
==============================================================================
--- trunk/libwebservice-cia-perl/debian/rules.old (added)
+++ trunk/libwebservice-cia-perl/debian/rules.old Mon Dec 17 03:20:20 2007
@@ -1,0 +1,84 @@
+#!/usr/bin/make -f
+# debian/rules for libwebservice-cia-perl, based from the template
+# 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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
+#
+# This package is maintained by Zak B. Elep <zakame at spunge.org>
+
+# 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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Build.PL installdirs=vendor
+	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build distclean
+
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$(PACKAGE) here
+	$(PERL) Build test
+	$(PERL) Build install destdir=$(TMP)
+
+	rm -f $(TMP)/usr/bin/webservice-cia-makedbm.pl
+	rm -rf $(TMP)/usr/bin
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples $(CURDIR)/examples/* $(CURDIR)/webservice-cia-makedbm.pl
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary




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