dmidecode-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: Tool to analyse BIOS DMI data.
  2. Summary(ja): BIOS DMI データを表示するツール
  3. Name: dmidecode
  4. Version: 2.12
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Base
  7. License: GPL
  8. Source0: http://download.savannah.gnu.org/releases/dmidecode/dmidecode-%{version}.tar.bz2
  9. URL: http://www.nongnu.org/dmidecode/
  10. Patch0: dmidecode-2.12-smbios_fix.patch
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: automake, autoconf
  13. ExclusiveArch: %{ix86} x86_64 ia64
  14. Obsoletes: kernel-utils
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: shaolin, daisuke
  18. %description
  19. dmidecode reports information about x86 & ia64 hardware as described in the
  20. system BIOS according to the SMBIOS/DMI standard. This information
  21. typically includes system manufacturer, model name, serial number,
  22. BIOS version, asset tag as well as a lot of other details of varying
  23. level of interest and reliability depending on the manufacturer.
  24. This will often include usage status for the CPU sockets, expansion
  25. slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of
  26. I/O ports (e.g. serial, parallel, USB).
  27. %description -l ja
  28. dmidecode を使うと、SMBIOS/DMI 規格に基づき、BIOS 上の
  29. x86 / ia64 ハードウェア情報を表示することができます。
  30. 表示される情報には、ハードウェアの製造元、モデル名、シリアル番号、
  31. BIOS のバージョンなど、数多くの詳細なハードウェア情報が含まれます。
  32. %prep
  33. %setup -q
  34. %patch0 -p1 -b .smbios_fix
  35. %build
  36. make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
  37. %install
  38. rm -rf %{buildroot}
  39. make DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root)
  44. %doc AUTHORS CHANGELOG LICENSE README
  45. %{_sbindir}/dmidecode
  46. %ifnarch ia64
  47. %{_sbindir}/vpddecode
  48. %{_sbindir}/ownership
  49. %{_sbindir}/biosdecode
  50. %endif
  51. %{_mandir}/man8/*
  52. %changelog
  53. * Mon Jan 13 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.12-1
  54. - new upstream release
  55. - import patch0 from Fedora
  56. * Fri Apr 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11-1
  57. - update to 2.11
  58. * Fri May 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.9-2
  59. - spec in UTF-8
  60. * Sat May 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.9-1
  61. - initial build for Vine Linux
  62. * Sat May 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1:2.9-1.30.1
  63. - initial build for Vine Linux
  64. * Fri Mar 14 2008 Doug Chapman <doug.chapman@hp.com> 1:2.9-1.29.1
  65. - Do not package vpddecode, ownership and biosdecode on ia64 since those are x86 only
  66. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:2.9-1.27.1
  67. - Autorebuild for GCC 4.3
  68. * Mon Oct 22 2007 Prarit Bhargava <prarit@redhat.com> - 1:2.9
  69. - rebuild with version 2.9
  70. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:2.7-1.25.1
  71. - rebuild
  72. * Thu Feb 09 2006 Dave Jones <davej@redhat.com>
  73. - rebuild.
  74. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  75. - rebuilt
  76. * Mon Nov 28 2005 Dave Jones <davej@redhat.com>
  77. - Integrate several specfile cleanups from Robert Scheck. (#172543)
  78. * Sat Sep 24 2005 Dave Jones <davej@redhat.com>
  79. - Revert yesterdays patch, its unneeded in 2.7
  80. * Fri Sep 23 2005 Dave Jones <davej@redhat.com>
  81. - Don't try to modify areas mmap'd read-only.
  82. - Don't build on ia64 any more.
  83. (It breaks on some boxes very badly, and works on very few).
  84. * Mon Sep 12 2005 Dave Jones <davej@redhat.com>
  85. - Update to upstream 2.7
  86. * Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
  87. - remove empty scripts
  88. * Wed Mar 2 2005 Dave Jones <davej@redhat.com>
  89. - Update to upstream 2.6
  90. * Tue Mar 1 2005 Dave Jones <davej@redhat.com>
  91. - Rebuild for gcc4
  92. * Tue Feb 8 2005 Dave Jones <davej@redhat.com>
  93. - Rebuild with -D_FORTIFY_SOURCE=2
  94. * Tue Jan 11 2005 Dave Jones <davej@redhat.com>
  95. - Add missing Obsoletes: kernel-utils
  96. * Mon Jan 10 2005 Dave Jones <davej@redhat.com>
  97. - Update to upstream 2.5 release.
  98. * Sat Dec 18 2004 Dave Jones <davej@redhat.com>
  99. - Initial packaging, based upon kernel-utils package.