r2870 - in /packages/libdata-random-perl/trunk: ./ Random/ debian/ debian/patches/ t/

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Jun 5 14:30:16 UTC 2006


Author: gregoa-guest
Date: Mon Jun  5 14:30:15 2006
New Revision: 2870

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=2870
Log:
Load libdata-random-perl-0.05 into packages/libdata-random-perl/trunk.

Added:
    packages/libdata-random-perl/trunk/debian/
    packages/libdata-random-perl/trunk/debian/changelog
    packages/libdata-random-perl/trunk/debian/compat
    packages/libdata-random-perl/trunk/debian/control
    packages/libdata-random-perl/trunk/debian/copyright
    packages/libdata-random-perl/trunk/debian/patches/
    packages/libdata-random-perl/trunk/debian/patches/00list
    packages/libdata-random-perl/trunk/debian/patches/10dict_location.dpatch   (with props)
    packages/libdata-random-perl/trunk/debian/patches/20man_hyphen.dpatch   (with props)
    packages/libdata-random-perl/trunk/debian/rules   (with props)
    packages/libdata-random-perl/trunk/debian/watch
Modified:
    packages/libdata-random-perl/trunk/Makefile.PL   (props changed)
    packages/libdata-random-perl/trunk/README.linux.words   (props changed)
    packages/libdata-random-perl/trunk/README2.linux.words   (props changed)
    packages/libdata-random-perl/trunk/Random.pm   (props changed)
    packages/libdata-random-perl/trunk/Random/WordList.pm   (props changed)
    packages/libdata-random-perl/trunk/t/rand_chars.t   (props changed)
    packages/libdata-random-perl/trunk/t/rand_date.t   (props changed)
    packages/libdata-random-perl/trunk/t/rand_datetime.t   (props changed)
    packages/libdata-random-perl/trunk/t/rand_enum.t   (props changed)
    packages/libdata-random-perl/trunk/t/rand_image.t   (props changed)
    packages/libdata-random-perl/trunk/t/rand_set.t   (props changed)
    packages/libdata-random-perl/trunk/t/rand_time.t   (props changed)
    packages/libdata-random-perl/trunk/t/rand_words.t   (props changed)

Propchange: packages/libdata-random-perl/trunk/Makefile.PL
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/README.linux.words
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/README2.linux.words
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/Random.pm
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/Random/WordList.pm
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Added: packages/libdata-random-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/changelog?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/changelog (added)
+++ packages/libdata-random-perl/trunk/debian/changelog Mon Jun  5 14:30:15 2006
@@ -1,0 +1,6 @@
+libdata-random-perl (0.05-1) unstable; urgency=low
+
+  * Initial Release (closes: #370485).
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon,  5 Jun 2006 15:11:25 +0200
+

Added: packages/libdata-random-perl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/compat?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/compat (added)
+++ packages/libdata-random-perl/trunk/debian/compat Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+5

Added: packages/libdata-random-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/control?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/control (added)
+++ packages/libdata-random-perl/trunk/debian/control Mon Jun  5 14:30:15 2006
@@ -1,0 +1,14 @@
+Source: libdata-random-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), dpatch
+Build-Depends-Indep: perl (>= 5.8.0-7), libdate-calc-perl, libgd-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>
+Standards-Version: 3.7.2
+
+Package: libdata-random-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libdate-calc-perl, libgd-perl
+Description: Perl module to generate random data
+ A module used to generate random data.  Useful mostly for test programs.

Added: packages/libdata-random-perl/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/copyright?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/copyright (added)
+++ packages/libdata-random-perl/trunk/debian/copyright Mon Jun  5 14:30:15 2006
@@ -1,0 +1,14 @@
+This is the debian package for the Data::Random module.
+It was created by gregor herrmann <gregor+debian at comodo.priv.at> using dh-make-perl.
+
+The upstream author is: 
+Adekunle Olonoh, koolade at users.sourceforge.net
+
+Copyright (c) 2000 Adekunle Olonoh. All rights reserved. This program is
+free software; you can redistribute it and/or modify it under the same terms
+as Perl itself.
+
+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: packages/libdata-random-perl/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/patches/00list?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/patches/00list (added)
+++ packages/libdata-random-perl/trunk/debian/patches/00list Mon Jun  5 14:30:15 2006
@@ -1,0 +1,2 @@
+10dict_location
+20man_hyphen

Added: packages/libdata-random-perl/trunk/debian/patches/10dict_location.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/patches/10dict_location.dpatch?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/patches/10dict_location.dpatch (added)
+++ packages/libdata-random-perl/trunk/debian/patches/10dict_location.dpatch Mon Jun  5 14:30:15 2006
@@ -1,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10dict_location.dpatch by  <gregor+debian at comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change /usr/dict/words to /usr/share/dict/words to reflect FHS.
+
+ at DPATCH@
+diff -urNad Data-Random-0.05~/Random/WordList.pm Data-Random-0.05/Random/WordList.pm
+--- Data-Random-0.05~/Random/WordList.pm	2003-02-22 21:25:17.000000000 +0100
++++ Data-Random-0.05/Random/WordList.pm	2006-06-05 16:14:02.000000000 +0200
+@@ -127,7 +127,7 @@
+ 
+   use Data::Random::WordList;
+   
+-  my $wl = new Data::Random::WordList( wordlist => '/usr/dict/words' );
++  my $wl = new Data::Random::WordList( wordlist => '/usr/share/dict/words' );
+ 
+   my @rand_words = $wl->get_words(10);
+ 
+diff -urNad Data-Random-0.05~/Random.pm Data-Random-0.05/Random.pm
+--- Data-Random-0.05~/Random.pm	2006-06-05 16:12:26.000000000 +0200
++++ Data-Random-0.05/Random.pm	2006-06-05 16:12:26.000000000 +0200
+@@ -579,7 +579,7 @@
+ 
+ =item *
+ 
+-wordlist - the path to the wordlist file.  A lot of systems have one at /usr/dict/words.  You can also optionally supply a Data::Random::WordList object to keep a persistent wordlist.  The default is the wordlist distributed with this module.
++wordlist - the path to the wordlist file.  On Debian systems one can be found at /usr/share/dict/words.  You can also optionally supply a Data::Random::WordList object to keep a persistent wordlist.  The default is the wordlist distributed with this module.
+ 
+ =item *
+ 

Propchange: packages/libdata-random-perl/trunk/debian/patches/10dict_location.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/libdata-random-perl/trunk/debian/patches/20man_hyphen.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/patches/20man_hyphen.dpatch?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/patches/20man_hyphen.dpatch (added)
+++ packages/libdata-random-perl/trunk/debian/patches/20man_hyphen.dpatch Mon Jun  5 14:30:15 2006
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20man_hyphen.dpatch by  <gregor+debian at comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: lintian complains about hyphen vs. minus
+
+ at DPATCH@
+diff -urNad Data-Random-0.05~/Random.pm Data-Random-0.05/Random.pm
+--- Data-Random-0.05~/Random.pm	2006-06-05 16:19:36.000000000 +0200
++++ Data-Random-0.05/Random.pm	2006-06-05 16:20:34.000000000 +0200
+@@ -681,7 +681,7 @@
+ 
+ =head2 rand_date()
+ 
+-This returns a random date in the form "YYYY-MM-DD".  2-digit years are not currently supported.  Efforts are made to make sure you're returned a truly valid date--ie, you'll never be returned the date February 31st.  See the options below to find out how to control the date range.  Here are a few examples:
++This returns a random date in the form "YYYY-MM-DD".  2-digit years are not currently supported.  Efforts are made to make sure you're returned a truly valid date - ie, you'll never be returned the date February 31st.  See the options below to find out how to control the date range.  Here are a few examples:
+ 
+     # returns a date somewhere in between the current date, and one year from the current date
+     $date = rand_date();    

Propchange: packages/libdata-random-perl/trunk/debian/patches/20man_hyphen.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/libdata-random-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/rules?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/rules (added)
+++ packages/libdata-random-perl/trunk/debian/rules Mon Jun  5 14:30:15 2006
@@ -1,0 +1,75 @@
+#!/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
+
+include /usr/share/dpatch/dpatch.make
+
+# 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: patch build-stamp
+build-stamp:
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+	$(MAKE) test
+	touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+	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
+	$(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_installdocs README2.linux.words README.linux.words 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: packages/libdata-random-perl/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/libdata-random-perl/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/watch?rev=2870&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/watch (added)
+++ packages/libdata-random-perl/trunk/debian/watch Mon Jun  5 14:30:15 2006
@@ -1,0 +1,3 @@
+# format version number, currently 2; this line is compulsory!
+version=3
+http://mirrors.kernel.org/cpan/modules/by-module/Data/Data-Random-([\d\.]+)\.tar\.gz

Propchange: packages/libdata-random-perl/trunk/t/rand_chars.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/t/rand_date.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/t/rand_datetime.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/t/rand_enum.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/t/rand_image.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/t/rand_set.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/t/rand_time.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/libdata-random-perl/trunk/t/rand_words.t
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon Jun  5 14:30:15 2006
@@ -1,0 +1,1 @@
+*




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