dmidecode-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Summary: Tool to analyse BIOS DMI data.
  2. Summary(ja): BIOS DMI データを表示するツール
  3. Name: dmidecode
  4. Version: 3.2
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Base
  7. License: GPL
  8. URL: http://www.nongnu.org/dmidecode/
  9. Source0: http://download.savannah.gnu.org/releases/dmidecode/dmidecode-%{version}.tar.xz
  10. Patch0: 0001-dmidecode-Fix-Redfish-Hostname-print-length.patch
  11. Patch1: 0002-dmidecode-Don-t-use-memcpy-on-dev-mem-on-arm64.patch
  12. Patch2: 0003-dmidecode-Use-the-most-appropriate-unit-for-cache-si.patch
  13. Patch3: 0004-dmidecode-Use-dmi_cache_size_2-in-dmi_cache_size.patch
  14. Patch4: 0005-dmidecode-Add-Logical-non-volatile-device-to-the-mem.patch
  15. Patch5: 0006-dmidecode-Reformat-the-FILES-section-of-the-manual-p.patch
  16. Patch6: 0007-dmidecode-Document-how-the-UUID-fields-are-interpret.patch
  17. Patch7: 0008-Use-comments-to-separate-sections-in-manual-pages.patch
  18. Patch8: 0009-dmidecode-Add-missing-standard-include.patch
  19. Patch9: 0010-dmidecode-Only-scan-dev-mem-for-entry-point-on-x86.patch
  20. Patch10: 0011-Use-larger-units-for-memory-device-and-BIOS-size.patch
  21. Patch11: 0012-Fix-formatting-of-TPM-table-output.patch
  22. Patch12: 0013-dmidecode-Adding-bios-revision-to-s-option.patch
  23. Patch13: 0014-dmidecode-Adding-firmware-revision-support-to-s-opti.patch
  24. Patch14: 0015-dmidecode-Fix-System-Slot-Information-for-PCIe-SSD.patch
  25. Patch15: 0016-Typo.patch
  26. Patch16: 0017-dmidecode-Add-enumerated-values-from-SMBIOS-3.3.0.patch
  27. Patch17: 0018-dmidecode-Decode-system-slot-base-bus-width-and-peer.patch
  28. Buildroot: %{_tmppath}/%{name}-%{version}-root
  29. BuildRequires: automake, autoconf
  30. ExclusiveArch: %{ix86} x86_64 ia64
  31. Obsoletes: kernel-utils
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: shaolin, daisuke
  35. %description
  36. dmidecode reports information about x86 & ia64 hardware as described in the
  37. system BIOS according to the SMBIOS/DMI standard. This information
  38. typically includes system manufacturer, model name, serial number,
  39. BIOS version, asset tag as well as a lot of other details of varying
  40. level of interest and reliability depending on the manufacturer.
  41. This will often include usage status for the CPU sockets, expansion
  42. slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of
  43. I/O ports (e.g. serial, parallel, USB).
  44. %description -l ja
  45. dmidecode を使うと、SMBIOS/DMI 規格に基づき、BIOS 上の
  46. x86 / ia64 ハードウェア情報を表示することができます。
  47. 表示される情報には、ハードウェアの製造元、モデル名、シリアル番号、
  48. BIOS のバージョンなど、数多くの詳細なハードウェア情報が含まれます。
  49. %prep
  50. %setup -q
  51. %patch0 -p1
  52. %patch1 -p1
  53. %patch2 -p1
  54. %patch3 -p1
  55. %patch4 -p1
  56. %patch5 -p1
  57. %patch6 -p1
  58. %patch7 -p1
  59. %patch8 -p1
  60. %patch9 -p1
  61. %patch10 -p1
  62. %patch11 -p1
  63. %patch12 -p1
  64. %patch13 -p1
  65. %patch14 -p1
  66. %patch15 -p1
  67. %patch16 -p1
  68. %patch17 -p1
  69. %build
  70. %make_build CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
  71. %install
  72. rm -rf %{buildroot}
  73. make DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
  74. %clean
  75. rm -rf %{buildroot}
  76. %files
  77. %defattr(-,root,root)
  78. %license LICENSE
  79. %doc AUTHORS CHANGELOG README
  80. %{_sbindir}/dmidecode
  81. %ifnarch ia64
  82. %{_sbindir}/vpddecode
  83. %{_sbindir}/ownership
  84. %{_sbindir}/biosdecode
  85. %endif
  86. %{_mandir}/man8/*
  87. %changelog
  88. * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.2-1
  89. - new upstream release.
  90. - replaced all patches with rawhide's.
  91. * Mon Jan 13 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.12-1
  92. - new upstream release
  93. - import patch0 from Fedora
  94. * Fri Apr 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11-1
  95. - update to 2.11
  96. * Fri May 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.9-2
  97. - spec in UTF-8
  98. * Sat May 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.9-1
  99. - initial build for Vine Linux
  100. * Sat May 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1:2.9-1.30.1
  101. - initial build for Vine Linux
  102. * Fri Mar 14 2008 Doug Chapman <doug.chapman@hp.com> 1:2.9-1.29.1
  103. - Do not package vpddecode, ownership and biosdecode on ia64 since those are x86 only
  104. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:2.9-1.27.1
  105. - Autorebuild for GCC 4.3
  106. * Mon Oct 22 2007 Prarit Bhargava <prarit@redhat.com> - 1:2.9
  107. - rebuild with version 2.9
  108. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:2.7-1.25.1
  109. - rebuild
  110. * Thu Feb 09 2006 Dave Jones <davej@redhat.com>
  111. - rebuild.
  112. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  113. - rebuilt
  114. * Mon Nov 28 2005 Dave Jones <davej@redhat.com>
  115. - Integrate several specfile cleanups from Robert Scheck. (#172543)
  116. * Sat Sep 24 2005 Dave Jones <davej@redhat.com>
  117. - Revert yesterdays patch, its unneeded in 2.7
  118. * Fri Sep 23 2005 Dave Jones <davej@redhat.com>
  119. - Don't try to modify areas mmap'd read-only.
  120. - Don't build on ia64 any more.
  121. (It breaks on some boxes very badly, and works on very few).
  122. * Mon Sep 12 2005 Dave Jones <davej@redhat.com>
  123. - Update to upstream 2.7
  124. * Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
  125. - remove empty scripts
  126. * Wed Mar 2 2005 Dave Jones <davej@redhat.com>
  127. - Update to upstream 2.6
  128. * Tue Mar 1 2005 Dave Jones <davej@redhat.com>
  129. - Rebuild for gcc4
  130. * Tue Feb 8 2005 Dave Jones <davej@redhat.com>
  131. - Rebuild with -D_FORTIFY_SOURCE=2
  132. * Tue Jan 11 2005 Dave Jones <davej@redhat.com>
  133. - Add missing Obsoletes: kernel-utils
  134. * Mon Jan 10 2005 Dave Jones <davej@redhat.com>
  135. - Update to upstream 2.5 release.
  136. * Sat Dec 18 2004 Dave Jones <davej@redhat.com>
  137. - Initial packaging, based upon kernel-utils package.