]>
Commit | Line | Data |
---|---|---|
fa3091f1 | 1 | Summary: ACPI Component Architecture - an assembler and disassembler for DSDT tables |
be632254 | 2 | Summary(pl.UTF-8): ACPI CA - asembler i disasembler dla tablic DSDT |
fa3091f1 | 3 | Name: acpica |
2aa493a5 | 4 | Version: 20090521 |
fa3091f1 | 5 | Release: 1 |
be632254 | 6 | License: distributable (http://acpica.org/downloads/unix_source_code.php) |
fa3091f1 | 7 | Group: Development/Tools |
be632254 | 8 | Source0: http://acpica.org/download/%{name}-unix-%{version}.tar.gz |
2aa493a5 | 9 | # Source0-md5: b2b4aa10adcb9a6faa7ce5eaaf29fcfd |
be632254 | 10 | URL: http://acpica.org/ |
fa3091f1 | 11 | BuildRequires: bison |
900d6841 | 12 | BuildRequires: flex |
92c5d0ee | 13 | BuildRequires: sed >= 4.0 |
fa3091f1 AM |
14 | Provides: iasl |
15 | Obsoletes: iasl | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | ACPI Component Architecture - an assembler and disassembler for DSDT | |
be632254 JB |
20 | tables. |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Pakiet ACPI Component Architecture zawiera asembler i disasembler do | |
24 | tablic DSDT. | |
fa3091f1 AM |
25 | |
26 | %prep | |
27 | %setup -q -n %{name}-unix-%version | |
28 | ||
92c5d0ee | 29 | sed 's/-O2/$(OPTCFLAGS)/g' -i tools/acpisrc/Makefile compiler/Makefile |
fa3091f1 AM |
30 | |
31 | %build | |
32 | %{__make} -C tools/acpisrc \ | |
92c5d0ee | 33 | CC="%{__cc}" \ |
34 | OPTCFLAGS="%{rpmcflags}" \ | |
35 | LDFLAGS="%{rpmcflags} %{rpmldflags}" | |
adb03887 | 36 | %{__make} -j1 -C compiler \ |
92c5d0ee | 37 | CC="%{__cc}" \ |
38 | OPTCFLAGS="%{rpmcflags}" \ | |
39 | LDFLAGS="%{rpmcflags} %{rpmldflags}" | |
fa3091f1 AM |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_bindir} | |
44 | ||
76966ddc | 45 | install tools/acpisrc/acpisrc compiler/iasl $RPM_BUILD_ROOT%{_bindir} |
fa3091f1 | 46 | |
be632254 JB |
47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
fa3091f1 AM |
50 | %files |
51 | %defattr(644,root,root,755) | |
76966ddc JB |
52 | %doc README changes.txt |
53 | %attr(755,root,root) %{_bindir}/acpisrc | |
be632254 | 54 | %attr(755,root,root) %{_bindir}/iasl |