client/debian/python-hwdata/debian/changelog | 5
client/debian/python-hwdata/debian/compat | 1
client/debian/python-hwdata/debian/control | 15 +
client/debian/python-hwdata/debian/copyright | 58 +++++++
client/debian/python-hwdata/debian/python-hwdata.docs | 2
client/debian/python-hwdata/debian/rules | 59 +++++++
client/debian/python-hwdata/debian/upstream.changelog | 141 ++++++++++++++++++
client/debian/rhn-client-tools/debian/control | 2
8 files changed, 282 insertions(+), 1 deletion(-)
New commits:
commit 28bfff964cf5136536cdd33faf12dc91af11d0b1
Author: William <kc(a)cobradevil.org>
Date: Mon Sep 3 10:42:03 2012 +0200
Make the rhn-client depend on python-hwdata
Signed-off-by: Simon Lukasik <slukasik(a)redhat.com>
diff --git a/client/debian/rhn-client-tools/debian/control
b/client/debian/rhn-client-tools/debian/control
index 0948882..ae00ef7 100644
--- a/client/debian/rhn-client-tools/debian/control
+++ b/client/debian/rhn-client-tools/debian/control
@@ -11,7 +11,7 @@ Package: python-rhn-client-tools
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, python-rhnlib (>= 2.5.40),
python-ethtool, python-dbus, python-apt (>= 0.7.100), python-newt,
- python-dmidecode, lsb-release, gnupg, hal
+ python-dmidecode, lsb-release, gnupg, hal, python-hwdata
Provides: ${python:Provides}, rhn-client-tools, rhn-check, rhn-setup,
rhn-setup-gnome
Recommends: apt-spacewalk
commit 9dd1077256dc04924c6fe01bd01d8ca6d04cdf5b
Author: William <kc(a)cobradevil.org>
Date: Mon Sep 3 10:39:46 2012 +0200
Initial debian package for python-hwdata. This will provide extended system
information for debian spacewalk clients.
Signed-off-by: Simon Lukasik <slukasik(a)redhat.com>
diff --git a/client/debian/python-hwdata/debian/changelog
b/client/debian/python-hwdata/debian/changelog
new file mode 100644
index 0000000..52dfda9
--- /dev/null
+++ b/client/debian/python-hwdata/debian/changelog
@@ -0,0 +1,5 @@
+python-hwdata (1.7.3-1) unstable; urgency=low
+
+ * Initial release
+
+ -- William van de Velde <kc(a)cobradevil.org> Fri, 06 Jul 2012 12:01:58 +0000
diff --git a/client/debian/python-hwdata/debian/compat
b/client/debian/python-hwdata/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/client/debian/python-hwdata/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/client/debian/python-hwdata/debian/control
b/client/debian/python-hwdata/debian/control
new file mode 100644
index 0000000..5f8a991
--- /dev/null
+++ b/client/debian/python-hwdata/debian/control
@@ -0,0 +1,15 @@
+Source: python-hwdata
+X-Python-Version: >= 2.6
+Section: python
+Priority: optional
+Homepage:
https://fedorahosted.org/spacewalk/wiki/Projects/python-hwdata
+Maintainer: William van de Velde <kc(a)cobradevil.org>
+Build-Depends: debhelper (>> 8), python (>=2.6.6-3), python-all-dev (>=
2.6.6-3)
+Standards-Version: 3.9.3
+
+Package: python-hwdata
+Architecture: any
+Provides: ${python:Provides}
+Depends: ${python:Depends}, ${misc:Depends}, hwdata
+Description: python extension for hwdata
+ With this module you can access the hwdata database
diff --git a/client/debian/python-hwdata/debian/copyright
b/client/debian/python-hwdata/debian/copyright
new file mode 100644
index 0000000..5f7ed11
--- /dev/null
+++ b/client/debian/python-hwdata/debian/copyright
@@ -0,0 +1,58 @@
+Provides python interface to database stored in hwdata package.
+It allows you to get human readable description of USB and PCI devices.
+===============================================================
+
+
+python-hwdata - python bindings to hwdata package
+=================================
+
+This package was authored and debianized by William van de Velde
<kc(a)cobradevil.org> on
+Fri, 6 Jul 2012.
+
+It was downloaded from
https://fedorahosted.org/spacewalk/wiki/Projects/python-hwdata
+
+Upstream Author: William van de Velde <kc(a)cobradevil.org>
+
+The Debian packaging is © 2012, William van de Velde <kc(a)cobradevil.org> and is
licensed
+under the GPL, see `/usr/share/common-licenses/GPL-2'.
+
+License:
+ GPLv2 - The python-dmidecode packages is available under the terms of
+ the GNU General Public license version 3. On Debian systems, the complete
+ text of the GNU General Public License can be found in
+ `/usr/share/common-licenses/GPL-2'.
+
+
+hwdata
+=========
+
+Original Author: Alan Cox <alan(a)redhat.com>
+
+Developer & Maintainer: Jean Delvare <khali(a)linux-fr.org>
+
+License: GNU GPLv2
+
+
+Copyrights
+==========
+ © 2000-2002 Alan Cox <alan(a)redhat.com>
+ © 2000-2008 Jean Delvare <khali(a)linux-fr.org>
+ © 2007-2009 Nima Talebi <nima(a)it.net.au>
+ © 2009 David Sommerseth <davids(a)redhat.com>
+
+License:
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+// vim: ft=asciidoc
diff --git a/client/debian/python-hwdata/debian/python-hwdata.docs
b/client/debian/python-hwdata/debian/python-hwdata.docs
new file mode 100644
index 0000000..f7893f0
--- /dev/null
+++ b/client/debian/python-hwdata/debian/python-hwdata.docs
@@ -0,0 +1,2 @@
+example.py
+html/
diff --git a/client/debian/python-hwdata/debian/rules
b/client/debian/python-hwdata/debian/rules
new file mode 100755
index 0000000..5cd59ce
--- /dev/null
+++ b/client/debian/python-hwdata/debian/rules
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=0
+PACKAGE = $(shell dh_listpackages|head -n1)
+PYVERS = $(shell pyversions -vr)
+
+################################################################################
+#. Build
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp: $(PYVERS:%=build-ext-%)
+ dh_testdir
+ touch $@
+build-ext-%:
+ python$* setup.py build
+ touch $@
+
+################################################################################
+#. Install
+install: install-stamp
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ dh_python2
+ dh_installman
+install-stamp: build-stamp $(PYVERS:%=install-ext-%)
+install-ext-%:
+ python$* setup.py install --root $(CURDIR)/debian/$(PACKAGE) \
+ --install-layout=deb
+ touch $@
+
+################################################################################
+#. Binary
+binary: build install
+ dh_testdir
+ dh_testroot
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+################################################################################
+#. Clean
+clean:
+ dh_testdir
+ dh_testroot
+ python$* setup.py clean
+ dh_clean build-stamp install-stamp \
+ $(PYVERS:%=install-ext-%) $(PYVERS:%=build-ext-%) \
+
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/client/debian/python-hwdata/debian/upstream.changelog
b/client/debian/python-hwdata/debian/upstream.changelog
new file mode 100644
index 0000000..63e9472
--- /dev/null
+++ b/client/debian/python-hwdata/debian/upstream.changelog
@@ -0,0 +1,141 @@
+commit 431a09e6df6d104427041b0966dc5d5866ac7bbd
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Mon May 21 10:12:04 2012 +0200
+
+ %defattr is not needed since rpm 4.4
+commit 431a09e6df6d104427041b0966dc5d5866ac7bbd
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Mon May 21 10:12:04 2012 +0200
+
+ %defattr is not needed since rpm 4.4
+
+ which means rhel5+ and we do not support rhel4 anymore
+
http://fedoraproject.org/wiki/Packaging:Guidelines#File_Permissions
+
+commit e99ecbee7c5e644a8352320897177bc2b6f41bee
+Author: Jan Pazdziora <jpazdziora(a)redhat.com>
+Date: Fri Mar 2 17:32:44 2012 +0100
+
+ Bumping package versions for 1.8.
+
+commit bdf644ed8b7c66f8faa4df19536c0779d32ca2d0
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Fri Mar 2 17:22:17 2012 +0100
+
+ Automatic commit of package [python-hwdata] release [1.7.3-1].
+
+commit 4a48bc3e83b5a3bda7ef575421df43abe965be8a
+Author: Joshua Roys <Joshua.Roys(a)gtri.gatech.edu>
+Date: Tue Feb 28 13:35:50 2012 -0500
+
+ 798375 - fix PCI device name translation
+
+commit 8ea6eae5bc79aa55cb0f281a01b94a5a6e808ce1
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Fri Mar 2 11:06:25 2012 +0100
+
+ use setup from distutils
+
+commit d2c8bb3c748edd4fa331d0780153f3bd98ac7ee4
+Author: Jan Pazdziora <jpazdziora(a)redhat.com>
+Date: Fri Mar 2 13:34:11 2012 +0100
+
+ Automatic commit of package [python-hwdata] release [1.7.2-1].
+
+commit e8d3400ad96650ffd0bfe6647ebd85e90fc644ca
+Author: Jan Pazdziora <jpazdziora(a)redhat.com>
+Date: Fri Mar 2 10:31:00 2012 +0100
+
+ Update the copyright year info.
+
+commit 3d32f0e3bed256d1db9df8639b69ed636daabec1
+Author: Jan Pazdziora <jpazdziora(a)redhat.com>
+Date: Fri Mar 2 09:19:27 2012 +0100
+
+ Automatic commit of package [python-hwdata] release [1.7.1-1].
+
+commit c094b8be033b7e865d11c8ffbcd1c313ffa512de
+Author: Milan Zazrivec <mzazrivec(a)redhat.com>
+Date: Wed Feb 29 09:41:49 2012 +0100
+
+ correct indentation
+
+commit e40433e2e6350f8e74b31594356882adfe6eb7f2
+Author: Milan Zazrivec <mzazrivec(a)redhat.com>
+Date: Thu Dec 22 11:33:51 2011 +0100
+
+ Bumping package versions for 1.7.
+
+commit 61e2ec4ef8472ed842fb81f1324dfab754f39751
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Mon Oct 31 00:45:42 2011 +0100
+
+ Automatic commit of package [python-hwdata] release [1.6.2-1].
+
+commit 776cc8d65f17014853f308a5a924891ca7cd12b3
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Mon Oct 31 00:45:29 2011 +0100
+
+ point URL to specific python-hwdata page
+
+commit 797d21f175bf6b2517a667b81e991090943bf427
+Author: Jan Pazdziora <jpazdziora(a)redhat.com>
+Date: Fri Jul 22 12:19:52 2011 +0200
+
+ Automatic commit of package [python-hwdata] release [1.6.1-1].
+
+commit 998b73a2cf50f45bb590ed0e870f882cd5d7020c
+Author: Jan Pazdziora <jpazdziora(a)redhat.com>
+Date: Fri Jul 22 11:22:27 2011 +0200
+
+ We only support version 14 and newer of Fedora, removing conditions for old
versions.
+
+commit f42e38c2dc4b647aacfcd9f2f0614ac201c59e96
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Mon Apr 26 16:23:32 2010 +0200
+
+ Automatic commit of package [python-hwdata] release [1.2-1].
+
+commit cee67f833b03e1d1f26a961a59e6cc5f5b56516d
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Mon Apr 26 16:08:08 2010 +0200
+
+ foo
+
+commit b1d7f0e5cafe97f06fcbb009b7121e43f17f8910
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Mon Apr 26 16:03:21 2010 +0200
+
+ 585138 - partial support for python3
+
+ we still will have problem with:
+ UnicodeDecodeError: 'utf8' codec can't decode byte 0xae in position 662:
unexpected code byte
+ due (r) in usb.ids
+ this can be fixed by
+ open(filename, encoding='iso-8895-1')
+ but that is incompatible with python2
+ will have to resolve it later
+
+commit 05fa8c6fa6886145427b5b4924fa010945b55770
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Fri Apr 23 16:32:29 2010 +0200
+
+ Automatic commit of package [python-hwdata] release [1.1-1].
+
+commit 3eff31de2c7188b9cfafadba248baeee8b5f109e
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Fri Apr 23 16:32:07 2010 +0200
+
+ define python_sitelib as it is defined only in F-13+ and RHEL6+
+
+commit 9e4f023d6e9c74bb3fc7c625ef81dc6343086c4d
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Fri Apr 23 10:30:32 2010 +0200
+
+ Automatic commit of package [python-hwdata] release [1.0-1].
+
+commit 6ee736b591ad0ce19e08fe9adb97645de81803a7
+Author: Miroslav Suchý <msuchy(a)redhat.com>
+Date: Fri Apr 23 10:23:58 2010 +0200
+
+ separate python-hwdata to separate package from rhn-client-tools