2017-05-03 10:17:29 +02:00
|
|
|
#
|
|
|
|
# spec file for package hwdata
|
|
|
|
#
|
2020-01-07 10:19:10 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2017-05-03 10:17:29 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-08-30 08:43:40 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-05-03 10:17:29 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: hwdata
|
2020-10-08 14:39:52 +02:00
|
|
|
Version: 0.340
|
2017-05-03 10:17:29 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Hardware identification and configuration data
|
2018-03-08 10:06:42 +01:00
|
|
|
License: GPL-2.0-or-later
|
2018-01-05 13:50:07 +01:00
|
|
|
URL: https://github.com/vcrhonek/hwdata
|
2017-05-03 10:17:29 +02:00
|
|
|
Source: https://github.com/vcrhonek/hwdata/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2020-06-02 10:45:49 +02:00
|
|
|
Provides: pciutils-ids = 20200529
|
|
|
|
Obsoletes: pciutils-ids < 20200529
|
2017-05-03 10:17:29 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
hwdata contains various hardware identification and configuration data,
|
|
|
|
such as the pci.ids and usb.ids databases.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2017-08-02 10:30:03 +02:00
|
|
|
%configure
|
2017-05-03 10:17:29 +02:00
|
|
|
# nothing to build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2019-02-14 17:15:41 +01:00
|
|
|
|
|
|
|
# create symlink for smooth transition from pciutils-ids package
|
|
|
|
ln -s %{_datadir}/hwdata/pci.ids \
|
|
|
|
%{buildroot}%{_datadir}/pci.ids
|
|
|
|
|
|
|
|
# not needed at all
|
2017-05-03 10:17:29 +02:00
|
|
|
rm -rf %{buildroot}/%{_libdir}/modprobe.d
|
|
|
|
|
|
|
|
%files
|
2018-07-09 14:49:06 +02:00
|
|
|
%license LICENSE COPYING
|
2017-05-03 10:17:29 +02:00
|
|
|
%dir %{_datadir}/%{name}
|
2017-05-10 13:55:14 +02:00
|
|
|
%{_datadir}/hwdata/iab.txt
|
|
|
|
%{_datadir}/hwdata/oui.txt
|
|
|
|
%{_datadir}/hwdata/pci.ids
|
|
|
|
%{_datadir}/hwdata/pnp.ids
|
|
|
|
%{_datadir}/hwdata/usb.ids
|
2019-02-14 17:15:41 +01:00
|
|
|
%{_datadir}/pci.ids
|
2017-05-03 10:17:29 +02:00
|
|
|
|
|
|
|
%changelog
|