2 # - make this primary db of blacklist db (merge kmod/module-init-tools) ?
3 # - merge (switch?) with http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/hwids ?
4 # their db contains also OUI, IAB IDs databases: https://github.com/gentoo/hwids
5 # - enable .gz if lshw has .gz support
6 # NOTE: pnp.ids in pnputils package differ from that in hwdata
7 # (hwdata pnp.ids contain only vendor IDs, pnputils pnp.ids contains only
8 # device IDs of (some) PNPACPI, PNPBIOS and ISAPNP devices)
9 # - update to use oui.txt from this package:
10 # - hwdata-0.225-0.20090808.1.noarch
11 # - lshw-B.02.14-1.i686
12 # - python-netaddr-0.7.3-1.noarch
13 Summary: Hardware identification and configuration data
14 Summary(pl.UTF-8): Dane do identyfikacji i konfiguracji sprzętu
16 # see hwdata.spec inside of tarball
20 Group: Applications/System
21 Source0: https://fedorahosted.org/releases/h/w/hwdata/%{name}-%{version}.tar.bz2
22 # Source0-md5: 2b505f104a1d5bf4f1291599c671f866
24 Conflicts: Xconfigurator < 4.9.42-1
25 Conflicts: ntop < 4.1.0-2
26 Conflicts: pciutils < 3.1.10-6
27 Conflicts: usbutils < 006-3
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 hwdata contains various hardware identification and configuration
35 data, such as pci.ids, usb.ids, oui.txt and pnp.ids (vendor IDs)
38 %description -l pl.UTF-8
39 Pakiet hwdata zawiera różne dane do identyfikacji i konfiguracji
40 sprzętu, takie jak bazy danych pci.ids, usb.ids, oui.txt i pnp.ids.
49 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
53 %{__rm} $RPM_BUILD_ROOT/etc/modprobe.d/blacklist.conf
56 gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/pci.ids
57 gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/usb.ids
58 gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/oui.txt
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc ChangeLog LICENSE
67 %dir %{_datadir}/%{name}
68 %{_datadir}/%{name}/oui.txt*
69 %{_datadir}/%{name}/pci.ids*
70 %{_datadir}/%{name}/pnp.ids
71 %{_datadir}/%{name}/usb.ids*