acpica/acpica.spec

68 lines
2.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: acpica
Version: 20120420
Release: 1mamba
Summary: Advanced Configuration & Power Interface Component Architecture
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.intel.com/technology/iapc/acpi/downloads.htm
Source: http://www.acpica.org/download/acpica-unix-%{version}.tar.gz
Source1: %{name}-license
Source2: http://www.intel.com/technology/iapc/acpi/downloads/AslCompiler.pdf
Source3: http://www.intel.com/technology/iapc/acpi/downloads/ACPICA-ProgRef.pdf
Patch0: %{name}-20061109-makefile.patch
Patch1: %{name}-20061109-iasl_manpage.patch
License: Intel Software License Agreement
BuildRequires: flex
BuildRequires: bison
ExclusiveArch: %{ix86} x86_64
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Advanced Configuration & Power Interface Component Architecture (ACPI CA) provides a reference implementation of software components that enable OS support for interfaces defined in the ACPI 1.0b specification.
This includes: AML interpreter and debugger, Namespace Management, ACPI hardware support, and basic OSPM, including a device power management framework.
%prep
%setup -q -n %{name}-unix-%{version}
cd source
#%patch0 -p1
%patch1 -p1
cp %{S:1} LICENSE
cp %{S:2} %{S:3} .
%build
cd source
%make -j1 -C compiler
%make -C tools/acpisrc
%make -C tools/acpixtract
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd source
install -D -m 755 compiler/iasl \
%{buildroot}%{_bindir}/iasl
install -D -m 644 iasl.1 \
%{buildroot}%{_mandir}/man1/iasl.1
install -D -m 755 tools/acpisrc/acpisrc \
%{buildroot}%{_bindir}/acpisrc
install -D -m 755 tools/acpixtract/acpixtract \
%{buildroot}%{_bindir}/acpixtract
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%doc changes.txt README source/LICENSE source/*.pdf
%changelog
* Sun Apr 22 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 20120420-1mamba
- update to 20120420
* Fri Jun 08 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 20061109-1mamba
- package created by autospec