--- libnet-bluetooth-perl-0.40.orig/debian/changelog +++ libnet-bluetooth-perl-0.40/debian/changelog @@ -0,0 +1,48 @@ +libnet-bluetooth-perl (0.40-2build2) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Sun, 08 May 2011 13:19:42 +0100 + +libnet-bluetooth-perl (0.40-2build1) intrepid; urgency=low + + * No-change rebuild for libbluetooth2 -> libbluetooth3 transistion. + + -- Steve Kowalik Wed, 08 Oct 2008 12:56:54 +1100 + +libnet-bluetooth-perl (0.40-2) unstable; urgency=low + + [ gregor herrmann ] + The 'ready for perl 5.10' release. + + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: + Homepage pseudo-field (Description); XS-Vcs-Svn fields. + * debian/rules: delete /usr/share/perl5 only if it exists. + * Set Standards-Version to 3.7.3 (no changes needed). + * Set debhelper compatibility level to 6. + * debian/watch: use dist-based URL. + * Remove debian/docs and install README directly from debian/rules. + * debian/copyright: + - mention version-independent upstream source location + - extend reference to Perl license + * debian/rules: + - let build-stamp depend on $(DPATCH_STAMPFN) instead of patch-stamp + - move dh_clean before make distclean + - remove -stamp files with dh_clean + - create install-stamp target depending on build-stamp + - use DESTDIR and PREFIX for make install + + [ Damyan Ivanov ] + * convert patches to quilt + * add myself to Uploaders + + -- Damyan Ivanov Wed, 23 Jan 2008 22:24:24 +0200 + +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/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/quilt/quilt.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL + $(MAKE) OPTIMIZE="$(CFLAGS)" + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) distclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install_vendor DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5 + touch $@ + + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs README + 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://search.cpan.org/dist/Net-Bluetooth/ .*/Net-Bluetooth-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libnet-bluetooth-perl-0.40.orig/debian/compat +++ libnet-bluetooth-perl-0.40/debian/compat @@ -0,0 +1 @@ +6 --- 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 , + Damyan Ivanov +Build-Depends: debhelper (>= 6), perl ( >=5.6.0-16), quilt, libbluetooth-dev +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Net-Bluetooth/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-bluetooth-perl/ +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. --- 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. + +Upstream source location: http://search.cpan.org/dist/Net-Bluetooth/ + +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 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'. + +The Debian packaging is (C) 2007, Rene Mayorga and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- libnet-bluetooth-perl-0.40.orig/debian/patches/proper-interpreter-in-samples.patch +++ libnet-bluetooth-perl-0.40/debian/patches/proper-interpreter-in-samples.patch @@ -0,0 +1,49 @@ +# proper-interpreter-in-samples.patch by Rene Mayorga +# 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/series +++ libnet-bluetooth-perl-0.40/debian/patches/series @@ -0,0 +1 @@ +proper-interpreter-in-samples.patch