forked from pool/acpica
- Add wmidump/wmixtract tools for easy WMI (or other) GUID parsing
OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=49
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 28 13:20:36 UTC 2013 - trenn@suse.de
|
||||
|
||||
- Add wmidump/wmixtract tools for easy WMI (or other) GUID parsing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 16:12:38 UTC 2013 - trenn@suse.de
|
||||
|
||||
|
11
acpica.spec
11
acpica.spec
@@ -32,10 +32,12 @@ Patch1: acpica_make_CFLAGS_overridable
|
||||
Patch2: acpidump-override-CFLAGS.patch
|
||||
Patch3: acpica-no-compiletime.patch
|
||||
Patch4: bob_noop.patch
|
||||
Patch5: wmidump_add_she_bang.patch
|
||||
Source1: ec_access.c
|
||||
Source2: acpidump-%{dmp_ver}.tar.bz2
|
||||
Source3: acpi_genl.tar.bz2
|
||||
Source4: acpi_validate
|
||||
Source5: wmidump.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 ia64 x86_64
|
||||
BuildRequires: bison flex glibc-devel
|
||||
@@ -63,16 +65,18 @@ Authors:
|
||||
and other Intel people
|
||||
|
||||
%prep
|
||||
%setup -n %{src_dir} -a 2 -a 3
|
||||
%setup -n %{src_dir} -a 2 -a 3 -a 5
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
cc %{SOURCE1} $RPM_OPT_FLAGS -o ec_access
|
||||
make -C acpidump CFLAGS="$RPM_OPT_FLAGS"
|
||||
make -C acpi_genl CFLAGS="$RPM_OPT_FLAGS"
|
||||
make -C wmidump CFLAGS="$RPM_OPT_FLAGS"
|
||||
make OPT_CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
@@ -81,6 +85,9 @@ install -Dm 755 ec_access %{buildroot}/usr/sbin/ec_access
|
||||
|
||||
install -Dm 755 acpidump/acpidump %{buildroot}/usr/sbin/acpidump
|
||||
|
||||
install -Dm 755 wmidump/wmidump %{buildroot}/usr/bin/wmidump
|
||||
install -Dm 755 wmidump/wmixtract.py %{buildroot}/usr/bin/wmixtract
|
||||
|
||||
install -Dm 755 acpi_genl/acpi_genl %{buildroot}/usr/sbin/acpi_genl
|
||||
install -Dm 644 acpi_genl/README %{buildroot}/%{_docdir}/%{name}/README_acpi_genl
|
||||
|
||||
@@ -93,6 +100,8 @@ make install DESTDIR="%{buildroot}"
|
||||
/usr/bin/acpiexec
|
||||
/usr/bin/acpixtract
|
||||
/usr/bin/acpisrc
|
||||
/usr/bin/wmidump
|
||||
/usr/bin/wmixtract
|
||||
/usr/sbin/acpidump
|
||||
/usr/sbin/acpi_genl
|
||||
/usr/sbin/ec_access
|
||||
|
3
wmidump.tar.bz2
Normal file
3
wmidump.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ac2ddfa65eb9228554cdb58bb652134d9e55809df73d871002739fd08007edc
|
||||
size 3996
|
14
wmidump_add_she_bang.patch
Normal file
14
wmidump_add_she_bang.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
wmidump/wmixtract.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
Index: acpica-unix2-20121220/wmidump/wmixtract.py
|
||||
===================================================================
|
||||
--- acpica-unix2-20121220.orig/wmidump/wmixtract.py
|
||||
+++ acpica-unix2-20121220/wmidump/wmixtract.py
|
||||
@@ -1,3 +1,5 @@
|
||||
+#!/usr/bin/python
|
||||
+
|
||||
import sys
|
||||
import re
|
||||
|
Reference in New Issue
Block a user