2024-01-05 23:45:51 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
%define minver %(echo %version | cut -d. -f3-4)
|
|
|
|
Name: hwdata
|
2024-01-05 23:45:51 +01:00
|
|
|
Version: 0.355
|
2024-01-05 23:45:51 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Contains various hardware identification and configuration data, such as the pci.ids, usb.ids and MonitorsDb databases
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:45:51 +01:00
|
|
|
URL: https://github.com/vcrhonek/hwdata
|
|
|
|
Source: https://github.com/vcrhonek/hwdata.git/v%{version}/hwdata-%{version}.tar.bz2
|
2024-01-05 23:45:51 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
hwdata contains various hardware identification and configuration data, such as the pci.ids, usb.ids and MonitorsDb databases.
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 23:45:51 +01:00
|
|
|
%setup -q
|
2024-01-05 23:45:51 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:45:51 +01:00
|
|
|
%configure \
|
|
|
|
--libdir=%{_prefix}/lib
|
|
|
|
|
2024-01-05 23:45:51 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:45:51 +01:00
|
|
|
%{_modprobedir}/dist-blacklist.conf
|
|
|
|
%dir %{_datadir}/hwdata
|
|
|
|
%{_datadir}/hwdata/*
|
2024-01-05 23:45:51 +01:00
|
|
|
%doc COPYING LICENSE
|
|
|
|
# README ChangeLog
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:45:51 +01:00
|
|
|
* Sat Jan 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.355-1mamba
|
|
|
|
- update to 0.355
|
|
|
|
|
2024-01-05 23:45:51 +01:00
|
|
|
* Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.238-1mamba
|
|
|
|
- update to 0.238
|
|
|
|
|
|
|
|
* Mon Oct 31 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 7.3-1mamba
|
|
|
|
- package created by autospec
|