From a156fa27e027778410e0ab43b35e3551410dd231 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 26 Jan 2014 21:14:50 +0400 Subject: Package for Dyson --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 43 +++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 27 +++++++++++++++++++++++++++ debian/libpcidb-dev.install | 3 +++ debian/libpcidb2.install | 2 ++ debian/libpcidb2.symbols | 26 ++++++++++++++++++++++++++ debian/rules | 8 ++++++++ debian/source/format | 1 + 9 files changed, 116 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libpcidb-dev.install create mode 100644 debian/libpcidb2.install create mode 100644 debian/libpcidb2.symbols create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8856b2a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libpcidb (1.0-1) unstable; urgency=low + + * Initial release. + + -- Igor Pashev Sun, 26 Jan 2014 20:13:45 +0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a397168 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: libpcidb +Section: libs +Priority: optional +Maintainer: Igor Pashev +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.4 +Homepage: https://www.illumos.org + +Package: libpcidb2 +Section: libs +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: hwdata +Description: library to understand and parse the pci.ids database + This package contains libpcidb shared library. + . + This library exists to understand and parse the pci.ids database that is + maintained at http://pci-ids.ucw.cz/. This database provides a way to map + the PCI device, vendor, and subsystem ids to a human understandable name. + +Package: libpcidb2-dbg +Section: debug +Priority: extra +Multi-Arch: same +Architecture: any +Depends: ${misc:Depends}, libpcidb2 (= ${binary:Version}) +Description: library to parse the pci.ids database: debug symbols + This package contains the detached debugging symbols for the libpcidb library + +Package: libpcidb-dev +Section: libdevel +Architecture: any +Provides: libpcidb2-dev +Depends: libpcidb2 (= ${binary:Version}), ${misc:Depends} +Description: library to parse the pci.ids database (development files) + This package contains the header files and symlinks needed + to compile applications that use libpcidb. + . + This library exists to understand and parse the pci.ids database that is + maintained at http://pci-ids.ucw.cz/. This database provides a way to map + the PCI device, vendor, and subsystem ids to a human understandable name. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e664462 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: debian/* + configure.ac + Makefile.am +Copyright: 2014, Igor Pashev +License: WTFPL-2 + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + . + Copyright (C) 2004 Sam Hocevar + . + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + . + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + . + 0. You just DO WHAT THE FUCK YOU WANT TO. + + +Files: usr/src/lib/libpcidb/* +Copyright: 2012, Joyent, Inc +License: CDDL + On Dyson system, the full text of the CDDL license + can be found in the file `/usr/share/common-licenses/CDDL-1.0'. diff --git a/debian/libpcidb-dev.install b/debian/libpcidb-dev.install new file mode 100644 index 0000000..2d1b902 --- /dev/null +++ b/debian/libpcidb-dev.install @@ -0,0 +1,3 @@ +usr/include/pcidb.h +usr/lib/*/libpcidb.so +usr/lib/*/libpcidb.a diff --git a/debian/libpcidb2.install b/debian/libpcidb2.install new file mode 100644 index 0000000..abf2dec --- /dev/null +++ b/debian/libpcidb2.install @@ -0,0 +1,2 @@ +usr/lib/*/libpcidb.so.2 +usr/lib/*/libpcidb.so.2.* diff --git a/debian/libpcidb2.symbols b/debian/libpcidb2.symbols new file mode 100644 index 0000000..b89d466 --- /dev/null +++ b/debian/libpcidb2.symbols @@ -0,0 +1,26 @@ +libpcidb.so.2 libpcidb2 #MINVER# + PCIDB_2.0@PCIDB_2.0 1.0 + pcidb_close@PCIDB_2.0 1.0 + pcidb_device_id@PCIDB_2.0 1.0 + pcidb_device_iter@PCIDB_2.0 1.0 + pcidb_device_iter_next@PCIDB_2.0 1.0 + pcidb_device_name@PCIDB_2.0 1.0 + pcidb_device_vendor@PCIDB_2.0 1.0 + pcidb_lookup_device@PCIDB_2.0 1.0 + pcidb_lookup_device_by_vendor@PCIDB_2.0 1.0 + pcidb_lookup_subvd@PCIDB_2.0 1.0 + pcidb_lookup_subvd_by_device@PCIDB_2.0 1.0 + pcidb_lookup_subvd_by_vendor@PCIDB_2.0 1.0 + pcidb_lookup_vendor@PCIDB_2.0 1.0 + pcidb_open@PCIDB_2.0 1.0 + pcidb_subvd_device@PCIDB_2.0 1.0 + pcidb_subvd_iter@PCIDB_2.0 1.0 + pcidb_subvd_iter_next@PCIDB_2.0 1.0 + pcidb_subvd_name@PCIDB_2.0 1.0 + pcidb_subvd_sdid@PCIDB_2.0 1.0 + pcidb_subvd_svid@PCIDB_2.0 1.0 + pcidb_subvd_vendor@PCIDB_2.0 1.0 + pcidb_vendor_id@PCIDB_2.0 1.0 + pcidb_vendor_iter@PCIDB_2.0 1.0 + pcidb_vendor_iter_next@PCIDB_2.0 1.0 + pcidb_vendor_name@PCIDB_2.0 1.0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b6f7ac0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_strip: + dh_strip --dbg-package=libpcidb2-dbg + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3