File pciutils-ids.spec of Package pciutils-ids
#
# spec file for package pciutils-ids (Version 2008.11.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pciutils-ids
Version: 2008.11.26
Release: 1
AutoReqProv: on
Group: Hardware/Other
License: GPL v2 or later
Summary: PCI-utilities pci.ids database
Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
Source: http://pciids.sourceforge.net/pci.ids.bz2
Source2: merge-pciids
Source4: merge-pciids.pl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
PreReq: /usr/bin/perl coreutils
%description
The database of PCI IDS for pciutils.
merge-pciids: This program merges several pci.ids files.
Authors:
--------
Martin Mares <mj@ucw.cz>
%prep
bzcat %{S:0} >pci.ids.dist
%install
install -d -m755 $RPM_BUILD_ROOT%{_datadir}/pci.ids.d
install -m644 pci.ids.dist $RPM_BUILD_ROOT%{_datadir}/pci.ids.d/
install -d -m755 $RPM_BUILD_ROOT/usr/bin
install -m755 %{SOURCE4} $RPM_BUILD_ROOT/usr/bin/
install -m755 %{SOURCE2} $RPM_BUILD_ROOT/usr/bin/
install -m644 /dev/null $RPM_BUILD_ROOT%{_datadir}/pci.ids
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%dir %{_datadir}/pci.ids.d
%{_datadir}/pci.ids.d/pci.ids.dist
/usr/bin/merge-pciids
/usr/bin/merge-pciids.pl
%ghost %{_datadir}/pci.ids
%post
if [ -x /usr/bin/merge-pciids -a -x /usr/bin/perl ]; then
/usr/bin/merge-pciids
else
# This should only happen in autobuild
echo "WARNING: merge-pciids or perl not found"
cp -p %{_datadir}/pci.ids.d/pci.ids.dist %{_datadir}/pci.ids
fi
%changelog
* Thu Nov 13 2008 anicka@suse.cz
- update pci.ids (bnc#443863)
* Fri Oct 10 2008 anicka@suse.cz
- update pci.ids (bnc#427939)
* Wed Apr 09 2008 anicka@suse.cz
- update pci.ids
* Mon Feb 11 2008 rguenther@suse.de
- pre-require /usr/bin/perl, not perl, to make perl-base sufficient
* Tue Jan 15 2008 coolo@suse.de
- correctly prereq coreutils for the merge script
* Tue Jul 03 2007 anicka@suse.cz
- update pci.ids
* Fri May 04 2007 anicka@suse.cz
- update to fresh pci.ids
- remove testsuite (we have testsuite 346856 now)
* Tue Feb 13 2007 anicka@suse.cz
- remove tmp files created by merge-script [#244922]
* Mon Jan 29 2007 anicka@suse.cz
- switch to upstream supplied merge tool [bug 221276]
- rewrite testsuite (format of old testcases was wrong)
* Sat Jan 20 2007 garloff@suse.de
- Move pci.ids to pci.ids.d/pci.ids.dist and include merge tool
[FATE 301145, bug 221276].
- Include test case, but leave disabled for now to avoid build dep
on python.
- Update pci.ids.
* Mon Oct 23 2006 mjancar@suse.cz
- change to noarch
* Sun Oct 15 2006 schwab@suse.de
- Remove unused devel subpackage.
* Thu Oct 12 2006 mjancar@suse.cz
- branch from pciutils
* 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
* Sun Jun 11 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