]> git.pld-linux.org Git - packages/hwdata.git/blob - hwdata.spec
1380f78df7a4033f63d7d78663da7ae1b1d0b093
[packages/hwdata.git] / hwdata.spec
1 # TODO
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
15 Name:           hwdata
16 # see hwdata.spec inside of tarball
17 Version:        0.245
18 Release:        2
19 License:        GPL v2+
20 Group:          Applications/System
21 Source0:        https://fedorahosted.org/releases/h/w/hwdata/%{name}-%{version}.tar.bz2
22 # Source0-md5:  2b505f104a1d5bf4f1291599c671f866
23 Obsoletes:      ieee-oui
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
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _datadir        /lib
32
33 %description
34 hwdata contains various hardware identification and configuration
35 data, such as pci.ids, usb.ids, oui.txt and pnp.ids (vendor IDs)
36 databases.
37
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.
41
42 %prep
43 %setup -q
44
45 %build
46 %configure
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %{__rm} $RPM_BUILD_ROOT/etc/modprobe.d/blacklist.conf
54
55 %if 0
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
59 %endif
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
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*
This page took 0.080576 seconds and 2 git commands to generate.