Name: firmware-tools Version: 2.1.15 Release: %mkrel 2 Summary: Scripts and tools to manage firmware and BIOS updates Group: System/Kernel and hardware License: GPLv2+ URL: http://linux.dell.com/libsmbios/download/ Source0: http://linux.dell.com/libsmbios/download/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2 BuildRequires: python-devel Requires: python-rpm BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description The firmware-tools project provides tools to inventory hardware and a plugin architecture so that different OEM vendors can provide different inventory components. It is intended to tie to the package system to enable seamless installation of updated firmware via your package manager, as well as provide a framework for BIOS and firmware updates. %prep %setup -q find . -type f | xargs perl -pi -e 's|#!/usr/bin/python2|#!/usr/bin/python|' %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std mkdir -p %{buildroot}/%{_sysconfdir}/firmware/firmware.d/ mkdir -p %{buildroot}/%{_datadir}/firmware %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING-GPL COPYING-OSL README %{python_sitelib}/* %{_sbindir}/* %{_datadir}/firmware-tools/ %dir %{_sysconfdir}/firmware %dir %{_sysconfdir}/firmware/firmware.d %config(noreplace) %{_sysconfdir}/firmware/firmware.conf %{_datadir}/firmware/ %changelog * Fri Jan 11 2013 umeabot <umeabot> 2.1.15-2.mga3 + Revision: 350453 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Nov 30 2012 tv <tv> 2.1.15-1.mga3 + Revision: 323295 - FC tarball is compressed with bzip2 - new release (from FC) * Fri Dec 30 2011 pterjan <pterjan> 2.1.14-2.mga2 + Revision: 189135 - Fix dependency * Thu Dec 15 2011 tv <tv> 2.1.14-1.mga2 + Revision: 182307 - imported package firmware-tools