56 lines
1.6 KiB
RPMSpec
56 lines
1.6 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
%define minver %(echo %version | cut -d. -f3-4)
|
||
|
Name: hwdata
|
||
|
Version: 0.238
|
||
|
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>
|
||
|
URL: https://fedorahosted.org/hwdata/
|
||
|
# git clone git://git.fedorahosted.org/hwdata.git
|
||
|
# cd hwdata
|
||
|
# make dist-archive
|
||
|
Source: http://git.fedorahosted.org/cgit/hwdata.git/snapshot/hwdata-%{version}-1.tar.bz2
|
||
|
#http://fedorahosted.org/hwdata/hwdata-%{majver}-%{minver}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildArch: noarch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
hwdata contains various hardware identification and configuration data, such as the pci.ids, usb.ids and MonitorsDb databases.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{majver}-1
|
||
|
|
||
|
%build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_sysconfdir}/modprobe.d/blacklist.conf
|
||
|
%{_datadir}/hwdata/oui.txt
|
||
|
%{_datadir}/hwdata/pci.ids
|
||
|
%{_datadir}/hwdata/pnp.ids
|
||
|
#%{_datadir}/hwdata/upgradelist
|
||
|
%{_datadir}/hwdata/usb.ids
|
||
|
%doc COPYING LICENSE
|
||
|
# README ChangeLog
|
||
|
|
||
|
%changelog
|
||
|
* 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
|