isapnptools-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. Summary: Utilities for configuring ISA Plug-and-Play (PnP) devices.
  2. Summary(ja): ISA Plug-and-Play (PnP) デバイスの設定ユーティリティ
  3. Name: isapnptools
  4. %define pversion 1.22
  5. Version: %{pversion}
  6. Release: 2vl3
  7. License: GPL
  8. Group: System Environment/Base
  9. Source: ftp://ftp.demon.co.uk/pub/unix/linux/utils/isapnptools-%{pversion}.tgz
  10. Patch: isapnptools-makefile.patch
  11. Patch2: isapnptools-glibc21.patch
  12. Patch3: isapnptools-spell.patch
  13. ExclusiveArch: %{ix86} alpha
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. %description
  16. The isapnptools package contains utilities for configuring ISA
  17. Plug-and-Play (PnP) cards which are in compliance with the PnP ISA
  18. Specification Version 1.0a. ISA PnP cards use registers instead of
  19. jumpers for setting the board address and interrupt assignments. The
  20. cards also contain descriptions of the resources which need to be
  21. allocated. The BIOS on your system, or isapnptools, uses a protocol
  22. described in the specification to find all of the PnP boards and
  23. allocate the resources so that none of them conflict.
  24. Note that the BIOS doesn't do a very good job of allocating resources.
  25. So isapnptools is suitable for all systems, whether or not they
  26. include a PnP BIOS. In fact, a PnP BIOS adds some complications. A
  27. PnP BIOS may already activate some cards so that the drivers can find
  28. them. Then these tools can unconfigure them or change their settings,
  29. causing all sorts of nasty effects. If you have PnP network cards that
  30. already work, you should read through the documentation files very
  31. carefully before you use isapnptools.
  32. Install isapnptools if you need utilities for configuring ISA PnP
  33. cards.
  34. %prep
  35. %setup -n isapnptools-%{pversion}
  36. %patch -p1
  37. %patch2 -p1 -b .glibc21
  38. %patch3 -p1 -b .spell
  39. %build
  40. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  41. sed -e "s/^\([^#]\)/#\1/" < isapnp.gone > isapnp.tmp
  42. %ifarch alpha
  43. sed -e "s/#IRQ 7/IRQ 7/" < isapnp.tmp > isapnp.tmp2
  44. mv -f isapnp.tmp2 isapnp.tmp
  45. %endif
  46. mv -f isapnp.tmp isapnp.gone
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. mkdir -p $RPM_BUILD_ROOT{/sbin,%{_mandir}/man5,%{_mandir}/man8,/etc}
  50. make installprefix=$RPM_BUILD_ROOT/ installdir=$RPM_BUILD_ROOT \
  51. INSTALLMANDIR=$RPM_BUILD_ROOT/%{_mandir} install
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %files
  55. %defattr(-,root,root)
  56. %doc CHANGES COPYING INSTALL README README.ide README.initrd README.modules
  57. %doc isapnpfaq.txt isapnp.conf isapnp.lsm
  58. %doc config-scripts/YMH0021
  59. %config(missingok) %attr(0644,root,root) /etc/isapnp.gone
  60. /sbin/*
  61. /usr/lib/*
  62. %{_mandir}/*/*
  63. %changelog
  64. * Fri Sep 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.22-2vl3
  65. - rebuild with new toolchains
  66. - s/Copyright/License/
  67. * Sat Jul 14 2001 <sagami@vinelinux.org>
  68. - 1.22-2vl2: use %%{ix86} for ExclusiveArch instead of i386
  69. * Sun Jun 10 2001 <sagami@vinelinux.org>
  70. - 1.22-2vl1: rebuilt for Vine and added Japanese summary
  71. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  72. - automatic rebuild
  73. * Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
  74. - 1.22
  75. * Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
  76. - 1.21b
  77. * Fri Dec 17 1999 Bill Nottingham <notting@redhat.com>
  78. - 1.21a
  79. * Mon Dec 13 1999 Bill Nottingham <notting@redhat.com>
  80. - oops, forgot a changelog last time.
  81. - update to 1.21
  82. * Fri Nov 19 1999 Bill Nottingham <notting@redhat.com>
  83. - fix some spellings (#7082)
  84. * Sun Oct 17 1999 Bill Nottingham <notting@redhat.com>
  85. - update to 1.19
  86. - remove %post
  87. * Sat Sep 25 1999 Bill Nottingham <notting@redhat.com>
  88. - add another patch to hopefully solve lockups.
  89. * Thu Sep 23 1999 Bill Nottingham <notting@redhat.com>
  90. - add patch to hopefully solve lockups.
  91. * Fri Jun 25 1999 Bill Nottingham <notting@redhat.com>
  92. - add another patch from maintainer for resource checking
  93. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  94. - add patch to hopefully solve some IO conflict probs.
  95. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  96. - auto rebuild in the new build environment (release 2)
  97. * Tue Feb 16 1999 Bill Nottingham <notting@redhat.com>
  98. - update to version 1.18
  99. * Wed Nov 11 1998 Bill Nottingham <notting@redhat.com>
  100. - update to version 1.17
  101. * Mon Nov 2 1998 Bill Nottingham <notting@redhat.com>
  102. - add /etc/isapnp.gone
  103. - default to not using IRQ 7 on alpha
  104. * Mon Oct 12 1998 Bill Nottingham <notting@redhat.com>
  105. - update to version 1.16
  106. * Mon Oct 5 1998 Bill Nottingham <notting@redhat.com>
  107. - add %post to twiddle readport of old /etc/isapnp.conf files
  108. * Thu Sep 24 1998 Bill Nottingham <notting@redhat.com>
  109. - fixed spec file so it rebuild cleanly
  110. * Fri Aug 07 1998 Bill Nottingham <notting@redhat.com>
  111. - added patch to bump to 1.15a
  112. * Tue Aug 04 1998 Bill Nottingham <notting@redhat.com>
  113. - updated to version 1.15
  114. * Fri Oct 03 1997 Michael Fulbright <msf@redhat.com>
  115. - added code to avoid probing in IO port ranges in /proc/ioports
  116. * Fri Aug 22 1997 Mike Wangsmo <wanger@redhat.com>
  117. - Built against glibc
  118. * Thu Jul 17 1997 Timo Karjalainen <timok@iki.fi>
  119. - Updated to version 1.11
  120. - Added RPM_OPT_FLAGS
  121. - Uses BuildRoot