- Updated pci, usb, vendor ids and hwdb files
[oweals/hwdata.git] / hwdata.spec
index e94fd582f40d233b377050e555d436cdc0080f9e..86bbca12361a1fcc04124dfca7c83afdd332ee8e 100644 (file)
-%define dist .el7
-Name: hwdata
-Summary: Hardware identification and configuration data
-Version: 0.235
-Release: 1%{?dist}
-License: GPLv2+
-Group: System Environment/Base
-Source: hwdata-%{version}-%{release}.tar.bz2
-URL:    http://git.fedorahosted.org/git/hwdata.git
-BuildArch: noarch
-Conflicts: 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.conf
+%{_prefix}/lib/modprobe.d/dist-blacklist.conf
+%{_prefix}/lib/udev/hwdb.d/[0-9][0-9]-*.hwdb
 %{_datadir}/%{name}/*
 
 %changelog
-* Wed May 02 2012 Karsten Hopp <karsten@redhat.com> 0.235-1
-- el7 branch
-- update pci.ids, usb. ids
+* 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
@@ -153,7 +309,7 @@ rm -rf $RPM_BUILD_ROOT
 - fix many monitor entries (Stanislav Ievlev, #430276)
 
 
-* Wed Mar 03 2008 Karsten Hopp <karsten@redhat.com> 0.216-1
+* 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
@@ -355,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)
@@ -731,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)
@@ -755,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