- Updated pci, usb and vendor ids
[oweals/hwdata.git] / hwdata.spec
index be31c33bbde458d4bd6c84737144c2e9042e9bab..f3b1a61a804a5ff5f192e3ae8250a48eb201145e 100644 (file)
-Name: hwdata
-Summary: Hardware identification and configuration data
-Version: 0.209
-Release: 1%{?dist}
-License: GPLv2+ and LGPLv2+
-Group: System Environment/Base
-Source: hwdata-%{version}.tar.bz2
-BuildArch: noarch
-Conflicts: Xconfigurator, system-config-display < 1.0.31, pcmcia-cs, kudzu < 1.2.0
-Requires: module-init-tools >= 3.2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# This package is arch-specific just because of bundling different files for
+# different architectures. No -debuginfo package is needed.
+%global     debug_package %{nil}
+%global     uprelease   8.6
+
+Name:       hwdata
+Summary:    Hardware identification and configuration data
+Version:    0.252
+Release:    %{uprelease}%{?dist}
+License:    GPLv2+
+Group:      System Environment/Base
+Source:     https://github.com/vcrhonek/hwdata/archive/v%{version}-%{?uprelease}.tar.gz
+URL:        https://github.com/vcrhonek/hwdata
+
+BuildRequires   : perl
+BuildRequires   : perl(Date::Format)
+
+Requires        : systemd
+Requires(post)  : systemd
+Requires(postun): systemd
 
 %description
 hwdata contains various hardware identification and configuration data,
-such as the pci.ids database and MonitorsDb databases.
+such as the pci.ids and usb.ids databases.
 
 %prep
-
-%setup -q
+%setup -q -n %{name}-%{version}-%{uprelease}
+%configure
 
 %build
-# nothing to build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_prefix}/lib
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+udevadm hwdb --update >/dev/null 2>&1 || :
+
+%postun
+udevadm hwdb --update >/dev/null 2>&1 || :
+
 %files
-%defattr(-,root,root)
 %doc LICENSE COPYING
 %dir %{_datadir}/%{name}
-%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist
+%{_prefix}/lib/modprobe.d/dist-blacklist.conf
+%{_prefix}/lib/udev/hwdb.d/[0-9][0-9]-*.hwdb
 %{_datadir}/%{name}/*
 
 %changelog
+* Tue Jun 27 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-8.6
+- Updated pci, usb and vendor ids
+  Resolves: #1386133 #1463185
+
+* Mon Mar 20 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-8.5
+- Updated pci, usb and vendor ids
+  Resolves: #1386133 #1424763
+- Removed module nx_crypto from blacklist on PowerPCs
+  Resolves: #1264326
+
+* Thu Sep 29 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-8.4
+- Remove wrong entry from usb ids.
+  Resolves: #1380159
+
+* Mon Sep 26 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-8.3
+- Updated pci, usb and vendor ids.
+- Resolves: rhbz#1292382
+
+* Tue Jun 28 2016 Michal Minar <miminar@redhat.com> 0.252-8.2
+- Updated pci, usb and vendor ids.
+- Resolves: rhbz#1292382
+- Resolves: rhbz#1291614
+- Resolves: rhbz#1324198
+
+* Fri Oct 23 2015 Michal Minar <miminar@redhat.com> 0.252-8.1
+- Updated pci, usb and vendor ids.
+- Resolves: rhbz#1236458
+- Resolves: rhbz#1256004
+- Resolves: rhbz#1266217
+- Resolves: rhbz#1271797
+
+* Mon Jun 29 2015 Michal Minar <miminar@redhat.com> 0.252-7.9
+- Updated pci, usb and vendor ids.
+
+* Tue Apr 14 2015 Michal Minar <miminar@redhat.com> 0.252-7.8
+- Blacklisted module nx_crypto on PowerPCs.
+- Resolves: rhbz#1211389
+- Disable debuginfo build.
+
+* Fri Apr 10 2015 Michal Minar <miminar@redhat.com> 0.252-7.6
+- Blacklisted experimental module sha1-mb.
+- Resolves: rhbz#1208120
+
+* Fri Jan 30 2015 Michal Minar <miminar@redhat.com> 0.252-7.5
+- Updated vendor, usb and pci ids.
+
+* Mon Sep 22 2014 Michal Minar <miminar@redhat.com> 0.252-7.4
+- Updated vendor, usb and pci ids.
+
+* Thu Mar 27 2014 Michal Minar <miminar@redhat.com> 0.252-7.3
+- Added few more hwdb files.
+- Updated vendor and pci ids.
+
+* Thu Mar 20 2014 Michal Minar <miminar@redhat.com> 0.252-7.1
+- Bumped release to reflect rhel version.
+- Fixed bogus dates in changelog.
+- Generate and install hwdb.d/* files.
+
+* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.252-3
+- Mass rebuild 2013-12-27
+
+* Mon Aug 5 2013 Michal Minar <miminar@redhat.com> 0.252-2
+- Changelog fix.
+
+* Sun Jul 21 2013 Michal Minar <miminar@redhat.com> 0.252-1
+- Data files update.
+
+* Sat Jul 06 2013 Michal Minar <miminar@redhat.com> 0.250-1
+- Data files update.
+
+* Thu Jun 20 2013 Michal Minar <miminar@redhat.com> 0.249-1
+- Data files update, pnp.ids included.
+
+* Thu Apr 18 2013 Michal Minar <miminar@redhat.com> 0.248-1
+- Data files update
+
+* Wed Mar 27 2013 Michal Minar <miminar@redhat.com> 0.247-1
+- Moved blacklist.conf from /etc/modprobe.d to /usr/lib/modprobe.d.
+- Renamed it to dist-blacklist.conf.
+- Data files update
+
+* Mon Mar 18 2013 Michal Minar <miminar@redhat.com> 0.245-1
+- Data files update
+
+* Mon Feb 18 2013 Michal Minar <miminar@redhat.com> 0.244-1
+- Data files updated
+
+* Fri Jan 18 2013 Michal Minar <miminar@redhat.com> 0.243-1
+- Data files updated
+
+* Fri Dec 07 2012 Michal Minar <miminar@redhat.com> 0.242-1
+- Update data files
+
+* Wed Nov 07 2012 Michal Minar <miminar@redhat.com> 0.241-1
+- Update data files
+
+* Wed Sep 26 2012 Michal Minar <miminar@redhat.com> 0.240-1
+- made use of configure script in prep
+
+* Tue Sep 25 2012 Michal Minar <miminar@redhat.com> 0.239-1
+- Update data files
+
+* Thu Aug 23 2012 Adam Jackson <ajax@redhat.com> 0.238-1
+- Fix reference specfile to current Fedora style
+
+* Thu Aug 23 2012 Adam Jackson <ajax@redhat.com> 0.235-1
+- Update data files
+- Remove upgradelist, not needed since kudzu-ectomy
+
+* Mon Aug 08 2011 Karsten Hopp <karsten@redhat.com> 0.233-7.3
+- update pci.ids, usb. ids
+
+* Mon May 02 2011 Karsten Hopp <karsten@redhat.com> 0.233-7.2
+- update pci.ids with a fix for QLogic Infiniband adapter
+
+* Wed Apr 27 2011 Karsten Hopp <karsten@redhat.com> 0.233-7.1
+- update to latest pci.ids, usb.ids
+
+* Fri Jan 28 2011 Karsten Hopp <karsten@redhat.com> 0.233-7
+- bump release
+- update oui.txt URL
+- fix tarball name in spec file
+- update usb.ids, out.txt and pci.ids
+
+* Wed Aug 25 2010 Karsten Hopp <karsten@redhat.com> 0.233-1
+- update usb.ids, out.txt and pci.ids
+
+* Thu Aug 05 2010 Karsten Hopp <karsten@redhat.com> 0.232-1
+- update usb.ids, out.txt and pci.ids (#550020, #611860)
+- fix incorrect syntax doc/comment in blacklist.conf (Ville Skyttä, #532802)
+- add Acer B243HL and BenQ G2420HDBL (Ville Skyttä, #590787)
+- add HP LP2475w and Samsung 2494HM (Ville Skyttä, #595059)
+
+* Tue May 25 2010 Phil Knirsch <pknirsch@redhat.com> 0.230-1
+- update usb.ids, out.txt and pci.ids
+- Resolves: #584788
+
+* Mon Mar 29 2010 Karsten Hopp <karsten@redhat.com> 0.229-1
+- update usb.ids, out.txt and pci.ids for F-13 (#571914)
+
+* Wed Mar 17 2010 Phil Knirsch <pknirsch@redhat.com> 0.228-1
+- Blacklist chsc_sch for s390x
+- Resolves: #563228
+
+* Tue Feb 23 2010 Dave Airlie <airlied@redhat.com> 0.227-1
+- add viafb to blacklist
+
+* Mon Feb 22 2010 Karsten Hopp <karsten@redhat.com> 0.227-1
+- update usb.ids, pci.ids, oui.txt
+- update license
+
+* Fri Jan 15 2010 Karsten Hopp <karsten@redhat.com> 0.226-1
+- update release number
+
+* Fri Jan 15 2010 Karsten Hopp <karsten@redhat.com> 0.225-4
+- update usb.ids pci.ids oui.txt
+
+* Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 0.225-3.1
+- Rebuilt for RHEL 6
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.225-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Jul 07 2009 Adam Jackson <ajax@redhat.com> 0.225-2
+- pnp-dell.patch: Fix Dell's entry in pnp.ids
+
+* Thu Apr 09 2009 Adam Jackson <ajax@redhat.com> 0.224-1
+- Update pci.ids, usb.ids, and oui.txt
+- Add pnp.ids
+
+* Thu Mar 19 2009 Karsten Hopp <karsten@redhat.com> 0.223-1
+- update usb.ids pci.ids oui.txt
+- rename /etc/modprobe.d/blacklist to /etc/modprobe.d/blacklist.conf
+
+* Wed Jan 28 2009 Karsten Hopp <karsten@redhat.com> 0.222-1
+- update usb.ids pci.ids oui.txt and build for all current releases
+  Fixes p.e. #465440
+
+* Wed Jan 21 2009 Karsten Hopp <karsten@redhat.com> 0.221-1
+- update usb.ids pci.ids oui.txt
+
+* Tue Dec 02 2008 Karsten Hopp <karsten@redhat.com> 0.220-1
+- add new monitor entries from Mandriva hardware database (Thierry Vignaud)
+- make generic entries have properly formated frequencies (Thierry Vignaud)
+- remove duplicate Dell monitor entries (Thierry Vignaud)
+- more vendor name fixes
+- fix extra field in 'Compudyne KD-1500N' definition (Thierry Vignaud)
+- make Dell monitors case consistent (Thierry Vignaud)
+- make all GoldStar monitors have the same vendor name (Thierry Vignaud)
+- add URL of git repository
+- fix spacing (Thierry Vignaud)
+- sort MonitorDB file with LANG=C sort -f -t ";" -k1,2
+- add Samsung SyncMaster 2443BWX (Marc van den Dikkenberg)
+- add some Lenovo monitors (Im Sza)
+
+* Wed Jul 23 2008 Karsten Hopp <karsten@redhat.com> 0.220-1
+- update pci.ids, usb.ids, oui.txt
+- MonitorsDB: add some Samsung monitors (Ronald Warsow)
+- MonitorsDB: add Dell E1609W (Matt Domsch)
+- MonitorsDB: add 7 Dell monitors (Matt Domsch)
+- MonitorsDB: add a bunch of Hyundai and ImageQuest monitors
+
+* Mon Jun 09 2008 Karsten Hopp <karsten@redhat.com> 0.219-1
+- add BenQ FP2091 monitor (Peter Williams)
+- add a bunch of Hyundai and ImageQuest monitors
+
+* Mon Jun 02 2008 Karsten Hopp <karsten@redhat.com> 0.219-1
+- update pci.ids, usb.ids, oui.txt
+- blacklist snd-pcsp (#448425)
+
+* Mon May 19 2008 Karsten Hopp <karsten@redhat.com> 0.218-1
+- add some Acer monitors (Im Sz)
+
+* Tue Apr 01 2008 Karsten Hopp <karsten@redhat.com> 0.217-1
+- update pci.ids, oui.txt
+- update usb.ids, fixes #439963
+- add HP w1907 LCD monitor, fixes #431359
+- fix many monitor entries (Stanislav Ievlev, #430276)
+
+
+* Mon Mar 03 2008 Karsten Hopp <karsten@redhat.com> 0.216-1
+- update pci.ids, usb.ids (#431658)
+
+* Tue Jan 29 2008 Phil Knirsch <pknirsch@redhat.com> 0.215-1
+- Pull new upstream pci.ids
+
+* Wed Jan 23 2008 Karsten Hopp <karsten@redhat.com> 0.215-1
+- add HP W2207 monitor
+- add oui.txt, a list of bluetooth device makers
+
+* Fri Jan 18 2008 Karsten Hopp <karsten@redhat.com> 0.214-1
+- remove MonitorsDB.generic as it isn't used anywhere
+- drop RHEL-5 blacklist patch in -devel
+
+* Tue Jan 15 2008 Karsten Hopp <karsten@redhat.com> 0.213-1
+- add many monitor entries (Im Sza, #367111)
+
+* Fri Jan 11 2008 Karsten Hopp <karsten@redhat.com> 0.212-1
+- pull new upstream pci.ids, usb.ids
+- Resolves: #300831
+- added HP TFT5600 LCD Monitor
+- Resolves: #250569
+- added Acer AL1916W, Eizo L568/L568D, Samsung 795DF
+- Resolves: #250582
+- Add Samsung 205BW/206BW/225BW/226BW
+- Resolves: #250584
+- Add Samsung 931BF
+- Resolves: #250587
+
 * Sat Dec 22 2007 Karsten Hopp <karsten@redhat.com> 0.209-1
 - add Proview 926w monitor (#363091)
 
@@ -50,69 +313,53 @@ rm -rf $RPM_BUILD_ROOT
 * Thu Oct 25 2007 Matt Domsch <Matt_Domsch@dell.com> 0.207-2
 - MonitorsDB: add 20 new Dell monitors
 
-* Wed Aug 29 2007 Karsten Hopp <karsten@redhat.com> 0.207-1
-- update license tag
-
-* Mon Aug 06 2007 Adam Jackson <ajax@redhat.com> 0.207-1
-- MonitorsDB: Fix the sync ranges for the generic monitors to not be quite
-  so dumb.  90kHz hsync is way out of range for any common single-link DVI
-  panel, for example. (#247271)
-
-* Thu Jul 12 2007 Karsten Hopp <karsten@redhat.com> 0.206-1
-- build
-
--* Wed Jul 11 2007 Matt Domsch <Matt_Domsch@dell.com>
-- add dell-monitors.patch so Dell can update these themselves.
+* Wed Sep 26 2007 Karsten Hopp <karsten@redhat.com> 0.211-1
+- pull new upstream pci.ids, usb.ids
 
-* Mon Jul 02 2007 Karsten Hopp <karsten@redhat.com> 0.206-1
-- add Acer AL1916W monitor (#200572)
-- add Eizo L568D, L568 (#200572)
-- add Samsung 795DF/795MB/Magic CD175GP (#200572)
+* Thu Sep 20 2007 Karsten Hopp <karsten@redhat.com> 0.210-1
+- add pci.id for Chelsio 10GbE Ethernet Adapter
+- Resolves: bz #296811
 
-* Mon Jun 25 2007 Karsten Hopp <karsten@redhat.com> 0.204-1
-- add some Samsung monitors to MonitorsDB, bz#245434, bz#245439
+* Wed Sep 19 2007 Karsten Hopp <karsten@redhat.com> 0.209-1
+- pull new upstream pci.ids, usb.ids
 
-* Mon Jun 25 2007 Karsten Hopp <karsten@redhat.com> 0.203-1
-- add Samsung Syncmaster 591v, bz#240660
-- add LG L1740B, Mtek MT-0910, bz#240662
-- move blacklist matrxfb_base from module-init-tools blacklist-compat 
-  into hwdata's blacklist, bz#241595
-- update pci.ids, usb.ids
-
-* Tue Apr 10 2007 Karsten Hopp <karsten@redhat.com> 0.200-1
-- use macros
-- update pci.ids
+* Wed Aug 29 2007 Karsten Hopp <karsten@redhat.com> 0.207-1
+- update license tag
 
-* Mon Mar 12 2007 Karsten Hopp <karsten@redhat.com> 0.199-1
-- drop %%config from data files in /usr
+* Wed Aug 15 2007 Karsten Hopp <karsten@redhat.com> 0.207-1
+- pull new upstream pci.ids and rebuild
+- Resolves: bz #251732
+- Resolves: bz #251734
+- Resolves: bz #252195
+- Resolves: bz #252196
+- Resolves: bz #241274
 
-* Tue Feb 27 2007 Adam Jackson <ajax@redhat.com> 0.198-1
-- Fix the intel entry in videodrivers to be tab-delimited (#227591)
-- Add a check for same to the 'check' target
-- Add clog target to Makefile
+* Tue Aug 14 2007 Karsten Hopp <karsten@redhat.com> 0.205-1
+- add HP TFT5600        #229370
 
-* Mon Feb 26 2007 Karsten Hopp <karsten@redhat.com> 0.197-1
-- add disttag
+* Mon Jul 09 2007 Karsten Hopp <karsten@redhat.com> 0.205-1
+- enable iwl4965 blacklist
+- Resolves: bz#245379
 
-* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 0.196-1
-- review fixes
+* Mon Jun 25 2007 Karsten Hopp <karsten@redhat.com> 0.205-1
+- really update pci.ids, update-pciids downloaded an old file
+- disable iwl4965 blacklist as it is not approved yet (#245379)
 
-* Mon Jan 29 2007 Karsten Hopp <karsten@redhat.com>
-- add some monitors (#224510)
+* Mon Jun 25 2007 Karsten Hopp <karsten@redhat.com> 0.202-1
+- don't load iwl4965 module automatically
+- Resolves: #245379
 
-* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 0.195-1
-- update pci.ids, usb.ids and build for FC-7
+* Tue Jun 19 2007 Karsten Hopp <karsten@redhat.com> 0.201-1
+- add some monitors
+- Resolves: #224511
+- update pci.ids
+- Related: #223105
 
-* Tue Jan 02 2007 Karsten Hopp <karsten@redhat.com> 0.193-1
+* Tue Jan 02 2007 Karsten Hopp <karsten@redhat.com> 0.194-1
 - Update to latest pci.ids/usb.ids for RHEL5
 - Resolves: #220182
   Add some Dell monitors to MonitorDB
 
-* Wed Dec 06 2006 Karsten Hopp <karsten@redhat.com> 0.192-1
-- update pci.ids
-- update usb.ids
-- add some Samsung monitors (Till Maas, #204459)
-
 * Mon Oct 09 2006 Phil Knirsch <pknirsch@redhat.com> - 0.191-1
 - Update to latest pci.ids for RHEL5
 
@@ -225,7 +472,7 @@ rm -rf $RPM_BUILD_ROOT
 * Wed Jul 13 2005 Bill Nottingham <notting@redhat.com> - 0.162-1
 - remove /etc/pcmcia/config, conflict with pcmcia-cs
 
-* Fri Jul  7 2005 Bill Nottingham <notting@redhat.com> - 0.160-1
+* Thu Jul  7 2005 Bill Nottingham <notting@redhat.com> - 0.160-1
 - move blacklist to /etc/modprobe.d, require new module-init-tools
 - add LG monitors (#162466, #161734)
 - add orinoco card (#161696)
@@ -601,7 +848,7 @@ rm -rf $RPM_BUILD_ROOT
 * Tue Jul 30 2002 Bill Nottingham <notting@redhat.com> 0.36-1
 - tweaks for Dell Remote Assisstant cards (#60376)
 
-* Thu Jul 26 2002 Mike A. Harris <mharris@redhat.com> 0.35-1
+* Fri Jul 26 2002 Mike A. Harris <mharris@redhat.com> 0.35-1
 - Updated Cards db for CT69000
 - Various ATI cleanups and additions to Cards and pcitable
 - Updated S3 Trio3D to default to "vesa" driver (#59956)
@@ -625,7 +872,7 @@ rm -rf $RPM_BUILD_ROOT
   supported natively by 4.x will be changed to use the vesa or vga
   driver, or completely removed as unsupported.
 
-* Tue Apr 17 2002 Michael Fulbright <msf@redhat.com> 0.14-1
+* Wed Apr 17 2002 Michael Fulbright <msf@redhat.com> 0.14-1
 - another megaraid variant
 
 * Mon Apr 15 2002 Michael Fulbright <msf@redhat.com> 0.13-1