r27262 - in /trunk/libsane-perl/debian: ./ changelog compat control copyright rules watch

ra28145-guest at users.alioth.debian.org ra28145-guest at users.alioth.debian.org
Tue Nov 25 19:57:14 UTC 2008


Author: ra28145-guest
Date: Tue Nov 25 19:57:11 2008
New Revision: 27262

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

Added:
    trunk/libsane-perl/debian/
    trunk/libsane-perl/debian/changelog
    trunk/libsane-perl/debian/compat
    trunk/libsane-perl/debian/control
    trunk/libsane-perl/debian/copyright
    trunk/libsane-perl/debian/rules   (with props)
    trunk/libsane-perl/debian/watch

Added: trunk/libsane-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/changelog?rev=27262&op=file
==============================================================================
--- trunk/libsane-perl/debian/changelog (added)
+++ trunk/libsane-perl/debian/changelog Tue Nov 25 19:57:11 2008
@@ -1,0 +1,6 @@
+libsane-perl (0.01-1) unstable; urgency=low
+
+  * Initial release (Closes: #506405).
+
+ -- Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>  Tue, 25 Nov 2008 20:31:30 +0100
+

Added: trunk/libsane-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/compat?rev=27262&op=file
==============================================================================
--- trunk/libsane-perl/debian/compat (added)
+++ trunk/libsane-perl/debian/compat Tue Nov 25 19:57:11 2008
@@ -1,0 +1,1 @@
+5

Added: trunk/libsane-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/control?rev=27262&op=file
==============================================================================
--- trunk/libsane-perl/debian/control (added)
+++ trunk/libsane-perl/debian/control Tue Nov 25 19:57:11 2008
@@ -1,0 +1,19 @@
+Source: libsane-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>
+Build-Depends: debhelper (>= 5), libsane-dev (>= 1.0.19)
+Standards-Version: 3.8.0
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsane-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/
+DM-Upload-Allowed: yes
+
+Package: libsane-perl
+Architecture: any
+Depends: ${perl:Depends}, libsane (>= 1.0.19), base-files (>= 4.0.0), ${shlibs:Depends}
+Description: Perl bindings for the SANE (Scanner Access Now Easy) Project
+ This module allows you to access SANE-compatible scanners in a Perlish and
+ object-oriented way, freeing you from the casting and memory management in C,
+ yet remaining very close in spirit to original API. 
+

Added: trunk/libsane-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/copyright?rev=27262&op=file
==============================================================================
--- trunk/libsane-perl/debian/copyright (added)
+++ trunk/libsane-perl/debian/copyright Tue Nov 25 19:57:11 2008
@@ -1,0 +1,14 @@
+This is the debian package for the Sane module.
+It was downloaded from http://search.cpan.org/dist/Sane/
+ 
+This program is distributed under the same terms as Perl itself.
+ 
+# Copyright (c) 2008 by Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>
+
+# This library is free software; you can redistribute it and/or modify
+# it under the same terms as Perl itself, either Perl version 5.8.5 or,
+# at your option, any later version of Perl 5 you may have available.
+
+The full text of the Artistic license is available on Debian systems in
+/usr/share/common-licenses/Artistic
+

Added: trunk/libsane-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/rules?rev=27262&op=file
==============================================================================
--- trunk/libsane-perl/debian/rules (added)
+++ trunk/libsane-perl/debian/rules Tue Nov 25 19:57:11 2008
@@ -1,0 +1,78 @@
+#!/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) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(MAKE) test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+	$(RM) *.pnm
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# Add commands to install the package into $(TMP)
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/share/perl5
+	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_installexamples examples/*
+	dh_installdocs
+	dh_installchangelogs debian/changelog
+	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

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

Added: trunk/libsane-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsane-perl/debian/watch?rev=27262&op=file
==============================================================================
--- trunk/libsane-perl/debian/watch (added)
+++ trunk/libsane-perl/debian/watch Tue Nov 25 19:57:11 2008
@@ -1,0 +1,3 @@
+version=3
+http://search.cpan.org/dist/Sane/   .*/Sane-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
+




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