r18370 - in /trunk/libfile-mmagic-xs-perl/debian: ./ changelog compat control copyright rules watch

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Apr 6 21:34:42 UTC 2008


Author: gregoa-guest
Date: Sun Apr  6 21:34:40 2008
New Revision: 18370

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

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

Added: trunk/libfile-mmagic-xs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-mmagic-xs-perl/debian/changelog?rev=18370&op=file
==============================================================================
--- trunk/libfile-mmagic-xs-perl/debian/changelog (added)
+++ trunk/libfile-mmagic-xs-perl/debian/changelog Sun Apr  6 21:34:40 2008
@@ -1,0 +1,5 @@
+libfile-mmagic-xs-perl (0.09003-1) UNRELEASED; urgency=low
+
+  * Initial release (closes: #432508).
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 06 Apr 2008 23:26:21 +0200

Added: trunk/libfile-mmagic-xs-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-mmagic-xs-perl/debian/compat?rev=18370&op=file
==============================================================================
--- trunk/libfile-mmagic-xs-perl/debian/compat (added)
+++ trunk/libfile-mmagic-xs-perl/debian/compat Sun Apr  6 21:34:40 2008
@@ -1,0 +1,1 @@
+5

Added: trunk/libfile-mmagic-xs-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-mmagic-xs-perl/debian/control?rev=18370&op=file
==============================================================================
--- trunk/libfile-mmagic-xs-perl/debian/control (added)
+++ trunk/libfile-mmagic-xs-perl/debian/control Sun Apr  6 21:34:40 2008
@@ -1,0 +1,19 @@
+Source: libfile-mmagic-xs-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5), perl (>= 5.6.10-12), libtest-pod-perl,
+ libtest-pod-coverage-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.3
+Homepage: http://search.cpan.org/dist/File-MMagic-XS/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libfile-mmagic-xs-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-mmagic-xs-perl/
+
+Package: libfile-mmagic-xs-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Guess File Type With XS (à la mod_mime_magic)
+ File::MMagic::XS is a port of Apache2 mod_mime_magic.c in Perl, written in
+ XS with the aim of being efficient and fast, especially for applications
+ that need to be run for an extended amount of time.

Added: trunk/libfile-mmagic-xs-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-mmagic-xs-perl/debian/copyright?rev=18370&op=file
==============================================================================
--- trunk/libfile-mmagic-xs-perl/debian/copyright (added)
+++ trunk/libfile-mmagic-xs-perl/debian/copyright Sun Apr  6 21:34:40 2008
@@ -1,0 +1,31 @@
+Upstream source location: http://search.cpan.org/dist/File-MMagic-XS/
+
+Upstream author: Daisuke Maki <daisuke at endeworks.jp>
+
+Files: *
+Copyright: 2005-2007 Daisuke Maki <daisuke at endeworks.jp>
+ Underlying software: Copyright 1999-2004 The Apache Software Foundation, 
+                      Copyright (c) 1996-1997 Cisco Systems, Inc., 
+                      Copyright (c) Ian F. Darwin, 1987. Written by Ian F. Darwin.
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
+Files: ppport.h
+Copyright:
+ Version 3.x, Copyright (c) 2004-2005, Marcus Holland-Moritz.
+ Version 2.x, Copyright (C) 2001, Paul Marquess.
+ Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or
+ modify it under the same terms as Perl itself.
+
+Files: debian/*
+Copyright: 2008, Debian Perl Group
+License: GPL-1+ | Artistic
+ The packaging is licensed under the same terms as the module 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: trunk/libfile-mmagic-xs-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-mmagic-xs-perl/debian/rules?rev=18370&op=file
==============================================================================
--- trunk/libfile-mmagic-xs-perl/debian/rules (added)
+++ trunk/libfile-mmagic-xs-perl/debian/rules Sun Apr  6 21:34:40 2008
@@ -1,0 +1,76 @@
+#!/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
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	TEST_POD=1 $(MAKE) test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/share/perl5
+	# we install benchmark.pl as an example later
+	[ ! -f $(TMP)/usr/lib/perl5/File/MMagic/benchmark.pl ] || rm $(TMP)/usr/lib/perl5/File/MMagic/benchmark.pl
+	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
+	dh_installexamples benchmark.pl
+	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

Propchange: trunk/libfile-mmagic-xs-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libfile-mmagic-xs-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-mmagic-xs-perl/debian/watch?rev=18370&op=file
==============================================================================
--- trunk/libfile-mmagic-xs-perl/debian/watch (added)
+++ trunk/libfile-mmagic-xs-perl/debian/watch Sun Apr  6 21:34:40 2008
@@ -1,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/File-MMagic-XS/   .*/File-MMagic-XS-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$




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