From c808511694aa3c1253f89de3d2782217896e2007 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 10 May 2011 12:58:13 +0000 Subject: [PATCH] debian: update debian files (Thanks to Thomas Hood) --- debian/changelog | 6 +++ debian/control | 48 ++++++++++++--------- debian/copyright | 8 ++-- debian/{libnfc0.install => libnfc1.install} | 2 +- debian/rules | 4 +- 5 files changed, 40 insertions(+), 28 deletions(-) rename debian/{libnfc0.install => libnfc1.install} (50%) diff --git a/debian/changelog b/debian/changelog index 8fc0eb2..3d887b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,12 @@ libnfc (1.5.0-0) unstable; urgency=low -- Romuald Conty Mon, 4 Apr 2011 11:42:42 +0100 +libnfc (1.4.2-0ppa3~natty) natty; urgency=low + + * Upload to PPA + + -- Thomas Hood Thu, 05 May 2011 10:00:00 +0200 + libnfc (1.4.2-0) unstable; urgency=low * New upstream release. diff --git a/debian/control b/debian/control index 954d24f..59b3980 100644 --- a/debian/control +++ b/debian/control @@ -1,41 +1,49 @@ Source: libnfc -Section: devel -Priority: optional -Maintainer: Romuald Conty -Build-Depends: debhelper (>= 5.0.37.2), automake, libtool, pkg-config, libusb-dev, libpcsclite-dev -Standards-Version: 3.7.3 +Section: libs +Priority: extra +Maintainer: Thomas Hood +Build-Depends: debhelper (>= 7), automake, libtool, pkg-config, libusb-dev, libpcsclite-dev +Standards-Version: 3.9.2 Homepage: http://www.libnfc.org/ -Package: libnfc0 +Package: libnfc1 +Section: libs Architecture: any -Depends: ${shlibs:Depends}, libusb-0.1-4, libpcsclite1 (>= 1.5), libccid (>= 1.3.10), pcscd (>= 1.5) +Depends: ${shlibs:Depends}, ${misc:Depends}, libusb-0.1-4, libpcsclite1 (>= 1.5), libccid (>= 1.3.10), pcscd (>= 1.5) Description: Near Field Communication (NFC) library - libnfc is a Free Software library for Near Field Communication. Supported NFC hardware - devices are, theorically, all hardware based on the NXP PN531, PN532 or PN533 NFC - controller chip. + libnfc is a Free Software library for Near Field Communication. + Supported NFC hardware devices are, theorically, all hardware + based on the NXP PN531, PN532 or PN533 NFC controller chip. Package: libnfc-dev +Section: libdevel Architecture: any -Depends: libnfc0, libusb-dev, libpcsclite-dev +Depends: ${shlibs:Depends}, ${misc:Depends}, libnfc1 (= ${binary:Version}), libusb-dev, libpcsclite-dev Description: Near Field Communication library (development files) - libnfc is a Free Software library for Near Field Communication. Supported NFC hardware - devices are, theorically, all hardware based on the NXP PN531, PN532 or PN533 NFC - controller chip. + libnfc is a Free Software library for Near Field Communication. + Supported NFC hardware devices are, theorically, all hardware + based on the NXP PN531, PN532 or PN533 NFC controller chip. Package: libnfc-bin +Section: utils Architecture: any -Depends: libnfc0 +Depends: ${shlibs:Depends}, ${misc:Depends}, libnfc1 (>= ${binary:Version}) Description: Near Field Communication binaries - Some binaries are provided with libnfc useful for developement (nfc-list, nfc-mfclassic, nfc-mfultralight, etc.). + Some binaries are provided with libnfc useful for development + (nfc-list, nfc-mfclassic, nfc-mfultralight, etc.). Package: libnfc-examples +Section: utils Architecture: any -Depends: libnfc0 +Depends: ${shlibs:Depends}, ${misc:Depends}, libnfc1 (>= ${binary:Version}) Description: Near Field Communication examples - Some examples are provided with libnfc for debugging and/or educational purpose (nfc-anticol, nfc-emulate, etc.). + Some examples are provided with libnfc for debugging and/or + educational purpose (nfc-anticol, nfc-emulate, etc.). Package: libnfc-pn53x-examples +Section: utils Architecture: any -Depends: libnfc0 +Depends: ${shlibs:Depends}, ${misc:Depends}, libnfc1 (>= ${binary:Version}) Description: Near Field Communication examples for PN53x chips only - Some PN53x-only examples are provided with libnfc for debugging and/or educational purpose (pn53x-sam, pn53x-tamashell, etc.). + Some PN53x-only examples are provided with libnfc for debugging + and/or educational purpose (pn53x-sam, pn53x-tamashell, etc.). diff --git a/debian/copyright b/debian/copyright index 988a2a8..8c01a76 100644 --- a/debian/copyright +++ b/debian/copyright @@ -17,11 +17,11 @@ License: GNU Lesser General Public License version 3 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + along with this program; if not, see . On Debian GNU/Linux systems, the complete text of the GNU General Public License, version 3, can be found in `/usr/share/common-licenses/LGPL-3'. -The Debian packaging is (C) 2009, Romuald Conty and -is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +The Debian packaging is copyright 2009, Romuald Conty +and Thomas Hood is licensed under the GPL, version 2. +See `/usr/share/common-licenses/GPL-2'. diff --git a/debian/libnfc0.install b/debian/libnfc1.install similarity index 50% rename from debian/libnfc0.install rename to debian/libnfc1.install index 809e47b..c944438 100644 --- a/debian/libnfc0.install +++ b/debian/libnfc1.install @@ -1,2 +1,2 @@ debian/tmp/usr/lib/libnfc.so.* -pn53x.rules etc/udev/rules.d/ +pn53x.rules lib/udev/rules.d diff --git a/debian/rules b/debian/rules index a3b3c85..d184ef7 100755 --- a/debian/rules +++ b/debian/rules @@ -71,7 +71,7 @@ clean: install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs # Add here commands to install the package into debian/tmp @@ -84,8 +84,6 @@ binary-indep: build install # Build architecture-dependent files here. binary-arch: build install - dh_testdir - dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples