2006-12-18 23:17:24 +00:00
|
|
|
#
|
2007-11-06 22:42:23 +00:00
|
|
|
# spec file for package pciutils (Version 2.2.9)
|
2006-12-18 23:17:24 +00:00
|
|
|
#
|
2007-01-20 10:46:13 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-18 23:17:24 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: pciutils
|
2007-03-29 16:24:13 +00:00
|
|
|
BuildRequires: zlib-devel
|
2007-11-06 22:42:23 +00:00
|
|
|
Version: 2.2.9
|
|
|
|
Release: 1
|
2006-12-18 23:17:24 +00:00
|
|
|
Requires: pciutils-ids
|
2007-10-05 13:59:20 +00:00
|
|
|
AutoReqProv: on
|
2006-12-18 23:17:24 +00:00
|
|
|
Group: Hardware/Other
|
2007-07-04 23:18:26 +00:00
|
|
|
License: GPL v2 or later
|
2006-12-18 23:17:24 +00:00
|
|
|
Summary: PCI-utilities for Kernel version 2.2 and newer
|
2007-10-05 13:59:20 +00:00
|
|
|
Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
2007-05-06 15:17:28 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch1: %{name}-%{version}-strip.diff
|
|
|
|
Patch2: update-pciutils-dist
|
2006-12-18 23:17:24 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
lspci: This program displays detailed information about all PCI busses
|
|
|
|
and devices in the system, replacing the original /proc/pci interface.
|
|
|
|
|
|
|
|
setpci: This program allows reading from and writing to PCI device
|
|
|
|
configuration registers. For example, you can adjust the latency timers
|
|
|
|
with it.
|
|
|
|
|
|
|
|
update-pciids: This program downloads the current version of the
|
|
|
|
pci.ids file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2007-01-20 10:46:13 +00:00
|
|
|
Martin Mares <mj@ucw.cz>
|
2006-12-18 23:17:24 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Static Library and Include Files of the PCI-utilities
|
2007-03-29 16:24:13 +00:00
|
|
|
# As we only package a static library we need zlib-devel for final linking
|
|
|
|
Requires: zlib-devel
|
2006-12-18 23:17:24 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the files that are necessary for software
|
|
|
|
development using the PCI-utilities.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2007-01-20 10:46:13 +00:00
|
|
|
Martin Mares <mj@ucw.cz>
|
2006-12-18 23:17:24 +00:00
|
|
|
|
|
|
|
%prep
|
2007-05-06 15:17:28 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2006-12-18 23:17:24 +00:00
|
|
|
%patch1
|
2007-05-06 15:17:28 +00:00
|
|
|
%patch2 -p1
|
2006-12-18 23:17:24 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
make OPT="$RPM_OPT_FLAGS -Wall" PREFIX=%{_prefix} SBINDIR=/sbin
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install PREFIX=$RPM_BUILD_ROOT%{_prefix} SBINDIR=$RPM_BUILD_ROOT/sbin \
|
|
|
|
ROOT=$RPM_BUILD_ROOT/ MANDIR=$RPM_BUILD_ROOT/%{_mandir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_includedir}/pci
|
|
|
|
cp -p lib/libpci.a $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
cp -p lib/{pci,header,config,types}.h $RPM_BUILD_ROOT%{_includedir}/pci/
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/pci.ids*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
/sbin/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/pci/
|
|
|
|
%{_libdir}/libpci.a
|
2007-03-29 16:24:13 +00:00
|
|
|
%changelog
|
2007-11-06 22:42:23 +00:00
|
|
|
* Tue Nov 06 2007 - anicka@suse.cz
|
|
|
|
- update to 2.2.9
|
|
|
|
* lspci.c: Added a new switch `-k' which requests printing
|
|
|
|
of information on kernel drivers attached to each device
|
|
|
|
and on kernel modules reporting the ability to handle the
|
|
|
|
device.
|
|
|
|
* Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
|
|
|
|
Also added an explicit pattern rule for linking to make sure
|
|
|
|
that LDLIBS is used on all platforms.
|
|
|
|
* pci.ids: Revised class codes to match Conventional PCI 3.0
|
|
|
|
specs.
|
|
|
|
* lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
|
|
|
|
* lspci.c: Big code cleanup: re-arranged functions in the code,
|
|
|
|
renamed everything related to capabilities to cap_* and
|
|
|
|
all options except verbose to opt_*.
|
|
|
|
* Capability loop detection introduced 2.2.7 did not work
|
|
|
|
properly with extended capabilities. Fixed.
|
2007-10-25 00:40:00 +00:00
|
|
|
* Wed Oct 24 2007 - anicka@suse.cz
|
|
|
|
- drop the patch backporting upstream bug in
|
|
|
|
a machine readable output [#330533]
|
|
|
|
- fix typo in show_ext_caps in lspci
|
2007-10-05 13:59:20 +00:00
|
|
|
* Fri Oct 05 2007 - anicka@suse.cz
|
|
|
|
- update to 2.2.7
|
|
|
|
* lspci.c (show_caps, show_ext_caps): Detect and report loops in
|
|
|
|
capability lists.
|
|
|
|
* lspci.c, lib/header.h: Finished decoding of the PCI Express
|
|
|
|
capability. The extended capabilities remain undecoded for now,
|
|
|
|
but at least the list of them has been updated to reflect the
|
|
|
|
current PCI Express 2.0 spec.
|
|
|
|
* lspci.c, lib/header.h: Decode new bits of traditional registers
|
|
|
|
as defined by PCIE / PCI-X. This includes discard timers in
|
|
|
|
the bridge control register and INTx enable/status in device
|
|
|
|
control/status registers.
|
|
|
|
* Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to
|
|
|
|
allow cross-compilation.
|
|
|
|
* lspci.c (show_ht): Added decoding of Hypertransport MSI
|
|
|
|
mapping capability
|
|
|
|
* tests/cap-MSI-mapping: Added a test case.
|
2007-07-04 23:18:26 +00:00
|
|
|
* Tue Jul 03 2007 - anicka@suse.cz
|
|
|
|
- update to 2.2.6
|
|
|
|
* Makefile: Added an "install-lib" target.
|
|
|
|
* Makefile, lib/Makefile: Generate and install pkg-config file
|
|
|
|
for libpci.
|
|
|
|
* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
|
2007-05-06 15:17:28 +00:00
|
|
|
* Fri May 04 2007 - anicka@suse.cz
|
|
|
|
- update to 2.2.5
|
|
|
|
* pci.ids: Updated to the current snapshot of the database.
|
|
|
|
* lspci.c (show_express): Added PCI/PCI-X to PCI-Express
|
|
|
|
Bridge type.
|
|
|
|
* pci.ids: Updated to the current snapshot of the database.
|
|
|
|
* Replaced bzero() by memset() everywhere, it's better to lose
|
|
|
|
a tiny bit of readability than maintain hacks to make it work
|
|
|
|
on various systems.
|
|
|
|
* lib/configure: tr on Solaris is a bit weird and it requires
|
|
|
|
`[A-Z]' instead of `A-Z'. Fortunately, the extra brackets
|
|
|
|
don't hurt otherwise.
|
|
|
|
* lib/types.h, lib/configure: Solaris should use <stdint.h>
|
|
|
|
to get precise integer types.
|
|
|
|
* lspci.c: alloca() needs <alloca.h>.
|
|
|
|
* lib/dump.c: Fixed a couple of bugs in the dump backend which
|
|
|
|
caused devices with domains or with extended config space
|
|
|
|
to be read incorrectly. Also, dumps with partial lines are
|
|
|
|
allowed now.
|
|
|
|
* lspci.c (scan_device): If an error occurs when reading the
|
|
|
|
standard config header of a device, report it and ignore the
|
|
|
|
device and return with exit code 2 at the end.
|
|
|
|
- remove noabort.diff (implemented by upstream)
|
2007-03-29 16:24:13 +00:00
|
|
|
* Thu Mar 29 2007 - rguenther@suse.de
|
|
|
|
- add zlib-devel BuildRequires
|
|
|
|
- require zlib-devel from pciutils-devel package
|
2007-01-29 16:09:19 +00:00
|
|
|
* Mon Jan 29 2007 - anicka@suse.cz
|
|
|
|
- change dependency from python to perl in update-pciids [#221276]
|
2007-01-20 10:46:13 +00:00
|
|
|
* Sat Jan 20 2007 - garloff@suse.de
|
|
|
|
- Change update-pciids to download to pci.ids.d/pci.ids.dist
|
|
|
|
and call merge-pciids if possible. [FATE 301145, bug 221276]
|
2006-12-18 23:17:24 +00:00
|
|
|
* Fri Oct 13 2006 - aj@suse.de
|
|
|
|
- Fix to build (remove pci.ids.gz as well).
|
|
|
|
* Fri Oct 13 2006 - mjancar@suse.cz
|
|
|
|
- update to 2.2.4
|
|
|
|
* many bugfixes and cleanups
|
|
|
|
- branch separate package for pci.ids
|
|
|
|
* Mon May 22 2006 - schwab@suse.de
|
|
|
|
- Don't strip binaries.
|
|
|
|
* Wed Mar 22 2006 - kukuk@suse.de
|
|
|
|
- Remove pciids-suse patch (has to be fixed upstream)
|
|
|
|
* Wed Mar 22 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update pci.ids
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Fri Jan 20 2006 - mjancar@suse.cz
|
|
|
|
- update pci.ids (#144200)
|
|
|
|
* Fri Jan 13 2006 - mjancar@suse.cz
|
|
|
|
- reintroduce "Class" printed in numeric output (#143042)
|
|
|
|
* Mon Dec 19 2005 - mjancar@suse.cz
|
|
|
|
- update to 2.2.1
|
|
|
|
* Fri Aug 26 2005 - mjancar@suse.cz
|
|
|
|
- add types.h to pciutils-devel (#113294)
|
|
|
|
* Wed Aug 24 2005 - mjancar@suse.cz
|
|
|
|
- update to 2.1.99-test9 (#98896)
|
|
|
|
- update pci.ids (#104381)
|
|
|
|
* Mon Mar 14 2005 - mjancar@suse.cz
|
|
|
|
- fix non-ascii characters in pci.ids (#72345)
|
|
|
|
* Sat Mar 05 2005 - schwab@suse.de
|
|
|
|
- Fix syntax error in pci.ids.
|
|
|
|
* Tue Feb 22 2005 - mjancar@suse.cz
|
|
|
|
- fix sysfs parsing (#63326)
|
|
|
|
- update pci.ids
|
|
|
|
* Fri Sep 17 2004 - tcrhak@suse.cz
|
|
|
|
- updated pci.ids to the latest snapshot (fixes bug #45370)
|
|
|
|
* Thu May 27 2004 - tcrhak@suse.cz
|
|
|
|
- changed "SGI IO9/IO10 Gigabit Ethernet (Copper)"
|
|
|
|
to "SGI IO9/IO10 Gigabit Ethernet (Copper)" (bug #40175)
|
|
|
|
* Wed Apr 28 2004 - tcrhak@suse.cz
|
|
|
|
- updated pci.ids
|
|
|
|
* Thu Mar 04 2004 - tcrhak@suse.cz
|
|
|
|
- some pci.ids fixes:
|
|
|
|
* changed SubDevice of Dell Inspiron 2100 internal modem (bug #32842)
|
|
|
|
* added 1291 - Auxiliary Diva Serial Port (bug #31984)
|
|
|
|
* added PCI IDs for InfiniBand HCAs (bug #34928)
|
|
|
|
* Tue Feb 24 2004 - tcrhak@suse.cz
|
|
|
|
- added support for domains to device filter (lspci -s, setpci -s)
|
|
|
|
(fixes bug #33382, patch sysfs-filter)
|
|
|
|
- updated pci.ids
|
|
|
|
* Sat Nov 29 2003 - olh@suse.de
|
|
|
|
- use default owner for pciutils-devel files
|
|
|
|
* Wed Nov 05 2003 - olh@suse.de
|
|
|
|
- remove pcimodules again, it doesnt do anything right
|
|
|
|
* Tue Oct 28 2003 - olh@suse.de
|
|
|
|
- add patch for 2.6 /proc/bus/pci layout
|
|
|
|
http://ftp.linux.org.uk/pub/linux/willy/patches/pciutils-sysfs.diff
|
|
|
|
* Wed Oct 08 2003 - tcrhak@suse.cz
|
|
|
|
- added pcimodules [bug #31953]
|
|
|
|
* Mon Aug 25 2003 - tcrhak@suse.cz
|
|
|
|
- updated pci.ids to the latest version from http://pciids.sourceforge.net
|
|
|
|
* Tue Feb 18 2003 - tcrhak@suse.cz
|
|
|
|
- fixed NIC PCI IDs for Compaq [bug #22795],
|
|
|
|
patch pciids.diff
|
|
|
|
- also included the diff for the latest pci.ids
|
|
|
|
into the patch
|
|
|
|
* Wed Jan 15 2003 - tcrhak@suse.cz
|
|
|
|
- fixed install paths
|
|
|
|
* Mon Jan 06 2003 - tcrhak@suse.cz
|
|
|
|
- update to version 2.1.11
|
|
|
|
- updated pci.ids to the latest version from http://pciids.sourceforge.net
|
|
|
|
* Tue Sep 17 2002 - ro@suse.de
|
|
|
|
- removed bogus self-provides
|
|
|
|
* Fri Sep 06 2002 - olh@suse.de
|
|
|
|
- update description of pcnet32 cards (#18892)
|
|
|
|
* Thu Aug 29 2002 - tcrhak@suse.cz
|
|
|
|
- updated pci.ids to latest version from http://pciids.sourceforge.net
|
|
|
|
this version contains entries needed by Hammer systems (bug #17549)
|
|
|
|
* Thu Aug 08 2002 - olh@suse.de
|
|
|
|
- the acenic gigabit card can be either fibre or utp
|
|
|
|
update pci.ids entry (#17502)
|
|
|
|
* Tue Jul 30 2002 - tcrhak@suse.cz
|
|
|
|
- updated to version 2.1.10
|
|
|
|
- updated pci.ids to latest version from http://pciids.sourceforge.net
|
|
|
|
* Tue Mar 26 2002 - tcrhak@suse.cz
|
|
|
|
- updated pci.ids to latest version from http://pciids.sourceforge.net
|
|
|
|
* Fri Jan 18 2002 - tcrhak@suse.cz
|
|
|
|
- used macros %%{_lib} and %%{_libdir}
|
|
|
|
* Tue Jan 08 2002 - schwab@suse.de
|
|
|
|
- Fix warnings.
|
|
|
|
* Mon Dec 17 2001 - tcrhak@suse.cz
|
|
|
|
- updated pciutils to 2.1.9
|
|
|
|
- updated pci.ids to latest version from
|
|
|
|
http://pciids.sourceforge.net/
|
|
|
|
* Wed Dec 12 2001 - grimmer@suse.de
|
|
|
|
- updated pci.ids to latest version from
|
|
|
|
http://pciids.sourceforge.net/
|
|
|
|
- added pci.ids.bz2 as a separate source file and removed
|
|
|
|
pci.ids.add.dif (now included upstream)
|
|
|
|
* Mon Sep 24 2001 - grimmer@suse.de
|
|
|
|
- added some missing PCI IDs for LSI Logic Fibre Channel
|
|
|
|
controllers to pci.ids.add.diff
|
|
|
|
- corrected typos in pci.ids (Fiber Channel -> Fibre Channel)
|
|
|
|
- added LSI Logic Inc. to vendor ID 0x1000
|
|
|
|
* Wed Sep 19 2001 - grimmer@suse.de
|
|
|
|
- added some missing PCI IDs for Compaq NICs to pci.ids.add.diff
|
|
|
|
see [#8918] for the list
|
|
|
|
* Mon Sep 10 2001 - grimmer@suse.de
|
|
|
|
- corrected some Intel NIC entries upon request from Intel
|
|
|
|
- merged pci.ids.riva.diff and the Intel changes in pci.ids.add.diff
|
|
|
|
* Mon Sep 03 2001 - garloff@suse.de
|
|
|
|
- Riva TnT corrections from snbarth:
|
|
|
|
* The name of Riva TnT 128 is Riva TnT.
|
|
|
|
* NVidia/SGS Joint Venture (12d2) never built TNT or later.
|
|
|
|
* Wed Aug 29 2001 - grimmer@suse.de
|
|
|
|
- merged pci.ids.244ac6.diff and pci.ids.add.diff into a single
|
|
|
|
patch (again named pci.ids.add.diff) and added some more PCI IDs
|
|
|
|
collected by Dave Jones <davej@suse.de> from various sources,
|
|
|
|
including the current pciutils CVS tree.
|
|
|
|
- beautyfied the spec file a bit (added clean section and defattr
|
|
|
|
in file list)
|
|
|
|
* Mon May 21 2001 - poeml@suse.de
|
|
|
|
- add -devel subpackage
|
|
|
|
* Thu May 10 2001 - garloff@suse.de
|
|
|
|
- Merge pci.ids from 2.4.4ac6
|
|
|
|
- bzip2 tarball
|
|
|
|
* Thu May 03 2001 - garloff@suse.de
|
|
|
|
- Also don't die on failing to read data of a normal device,
|
|
|
|
just complain loudly (and return 2 in the end)
|
|
|
|
- Updated pci.ids from linux-2.4.4 and added DFE-660.
|
|
|
|
* Wed Jan 17 2001 - garloff@suse.de
|
|
|
|
- Don't die on failure to read ext. cardbus data. [#5817]
|
|
|
|
* Sun Dec 17 2000 - garloff@suse.de
|
|
|
|
- Added pci.ids from linux-2.4.0-test12
|
|
|
|
- Added pci.ids floating around (lkml, RH)
|
|
|
|
- Added pci.ids for i820, ICH2/-M
|
|
|
|
* Mon Sep 18 2000 - schwab@suse.de
|
|
|
|
- Add `-Wno-format' to avoid spurious compile errors.
|
|
|
|
* Fri Aug 18 2000 - ro@suse.de
|
|
|
|
- cleanup srcdir
|
|
|
|
* Mon Jun 12 2000 - olh@suse.de
|
|
|
|
- update to 2.1.8
|
|
|
|
* Mon Jan 24 2000 - aj@suse.de
|
|
|
|
- update to 2.1.4, fix build problems with latest glibc, use patch
|
|
|
|
for make file from Martin Mares.
|
|
|
|
* Thu Jan 20 2000 - aj@suse.de
|
|
|
|
- update to 2.1.3, /usr/man -> /usr/share/man
|
|
|
|
* Tue Jan 04 2000 - ro@suse.de
|
|
|
|
- update to 2.1.2
|
|
|
|
* Tue Oct 26 1999 - ro@suse.de
|
|
|
|
- fixed to compile on axp
|
|
|
|
* Sat Oct 23 1999 - ro@suse.de
|
|
|
|
- update to 2.1pre8 / using Buildroot
|
|
|
|
* Mon Sep 13 1999 - bs@suse.de
|
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
|
|
|
* Thu May 20 1999 - ro@suse.de
|
|
|
|
- update to 2.0
|
|
|
|
* Wed Mar 31 1999 - bs@suse.de
|
|
|
|
- don't use lx_hack for build
|
|
|
|
* Tue Feb 23 1999 - ro@suse.de
|
|
|
|
- update to 1.10
|
|
|
|
* Thu Nov 26 1998 - ro@suse.de
|
|
|
|
- created package, version 1.08
|