--- libnet-bluetooth-perl-0.40.orig/debian/docs +++ libnet-bluetooth-perl-0.40/debian/docs @@ -0,0 +1 @@ +README --- libnet-bluetooth-perl-0.40.orig/debian/control +++ libnet-bluetooth-perl-0.40/debian/control @@ -0,0 +1,19 @@ +Source: libnet-bluetooth-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Rene Mayorga +Build-Depends: debhelper (>= 5), perl ( >=5.6.0-16), dpatch, libbluetooth-dev +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-bluetooth-perl/ +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-bluetooth-perl/ + +Package: libnet-bluetooth-perl +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} +Description: Perl Bluetooth interface + Net::Bluetooth allow to manage Bluetooth features such a device and services + discovery, RFCOMM connections and other Bluetooth functions, please + see the examples for more info. + . + Homepage: http://search.cpan.org/~iguthrie/Net-Bluetooth-0.40 --- libnet-bluetooth-perl-0.40.orig/debian/rules +++ libnet-bluetooth-perl-0.40/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ifndef PERL + PERL = /usr/bin/perl +endif + +TMP=$(CURDIR)/debian/libnet-bluetooth-perl + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp + +build-stamp: patch-stamp + dh_testdir + $(PERL) Makefile.PL + $(MAKE) OPTIMIZE="$(CFLAGS)" + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install_vendor PREFIX=$(TMP)/usr + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + dh_installexamples samples/* + dh_strip + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libnet-bluetooth-perl-0.40.orig/debian/watch +++ libnet-bluetooth-perl-0.40/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/Net/Net-Bluetooth-(.*)\.tar\.gz --- libnet-bluetooth-perl-0.40.orig/debian/changelog +++ libnet-bluetooth-perl-0.40/debian/changelog @@ -0,0 +1,7 @@ +libnet-bluetooth-perl (0.40-1) unstable; urgency=low + + * Initial release (Closes: #441475) + * '#!/usr/bin/perl' added to examples + + -- Rene Mayorga Sun, 09 Sep 2007 21:26:15 -0600 + --- libnet-bluetooth-perl-0.40.orig/debian/compat +++ libnet-bluetooth-perl-0.40/debian/compat @@ -0,0 +1 @@ +5 --- libnet-bluetooth-perl-0.40.orig/debian/patches/proper-interpreter-in-samples.dpatch +++ libnet-bluetooth-perl-0.40/debian/patches/proper-interpreter-in-samples.dpatch @@ -0,0 +1,52 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## proper-interpreter-in-samples.dpatch by Rene Mayorga +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adding #!/usr/bin/perl in some samples + +@DPATCH@ +diff -urNad libnet-bluetooth-perl-0.40~/samples/client_connection libnet-bluetooth-perl-0.40/samples/client_connection +--- libnet-bluetooth-perl-0.40~/samples/client_connection 2006-06-19 22:19:13.000000000 -0600 ++++ libnet-bluetooth-perl-0.40/samples/client_connection 2007-09-10 01:40:31.000000000 -0600 +@@ -1,3 +1,5 @@ ++#!/usr/bin/perl ++ + use Net::Bluetooth; + + #### Create a RFCOMM client +diff -urNad libnet-bluetooth-perl-0.40~/samples/device_discovery libnet-bluetooth-perl-0.40/samples/device_discovery +--- libnet-bluetooth-perl-0.40~/samples/device_discovery 2006-06-19 21:01:54.000000000 -0600 ++++ libnet-bluetooth-perl-0.40/samples/device_discovery 2007-09-10 01:40:43.000000000 -0600 +@@ -1,3 +1,5 @@ ++#!/usr/bin/perl ++ + use Net::Bluetooth; + + #### list all remote devices in the area +diff -urNad libnet-bluetooth-perl-0.40~/samples/get_gps_data libnet-bluetooth-perl-0.40/samples/get_gps_data +--- libnet-bluetooth-perl-0.40~/samples/get_gps_data 2006-06-23 23:03:10.000000000 -0600 ++++ libnet-bluetooth-perl-0.40/samples/get_gps_data 2007-09-10 01:41:04.000000000 -0600 +@@ -1,3 +1,5 @@ ++#!/usr/bin/perl ++ + use Net::Bluetooth; + $| = 1; + +diff -urNad libnet-bluetooth-perl-0.40~/samples/server_and_service_registration libnet-bluetooth-perl-0.40/samples/server_and_service_registration +--- libnet-bluetooth-perl-0.40~/samples/server_and_service_registration 2007-01-14 16:54:57.000000000 -0600 ++++ libnet-bluetooth-perl-0.40/samples/server_and_service_registration 2007-09-10 01:41:18.000000000 -0600 +@@ -1,3 +1,5 @@ ++#!/usr/bin/perl ++ + use Net::Bluetooth; + + #### Create a RFCOMM server +diff -urNad libnet-bluetooth-perl-0.40~/samples/service_discovery libnet-bluetooth-perl-0.40/samples/service_discovery +--- libnet-bluetooth-perl-0.40~/samples/service_discovery 2006-06-19 23:27:58.000000000 -0600 ++++ libnet-bluetooth-perl-0.40/samples/service_discovery 2007-09-10 01:41:37.000000000 -0600 +@@ -1,3 +1,5 @@ ++#!/usr/bin/perl ++ + use Net::Bluetooth; + + #### About the sdp_search call: --- libnet-bluetooth-perl-0.40.orig/debian/patches/00list +++ libnet-bluetooth-perl-0.40/debian/patches/00list @@ -0,0 +1 @@ +proper-interpreter-in-samples.dpatch --- libnet-bluetooth-perl-0.40.orig/debian/copyright +++ libnet-bluetooth-perl-0.40/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Rene Mayorga on +Sun, 09 Sep 2007 21:26:15 -0600. + +It was downloaded from: http://search.cpan.org/~iguthrie/Net-Bluetooth-0.40/ + +Upstream Author: + Ian Guthrie + +Copyright: + Copyright (c) 2006 Ian Guthrie. All rights reserved. + + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + Perl could be distribute with GPL/Artistic License agreements. + on Debian systems you can find a copy of the entire Artistic + License at '/usr/share/common-licenses/Artistic' + + +The Debian packaging is (C) 2007, Rene Mayorga and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'.