r5751 - in /packages/libdevice-cdio-perl/trunk: Build.PL debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Thu Jul 12 11:50:15 UTC 2007


Author: tincho-guest
Date: Thu Jul 12 11:50:15 2007
New Revision: 5751

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

Added:
    packages/libdevice-cdio-perl/trunk/debian/
    packages/libdevice-cdio-perl/trunk/debian/changelog
    packages/libdevice-cdio-perl/trunk/debian/compat
    packages/libdevice-cdio-perl/trunk/debian/control
    packages/libdevice-cdio-perl/trunk/debian/copyright
    packages/libdevice-cdio-perl/trunk/debian/rules   (with props)
Modified:
    packages/libdevice-cdio-perl/trunk/Build.PL

Modified: packages/libdevice-cdio-perl/trunk/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdevice-cdio-perl/trunk/Build.PL?rev=5751&op=diff
==============================================================================
--- packages/libdevice-cdio-perl/trunk/Build.PL (original)
+++ packages/libdevice-cdio-perl/trunk/Build.PL Thu Jul 12 11:50:15 2007
@@ -319,6 +319,10 @@
     $ldflags .= " -bundle -flat_namespace";
 }
 
+$ccflags =~ s/^\s+//;
+$ccflags =~ s/\s+$//;
+$ldflags =~ s/^\s+//;
+$ldflags =~ s/\s+$//;
 my $class = Module::Build->subclass( code => $code );
 
 my $builder = $class->new( 

Added: packages/libdevice-cdio-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdevice-cdio-perl/trunk/debian/changelog?rev=5751&op=file
==============================================================================
--- packages/libdevice-cdio-perl/trunk/debian/changelog (added)
+++ packages/libdevice-cdio-perl/trunk/debian/changelog Thu Jul 12 11:50:15 2007
@@ -1,0 +1,6 @@
+libdevice-cdio-perl (0.2.4-1) unstable; urgency=low
+
+  * Initial Release.
+  * Patched Build.PL (see http://rt.cpan.org/Ticket/Display.html?id=28132)
+
+ -- Martín Ferrari <martin.ferrari at gmail.com>  Thu, 12 Jul 2007 12:30:23 +0100

Added: packages/libdevice-cdio-perl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdevice-cdio-perl/trunk/debian/compat?rev=5751&op=file
==============================================================================
--- packages/libdevice-cdio-perl/trunk/debian/compat (added)
+++ packages/libdevice-cdio-perl/trunk/debian/compat Thu Jul 12 11:50:15 2007
@@ -1,0 +1,1 @@
+5

Added: packages/libdevice-cdio-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdevice-cdio-perl/trunk/debian/control?rev=5751&op=file
==============================================================================
--- packages/libdevice-cdio-perl/trunk/debian/control (added)
+++ packages/libdevice-cdio-perl/trunk/debian/control Thu Jul 12 11:50:15 2007
@@ -1,0 +1,16 @@
+Source: libdevice-cdio-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), libmodule-build-perl, perl (>= 5.8.8-7), libversion-perl, libextutils-pkgconfig-perl, libcdio-dev, libiso9660-dev
+Maintainer: Martín Ferrari <martin.ferrari at gmail.com>
+Standards-Version: 3.7.2
+
+Package: libdevice-cdio-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, 
+Description: CD Input and control library
+ This is a interface to the GNU CD Input and Control library (libcdio)
+ and it's ISO 9660 library (libiso9660) which are written in C. The
+ library encapsulates CD-ROM reading and control and ISO 9660
+ handling. Perl programs wishing to be oblivious of the OS- and
+ device-dependent properties of a CD-ROM can use this library.

Added: packages/libdevice-cdio-perl/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdevice-cdio-perl/trunk/debian/copyright?rev=5751&op=file
==============================================================================
--- packages/libdevice-cdio-perl/trunk/debian/copyright (added)
+++ packages/libdevice-cdio-perl/trunk/debian/copyright Thu Jul 12 11:50:15 2007
@@ -1,0 +1,31 @@
+This is the debian package for the Device-Cdio module.
+It was created by Martín Ferrari <martin.ferrari at gmail.com> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/~rocky/Device-Cdio-v0.2.4/
+
+The upstream author is: Rocky Bernstein <rocky at cpan.org>.
+
+Copyright (C) 2006, Rocky Bernstein <rocky at cpan.org>
+
+License:
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Martín Ferrari <martin.ferrari at gmail.com> and
+is licensed under the GPL, see above.
+

Added: packages/libdevice-cdio-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdevice-cdio-perl/trunk/debian/rules?rev=5751&op=file
==============================================================================
--- packages/libdevice-cdio-perl/trunk/debian/rules (added)
+++ packages/libdevice-cdio-perl/trunk/debian/rules Thu Jul 12 11:50:15 2007
@@ -1,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) Build.PL installdirs=vendor
+	OPTIMIZE="$(CFLAGS)" $(PERL) Build
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build distclean
+
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	$(PERL) Build test
+	$(PERL) Build install destdir=$(TMP)
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installexamples examples/*
+#	dh_installman
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_perl 
+	dh_shlibdeps
+	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/libdevice-cdio-perl/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




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