iasl-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Summary: Intel ASL compiler/decompiler
  2. Summary(ja): Intel ASL コンパイラ/デコンパイラ
  3. Name: iasl
  4. Version: 20090123
  5. Release: 1%{?_dist_release}
  6. Group: Development/Languages
  7. License: Intel ACPI, http://www.intel.com/technology/iapc/acpi/license2.htm
  8. URL: http://developer.intel.com/technology/iapc/acpi/
  9. Source0: http://www.intel.com/technology/iapc/acpi/downloads/acpica-unix-%{version}.tar.gz
  10. Source2: http://ftp.debian.org/debian/pool/main/a/acpica-unix/acpica-unix_20061109-0.1.diff.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: bison
  13. BuildRequires: flex
  14. BuildRequires: patchutils
  15. %description
  16. iasl compiles ASL (ACPI Source Language) into AML (ACPI Machine Language),
  17. which is suitable for inclusion as a DSDT in system firmware. It also can
  18. disassemble AML, for debugging purposes.
  19. %description -l ja
  20. iasl は ASL (ACPI ソース言語) から AML (ACPI マシン言語) へのコンパイラ
  21. です。AML は システムファームウェアに DSDT として取り込むことができます。
  22. また、AML をデバックのために逆コンパイルすることもできます。
  23. %prep
  24. %setup -q -n acpica-unix-%{version}
  25. zcat %{SOURCE2} | filterdiff -i \*iasl.1 | patch -p2
  26. %build
  27. export CC=gcc
  28. export CFLAGS="$RPM_OPT_FLAGS"
  29. export LDFLAGS="$CFLAGS"
  30. cd compiler
  31. # does not compile with %{?_smp_mflags}
  32. make
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. install -p -D compiler/iasl $RPM_BUILD_ROOT%{_bindir}/iasl
  36. install -m 0644 -p -D iasl.1 $RPM_BUILD_ROOT%{_mandir}/man1/iasl.1
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc changes.txt README
  42. %{_bindir}/iasl
  43. %{_mandir}/man1/iasl.1.gz
  44. %changelog
  45. * Sun Feb 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20090123-1
  46. - new upstream release
  47. - applied new versioning policy, spec in UTF-8
  48. * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20061109-0vl1
  49. - initial build for Vine Linux
  50. * Sat Aug 11 2007 Till Maas <opensource till name> - 20061109-3
  51. - update License Tag to new Guidelines
  52. - rebuild because of #251794
  53. * Tue Feb 20 2007 Till Maas <opensource till name> - 20061109-2
  54. - Make description line less than 80 instead of less that 81 characters long
  55. - Permissions of manpage are 0644 instead of 0755 now
  56. * Thu Feb 01 2007 Till Maas <opensource till name> - 20061109-1
  57. - initial spec for Fedora Extras