1 | Summary: Intel ASL compiler/decompiler |
---|
2 | Summary(ja): Intel ASL コンパイラ/デコンパイラ |
---|
3 | Name: iasl |
---|
4 | Version: 20090123 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: Development/Languages |
---|
8 | License: Intel ACPI, http://www.intel.com/technology/iapc/acpi/license2.htm |
---|
9 | URL: http://developer.intel.com/technology/iapc/acpi/ |
---|
10 | Source0: http://www.intel.com/technology/iapc/acpi/downloads/acpica-unix-%{version}.tar.gz |
---|
11 | Source2: http://ftp.debian.org/debian/pool/main/a/acpica-unix/acpica-unix_20061109-0.1.diff.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: bison |
---|
15 | BuildRequires: flex |
---|
16 | BuildRequires: patchutils |
---|
17 | |
---|
18 | %description |
---|
19 | iasl compiles ASL (ACPI Source Language) into AML (ACPI Machine Language), |
---|
20 | which is suitable for inclusion as a DSDT in system firmware. It also can |
---|
21 | disassemble AML, for debugging purposes. |
---|
22 | |
---|
23 | %description -l ja |
---|
24 | iasl は ASL (ACPI ソース言語) から AML (ACPI マシン言語) へのコンパイラ |
---|
25 | です。AML は システムファームウェアに DSDT として取り込むことができます。 |
---|
26 | また、AML をデバックのために逆コンパイルすることもできます。 |
---|
27 | |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n acpica-unix-%{version} |
---|
31 | zcat %{SOURCE2} | filterdiff -i \*iasl.1 | patch -p2 |
---|
32 | |
---|
33 | %build |
---|
34 | export CC=gcc |
---|
35 | export CFLAGS="$RPM_OPT_FLAGS" |
---|
36 | export LDFLAGS="$CFLAGS" |
---|
37 | cd compiler |
---|
38 | # does not compile with %{?_smp_mflags} |
---|
39 | make |
---|
40 | |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf $RPM_BUILD_ROOT |
---|
44 | install -p -D compiler/iasl $RPM_BUILD_ROOT%{_bindir}/iasl |
---|
45 | install -m 0644 -p -D iasl.1 $RPM_BUILD_ROOT%{_mandir}/man1/iasl.1 |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf $RPM_BUILD_ROOT |
---|
49 | |
---|
50 | |
---|
51 | %files |
---|
52 | %defattr(-,root,root,-) |
---|
53 | %doc changes.txt README |
---|
54 | %{_bindir}/iasl |
---|
55 | %{_mandir}/man1/iasl.1.gz |
---|
56 | |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Sun Feb 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20090123-1 |
---|
60 | - new upstream release |
---|
61 | - applied new versioning policy, spec in UTF-8 |
---|
62 | |
---|
63 | * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20061109-0vl1 |
---|
64 | - initial build for Vine Linux |
---|
65 | |
---|
66 | * Sat Aug 11 2007 Till Maas <opensource till name> - 20061109-3 |
---|
67 | - update License Tag to new Guidelines |
---|
68 | - rebuild because of #251794 |
---|
69 | |
---|
70 | * Tue Feb 20 2007 Till Maas <opensource till name> - 20061109-2 |
---|
71 | - Make description line less than 80 instead of less that 81 characters long |
---|
72 | - Permissions of manpage are 0644 instead of 0755 now |
---|
73 | |
---|
74 | * Thu Feb 01 2007 Till Maas <opensource till name> - 20061109-1 |
---|
75 | - initial spec for Fedora Extras |
---|