]> git.pld-linux.org Git - packages/acpica.git/blame - acpica.spec
- perl is not a part of minimal builder instalation, BR: sed >= 4.0 instead
[packages/acpica.git] / acpica.spec
CommitLineData
fa3091f1 1Summary: ACPI Component Architecture - an assembler and disassembler for DSDT tables
be632254 2Summary(pl.UTF-8): ACPI CA - asembler i disasembler dla tablic DSDT
fa3091f1 3Name: acpica
2aa493a5 4Version: 20090521
fa3091f1 5Release: 1
be632254 6License: distributable (http://acpica.org/downloads/unix_source_code.php)
fa3091f1 7Group: Development/Tools
be632254 8Source0: http://acpica.org/download/%{name}-unix-%{version}.tar.gz
2aa493a5 9# Source0-md5: b2b4aa10adcb9a6faa7ce5eaaf29fcfd
be632254 10URL: http://acpica.org/
fa3091f1 11BuildRequires: bison
900d6841 12BuildRequires: flex
92c5d0ee 13BuildRequires: sed >= 4.0
fa3091f1
AM
14Provides: iasl
15Obsoletes: iasl
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19ACPI Component Architecture - an assembler and disassembler for DSDT
be632254
JB
20tables.
21
22%description -l pl.UTF-8
23Pakiet ACPI Component Architecture zawiera asembler i disasembler do
24tablic DSDT.
fa3091f1
AM
25
26%prep
27%setup -q -n %{name}-unix-%version
28
92c5d0ee 29sed '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
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{_bindir}
44
76966ddc 45install tools/acpisrc/acpisrc compiler/iasl $RPM_BUILD_ROOT%{_bindir}
fa3091f1 46
be632254
JB
47%clean
48rm -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
This page took 0.07926 seconds and 4 git commands to generate.