[liblingua-stem-snowball-perl] 03/19: [svn-inject] Applying Debian modifications to trunk

dom at earth.li dom at earth.li
Sun Apr 24 10:25:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

dom pushed a commit to branch master
in repository liblingua-stem-snowball-perl.

commit 31426edabf49de70a3ea34de2b8fede130757baa
Author: Dominic Hargreaves <dom at earth.li>
Date:   Tue Aug 5 21:20:55 2008 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/changelog |  5 ++++
 debian/compat    |  1 +
 debian/control   | 21 ++++++++++++++++
 debian/copyright | 16 ++++++++++++
 debian/rules     | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch     |  4 +++
 6 files changed, 121 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..188cb4c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+liblingua-stem-snowball-perl (0.941-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #493910)
+
+ -- Dominic Hargreaves <dom at earth.li>  Tue, 5 Aug 2008 21:14:12 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e8f6cd1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: liblingua-stem-snowball-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5), libmodule-build-perl, perl (>= 5.6.10-12), libextutils-cbuilder-perl, libextutils-parsexs-perl, perl-modules
+Maintainer: Dominic Hargreaves <dom at earth.li>
+Standards-Version: 3.8.0
+Homepage: http://search.cpan.org/dist/Lingua-Stem-Snowball/
+
+Package: liblingua-stem-snowball-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Perl interface to Snowball stemmers.
+ Stemming reduces related words to a common root form. For instance, "horse",
+ "horses", and "horsing" all become "hors".  Most commonly, stemming is
+ deployed as part of a search application, allowing searches for a given term
+ to match documents which contain other forms of that term.
+ .
+ This module is very similar to Lingua::Stem|Lingua::Stem -- however,
+ Lingua::Stem is pure Perl, while Lingua::Stem::Snowball is an XS module which
+ provides a Perl interface to the C version of the Snowball stemmers.
+ (http://snowball.tartarus.org).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c693707
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+This is the debian package for the Lingua-Stem-Snowball module.
+It was created by Dominic Hargreaves <dom at earth.li> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/Lingua-Stem-Snowball/
+
+The upstream author is: Marvin Humphrey <marvin at rectangular dot com>.
+
+Copyright 2004-2006
+
+This software may be freely copied and distributed under the same
+terms and conditions as Perl.
+
+Snowball files and stemmers are covered by the BSD license.
+
+The Debian packaging is (C) 2008, Dominic Hargreaves <dom at earth.li> and
+is licensed under the same terms as the software itself (see above).
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..85d7b02
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,74 @@
+#!/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
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimisation 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) Build.PL installdirs=vendor config=optimize="$(CFLAGS)"
+	OPTIMIZE="$(CFLAGS)" $(PERL) Build
+	$(PERL) Build test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# Add commands to install the package into $(TMP) here
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	touch $@
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do here for an architecture-dependent package
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installexamples
+	dh_installchangelogs Changes
+	dh_shlibdeps
+	dh_strip
+	dh_perl
+	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 install
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9395fc4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/Lingua-Stem-Snowball/   .*/Lingua-Stem-Snowball-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblingua-stem-snowball-perl.git



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