2017-05-03 10:17:29 +02:00
|
|
|
#
|
|
|
|
# spec file for package hwdata
|
|
|
|
#
|
2019-01-10 10:23:17 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
2019-02-12 10:50:50 +01:00
|
|
|
Version: 0.320
|
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
|
2017-05-03 10:17:29 +02:00
|
|
|
Group: Hardware/Other
|
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
|
2019-02-14 17:15:41 +01:00
|
|
|
Provides: pciutils-ids = 20190109
|
|
|
|
Obsoletes: pciutils-ids < 20190109
|
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
|