%define name iasl %define pkgname acpica-unix %define version 20080213 %define release %mkrel 2 Summary: Intel ASL compiler/decompiler Name: %{name} Version: %{version} Release: %{release} Source0: %{pkgname}-%{version}.tar.bz2 License: ACPICA Group: Development/Kernel Url: http://www.acpica.org/downloads/unix_source_code.php ExclusiveArch: %{ix86} x86_64 BuildRequires: flex, bison BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description IASL compiles ASL (ACPI Source Language) into AML (ACPI Machine Language). This AML is suitable for inclusion as a DSDT in sytem firmware. It also can disassemble AML, for debugging purposes. %prep %setup -q -n %{pkgname}-%{version} %build make -C compiler %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} install -m755 compiler/iasl $RPM_BUILD_ROOT%{_bindir}/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/iasl %changelog * Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 20080213-2mdv2009.0 + Revision: 221435 - rebuild * Tue Feb 19 2008 Erwan Velu <erwan@mandriva.org> 20080213-1mdv2008.1 + Revision: 173046 - New release 20080213 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 20061109-1mdv2008.1 + Revision: 126921 - kill re-definition of %%buildroot on Pixel's request * Tue Jan 30 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 20061109-1mdv2007.0 + Revision: 115577 - initial packaging