SPECS: acpica.spec (NEW) - initial

arekm arekm at pld-linux.org
Thu Jul 31 22:02:30 CEST 2008


Author: arekm                        Date: Thu Jul 31 20:02:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   acpica.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/acpica.spec
diff -u /dev/null SPECS/acpica.spec:1.1
--- /dev/null	Thu Jul 31 22:02:30 2008
+++ SPECS/acpica.spec	Thu Jul 31 22:02:24 2008
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+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}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/07/31 20:02:24  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list