]> git.pld-linux.org Git - packages/acpica.git/blame - acpica.spec
- up to 20120111; stbr
[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
cc322957 4Version: 20120111
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
cc322957 9# Source0-md5: 986f0e0af6a1d4dd22b9feb38404c233
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
ca54f0c6 30sed 's,/components,,g' -i tools/acpisrc/Makefile compiler/Makefile
fa3091f1
AM
31
32%build
33%{__make} -C tools/acpisrc \
92c5d0ee 34 CC="%{__cc}" \
35 OPTCFLAGS="%{rpmcflags}" \
36 LDFLAGS="%{rpmcflags} %{rpmldflags}"
adb03887 37%{__make} -j1 -C compiler \
92c5d0ee 38 CC="%{__cc}" \
39 OPTCFLAGS="%{rpmcflags}" \
d6145842 40 LDFLAGS="%{rpmcflags} -lpthread -lrt %{rpmldflags}"
fa3091f1
AM
41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -d $RPM_BUILD_ROOT%{_bindir}
45
76966ddc 46install tools/acpisrc/acpisrc compiler/iasl $RPM_BUILD_ROOT%{_bindir}
fa3091f1 47
be632254
JB
48%clean
49rm -rf $RPM_BUILD_ROOT
50
fa3091f1
AM
51%files
52%defattr(644,root,root,755)
76966ddc
JB
53%doc README changes.txt
54%attr(755,root,root) %{_bindir}/acpisrc
be632254 55%attr(755,root,root) %{_bindir}/iasl
This page took 0.068784 seconds and 4 git commands to generate.