]> git.pld-linux.org Git - packages/acpica.git/commitdiff
- initial
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 31 Jul 2008 20:02:24 +0000 (20:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acpica.spec -> 1.1

acpica.spec [new file with mode: 0644]

diff --git a/acpica.spec b/acpica.spec
new file mode 100644 (file)
index 0000000..359648b
--- /dev/null
@@ -0,0 +1,41 @@
+Summary:       ACPI Component Architecture - an assembler and disassembler for DSDT tables
+Name:          acpica
+Version:       20080729
+Release:       1
+License:       Custom
+URL:           http://www.acpica.org
+Source0:       http://www.acpica.org/download/%{name}-unix-%{version}.tar.gz
+# Source0-md5: 507a688b7231b4f62f296f77dcf765fa
+Group:         Development/Tools
+BuildRequires: bison
+Provides:      iasl
+Obsoletes:     iasl
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ACPI Component Architecture - an assembler and disassembler for DSDT
+tables
+
+%prep
+%setup -q -n %{name}-unix-%version
+
+find . -name Makefile |xargs perl -pi -e "s,-O2,%{rpmcflags},g"
+
+%build
+%{__make} -C tools/acpisrc \
+       CC="%{__cc}"
+%{__make} -C compiler \
+       CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install -c compiler/iasl $RPM_BUILD_ROOT%{_bindir}
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}
This page took 0.115451 seconds and 4 git commands to generate.