# - make this primary db of oui/pnp/blacklist db (merge ieee-oui, pnputils, kmod/module-init-tools) ?
# - merge (switch?) with http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/hwids ?
# their db contains also OUI, IAB IDs databases: https://github.com/gentoo/hwids
+# - enable .gz if lshw has .gz support
Summary: Hardware identification and configuration data
Summary(pl.UTF-8): Dane do identyfikacji i konfiguracji sprzętu
Name: hwdata
# see hwdata.spec inside of tarball
Version: 0.243
-Release: 4
+Release: 5
License: GPL v2+
Group: Applications/System
Source0: https://fedorahosted.org/releases/h/w/hwdata/%{name}-%{version}.tar.bz2
ln -sf /usr/share/oui.txt $RPM_BUILD_ROOT%{_datadir}/%{name}/oui.txt
%{__rm} $RPM_BUILD_ROOT/etc/modprobe.d/blacklist.conf
+%if 0
gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/pci.ids
+gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/usb.ids
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
%doc ChangeLog LICENSE
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/oui.txt
-%{_datadir}/%{name}/pci.ids.gz
+%{_datadir}/%{name}/pci.ids*
%{_datadir}/%{name}/pnp.ids
-%{_datadir}/%{name}/usb.ids
+%{_datadir}/%{name}/usb.ids*