- Updated pci, usb, vendor ids and hwdb files
[oweals/hwdata.git] / hwdata.spec
index a8208c7818749259a1516caaaf9c8cbcab1a5d7c..86bbca12361a1fcc04124dfca7c83afdd332ee8e 100644 (file)
-Name: hwdata
-Summary: Hardware identification and configuration data
-Version: 0.214
-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   9.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
+* Mon Mar 23 2020 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-9.6
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1788058
+
+* Wed Feb 12 2020 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-9.5
+- Fix URL for downloading hwdb files
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1721908
+
+* Tue Aug 06 2019 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-9.4
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1721904
+
+* Wed Jun 26 2019 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-9.3
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1636986
+
+* Wed Mar 06 2019 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-9.2
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1636985
+
+* Mon Sep 24 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-9.1
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1560493
+
+* Thu Jun 14 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-8.9
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1560493
+- Blacklisted sha{256,512}-mb modules
+  Resolves: #1562114
+
+* Mon Feb 19 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-8.8
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1489281 #1539202
+
+* Tue Oct 24 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.252-8.7
+- Updated pci, usb, vendor ids and hwdb files
+  Resolves: #1489281
+
+* 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
@@ -228,7 +511,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)
@@ -604,7 +887,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)
@@ -628,7 +911,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