]> git.pld-linux.org Git - packages/hwdata.git/blame - hwdata.spec
up to 0.247. pci.ids 2013-03-27, usb.ids 2013-03-25
[packages/hwdata.git] / hwdata.spec
CommitLineData
1417ab0c 1# TODO
e0c3ee01 2# - make this primary db of blacklist db (merge kmod/module-init-tools) ?
1417ab0c 3# - merge (switch?) with http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/hwids ?
2f80ccdf 4# their db contains also OUI, IAB IDs databases: https://github.com/gentoo/hwids
b31a4824 5# - enable .gz if lshw has .gz support
e6e2c116 6# NOTE: pnp.ids in pnputils package differ from that in hwdata
d6094dde 7# (hwdata pnp.ids contain only vendor IDs, pnputils pnp.ids contains only
e6e2c116 8# device IDs of (some) PNPACPI, PNPBIOS and ISAPNP devices)
e0c3ee01
ER
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
a7a382ff 13Summary: Hardware identification and configuration data
d9ecb95a 14Summary(pl.UTF-8): Dane do identyfikacji i konfiguracji sprzętu
0b19847d 15Name: hwdata
8b0c7ae2 16# see hwdata.spec inside of tarball
a201aeca
ER
17Version: 0.247
18Release: 1
1417ab0c 19License: GPL v2+
a7a382ff 20Group: Applications/System
1417ab0c 21Source0: https://fedorahosted.org/releases/h/w/hwdata/%{name}-%{version}.tar.bz2
a201aeca 22# Source0-md5: 6190f7eba0ed78661ea963271f736aeb
e0c3ee01 23Obsoletes: ieee-oui
a7a382ff 24Conflicts: Xconfigurator < 4.9.42-1
e0c3ee01 25Conflicts: ntop < 4.1.0-2
b9f6b63d
ER
26Conflicts: pciutils < 3.1.10-6
27Conflicts: usbutils < 006-3
41f13202 28BuildArch: noarch
a7a382ff 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
b9f6b63d 31%define _datadir /lib
a201aeca 32%define modprobe_d /usr/lib/modprobe.d
b9f6b63d 33
a7a382ff 34%description
35hwdata contains various hardware identification and configuration
e6e2c116
ER
36data, such as pci.ids, usb.ids, oui.txt and pnp.ids (vendor IDs)
37databases.
a7a382ff 38
8a0b4d07
JR
39%description -l pl.UTF-8
40Pakiet hwdata zawiera różne dane do identyfikacji i konfiguracji
5743531d 41sprzętu, takie jak bazy danych pci.ids, usb.ids, oui.txt i pnp.ids.
a7a382ff 42
0b19847d 43%prep
1417ab0c
ER
44%setup -q
45
46%build
47%configure
a7a382ff 48
49%install
50rm -rf $RPM_BUILD_ROOT
41f13202
JB
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
a7a382ff 53
a201aeca 54%{__rm} $RPM_BUILD_ROOT%{modprobe_d}/dist-blacklist.conf
12987ec9 55
b31a4824 56%if 0
bb601e02 57gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/pci.ids
b31a4824 58gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/usb.ids
e0c3ee01 59gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/oui.txt
b31a4824 60%endif
00926410 61
a7a382ff 62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
368e92bb 67%doc ChangeLog LICENSE
e0d846c3 68%dir %{_datadir}/%{name}
e0c3ee01 69%{_datadir}/%{name}/oui.txt*
b31a4824 70%{_datadir}/%{name}/pci.ids*
e0d846c3 71%{_datadir}/%{name}/pnp.ids
b31a4824 72%{_datadir}/%{name}/usb.ids*
This page took 0.222224 seconds and 4 git commands to generate.