summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control43
-rw-r--r--debian/copyright27
-rw-r--r--debian/libpcidb-dev.install3
-rw-r--r--debian/libpcidb2.install2
-rw-r--r--debian/libpcidb2.symbols26
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/format1
9 files changed, 116 insertions, 0 deletions
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 <pashev.igor@gmail.com> 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 <pashev.igor@gmail.com>
+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 <pashev.igor@gmail.com>
+License: WTFPL-2
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+ .
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+ .
+ 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)