r2367 - in packages/libsys-hostname-long-perl/trunk: . debian t

Krzysztof Krzyzaniak eloy at costa.debian.org
Wed Mar 15 17:35:37 UTC 2006


Author: eloy
Date: 2006-03-15 17:35:36 +0000 (Wed, 15 Mar 2006)
New Revision: 2367

Added:
   packages/libsys-hostname-long-perl/trunk/debian/
   packages/libsys-hostname-long-perl/trunk/debian/changelog
   packages/libsys-hostname-long-perl/trunk/debian/compat
   packages/libsys-hostname-long-perl/trunk/debian/control
   packages/libsys-hostname-long-perl/trunk/debian/copyright
   packages/libsys-hostname-long-perl/trunk/debian/rules
   packages/libsys-hostname-long-perl/trunk/debian/watch
Modified:
   packages/libsys-hostname-long-perl/trunk/t/local.t
   packages/libsys-hostname-long-perl/trunk/testall.pl
Log:
Load libsys-hostname-long-perl-1.2 into
packages/libsys-hostname-long-perl/trunk.


Added: packages/libsys-hostname-long-perl/trunk/debian/changelog
===================================================================
--- packages/libsys-hostname-long-perl/trunk/debian/changelog	2006-03-15 17:35:19 UTC (rev 2366)
+++ packages/libsys-hostname-long-perl/trunk/debian/changelog	2006-03-15 17:35:36 UTC (rev 2367)
@@ -0,0 +1,12 @@
+libsys-hostname-long-perl (1.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Chip Salzenberg <chip at debian.org>  Tue,  8 Mar 2005 12:20:03 -0500
+
+libsys-hostname-long-perl (1.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Chip Salzenberg <chip at debian.org>  Thu, 11 Mar 2004 14:27:23 -0500
+

Added: packages/libsys-hostname-long-perl/trunk/debian/compat
===================================================================
--- packages/libsys-hostname-long-perl/trunk/debian/compat	2006-03-15 17:35:19 UTC (rev 2366)
+++ packages/libsys-hostname-long-perl/trunk/debian/compat	2006-03-15 17:35:36 UTC (rev 2367)
@@ -0,0 +1 @@
+4

Added: packages/libsys-hostname-long-perl/trunk/debian/control
===================================================================
--- packages/libsys-hostname-long-perl/trunk/debian/control	2006-03-15 17:35:19 UTC (rev 2366)
+++ packages/libsys-hostname-long-perl/trunk/debian/control	2006-03-15 17:35:36 UTC (rev 2367)
@@ -0,0 +1,18 @@
+Source: libsys-hostname-long-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2)
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Chip Salzenberg <chip at debian.org>
+Standards-Version: 3.6.1
+
+Package: libsys-hostname-long-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, 
+Description: Figure out the long (fully-qualified) hostname
+ This module determines the host full name on multiple operating
+ systems (MacOS, Windows, Unix-like systems; more later.)
+ .
+ The Sys::Hostname class is the best and standard way to get the basic
+ hostname, but that may not be fully qualified.  This module tries to
+ determine the host's fully qualified name.

Added: packages/libsys-hostname-long-perl/trunk/debian/copyright
===================================================================
--- packages/libsys-hostname-long-perl/trunk/debian/copyright	2006-03-15 17:35:19 UTC (rev 2366)
+++ packages/libsys-hostname-long-perl/trunk/debian/copyright	2006-03-15 17:35:36 UTC (rev 2367)
@@ -0,0 +1,12 @@
+Chip Salzenberg <chip at debian.org> created this Debian package using
+original module sources, as found on the Comprehensive Perl Archive
+Network (CPAN) <URL:http://cpan.org/>.  The Debian Perl packaging tool
+"dh-make-perl" was of great help.
+
+The upstream author is Scott Penrose <scottp at dd.com.au>.
+
+libsys-hostname-long-perl may be redistributed 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: packages/libsys-hostname-long-perl/trunk/debian/rules
===================================================================
--- packages/libsys-hostname-long-perl/trunk/debian/rules	2006-03-15 17:35:19 UTC (rev 2366)
+++ packages/libsys-hostname-long-perl/trunk/debian/rules	2006-03-15 17:35:36 UTC (rev 2367)
@@ -0,0 +1,90 @@
+#!/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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation 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)"
+	
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	-$(MAKE) distclean
+	
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	#$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	
+	# As this is a architecture independent package, we are not supposed to install
+	# stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+	rmdir --ignore-fail-on-non-empty --parents $(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_installcron
+#	dh_installmenu
+#	dh_installexamples
+	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


Property changes on: packages/libsys-hostname-long-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libsys-hostname-long-perl/trunk/debian/watch
===================================================================
--- packages/libsys-hostname-long-perl/trunk/debian/watch	2006-03-15 17:35:19 UTC (rev 2366)
+++ packages/libsys-hostname-long-perl/trunk/debian/watch	2006-03-15 17:35:36 UTC (rev 2367)
@@ -0,0 +1,2 @@
+version=3
+http://mirrors.kernel.org/cpan/modules/by-module/Sys/Sys-Hostname-Long-([\d\.]+)\.tar\.gz


Property changes on: packages/libsys-hostname-long-perl/trunk/t/local.t
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libsys-hostname-long-perl/trunk/testall.pl
___________________________________________________________________
Name: svn:executable
   - 
   + *




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