Sophie

Sophie

distrib > PLD > ra > i686 > by-pkgid > d145ff9a6ef47d688b653ed1614209f4 > files > 3

isapnptools-1.26-4.src.rpm

# $Revision: 1.32 $, $Date: 2002/10/28 08:13:44 $
Summary:	Programs to configure ISA Plug-And-Play devices
Summary(es):	Programas para configurar dispositivos Plug-And-Play ISA en una máquina linux
Summary(pl):	Narzêdzia do konfigurowania urz±dzeñ Plug-And-Play
Summary(pt_BR):	Programas para configurar dispositivos Plug-And-Play ISA numa máquina Linux
Summary(ru):	ðÒÏÇÒÁÍÍÙ ÄÌÑ ËÏÎÆÉÇÕÒÁÃÉÉ ISA Plug-And-Play (PnP) ÕÓÔÒÏÊÓÔ×
Summary(uk):	ðÒÏÇÒÁÍÉ ÄÌÑ ËÏÎƦÇÕÒÁæ§ ISA Plug-And-Play (PnP) ÐÒÉÓÔÒϧ×
Name:		isapnptools
Version:	1.26
Release:	4
License:	GPL
Group:		Applications/System
Source0:	ftp://ftp.demon.co.uk/pub/unix/linux/utils/%{name}-%{version}.tgz
Patch0:		%{name}-ac_fix.patch
URL:		http://www.roestock.demon.co.uk/isapnptools/
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	flex
Prereq:		sed
ExclusiveArch:	%{ix86} alpha
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_sbindir	/sbin
%define		_sysconfdir	/etc/isapnp

%description
The isapnptools package contains utilities for configuring ISA
Plug-and-Play (PnP) cards/boards which are in compliance with the PnP
ISA Specification Version 1.0a. ISA PnP cards use registers instead of
jumpers for setting the board address and interrupt assignments. The
cards also contain descriptions of the resources which need to be
allocated. The BIOS on your system, or isapnptools, uses a protocol
described in the specification to find all of the PnP boards and
allocate the resources so that none of them conflict.

Note that the BIOS doesn't do a very good job of allocating resources.
So isapnptools is suitable for all systems, whether or not they
include a PnP BIOS. In fact, a PnP BIOS adds some complications. A PnP
BIOS may already activate some cards so that the drivers can find
them. Then these tools can unconfigure them or change their settings,
causing all sorts of nasty effects. If you have PnP network cards that
already work, you should read through the documentation files very
carefully before you use isapnptools.

%description -l es
Estos programas permiten que dispositivos ISA Plug-And-Play sean configurados
en una máquina Linux.  Este programa es apropiado para todos los sistemas,
incluso cuando no tienen un BIOS PnP. Además, un BIOS PnP adiciona algunas
complicaciones, porque puede ya tener activado algunas tarjetas de modo que los
drivers las pueden encontrar, y las herramientas de este paquete pueden
desconfigúralas, o cambiar sus configuraciones causando efectos desagradables.
Si tienes (por ejemplo) tarjetas de red plug and play que ya funcionan, sugiero
que leas con cuidado la página de manual isapnp.conf(5), sobre el formato del
archivo de configuración.

%description -l pl
Programy zawarte w tym pakiecie umo¿liwiaj± skonfigurowanie urz±dzeñ
Plug-And-Play pod³±czonych do szyny ISA.

Narzêdzia s± dostosowane do wszystkich systemów i nie wymagaj±
posiadania BIOS-u obs³uguj±cego PnP.

%description -l pt_BR
Estes programas permitem que dispositivos ISA Plug-And-Play sejam configurados
numa máquina Linux.

Este programa é apropriado para todos os sistemas, mesmo que não tenham um BIOS
PnP. Aliás, um BIOS PnP adiciona algumas complicações, porque já pode ter
ativado algumas placas de modo que os drivers possam achá-las, e as ferramentas
deste pacote podem desconfigurá-las, ou mudar suas configurações causando
efeitos desagradáveis. Se você tiver (por exemplo) placas de rede plug and play
que já funcionam, sugiro que você leia com cuidado a página de manual
isapnp.conf(5), sobre o formato do arquivo de configuração.

%description -l ru
ðÁËÅÔ isapnptools ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ ÄÌÑ ËÏÎÆÉÇÕÒÉÒÏ×ÁÎÉÑ ISA Plug-and-Play
(PnP) ËÁÒÔ, ÏÔ×ÅÞÁÀÝÉÈ ÓÔÁÎÄÁÒÔÕ PnP ISA Specification Version 1.0a.
ëÁÒÔÙ ISA PnP ÉÓÐÏÌØÚÕÀÔ ÒÅÇÉÓÔÒÙ ×ÍÅÓÔÏ ÐÅÒÅËÌÀÞÁÔÅÌÅÊ ÄÌÑ ÕÓÔÁÎÏ×ËÉ
ÁÄÒÅÓÁ ÐÌÁÔÙ É ÐÒÉÓ×ÏÅÎÉÑ ÎÏÍÅÒÁ ÐÒÅÒÙ×ÁÎÉÑ. ëÁÒÔÙ ÔÁËÖÅ ÓÏÄÅÒÖÁÔ
ÏÐÉÓÁÎÉÅ ÒÅÓÕÒÓÏ×, ËÏÔÏÒÙÅ ÎÅÏÂÈÏÄÉÍÏ ×ÙÄÅÌÉÔØ. BIOS ×ÁÛÅÊ ÍÁÛÉÎÙ ÉÌÉ
isapnptools ÉÓÐÏÌØÚÕÀÔ ÐÒÏÔÏËÏÌ ÏÐÉÓÁÎÎÙÊ × ÓÐÅÃÉÆÉËÁÃÉÉ ÄÌÑ ÎÁÈÏÖÄÅÎÉÑ
×ÓÅÈ ÐÌÁÔ PnP É ×ÙÄÅÌÅÎÉÑ ÒÅÓÕÒÓÏ× ÔÁË, ÞÔÏÂÙ ÏÎÉ ÎÅ ËÏÎÆÌÉËÔÏ×ÁÌÉ.

BIOS ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ ×ÙÐÏÌÎÑÅÔ ÒÁÂÏÔÕ ÐÏ ÒÁÓÐÒÅÄÅÌÅÎÉÀ ÒÅÓÕÒÓÏ×. ôÁË ÞÔÏ
isapnptools ÐÏÄÈÏÄÉÔ ÄÌÑ ×ÓÅÈ ÓÉÓÔÅÍ, ÎÅÚÁ×ÉÓÉÍÏ ÏÔ ÔÏÇÏ, ×ËÌÀÞÁÀÔ ÌÉ ÏÎÉ
PnP BIOS. ÷ ÄÅÊÓÔ×ÉÔÅÌØÎÏÓÔÉ, PnP BIOS ÎÅÓËÏÌØËÏ ÕÓÌÏÖÎÑÅÔ ÄÅÌÏ. ïÎ ÍÏÖÅÔ
ÕÖÅ ÁËÔÉ×ÉÚÉÒÏ×ÁÔØ ÎÅËÏÔÏÒÙÅ ËÁÒÔÙ, ÔÁË ÞÔÏÂÙ ÄÒÁÊ×ÅÒÙ ÍÏÇÌÉ ÉÈ ÎÁÊÔÉ.
ðÏÓÌÅ ÜÔÏÇÏ ÜÔÉ ÕÔÉÌÉÔÙ ÍÏÇÕÔ ÉÈ "ÒÁÓËÏÎÆÉÇÕÒÉÒÏ×ÁÔØ", ×ÙÚÙ×ÁÑ ÜÔÉÍ
ÒÁÚÎÏÏÂÒÁÚÎÙÅ ÎÅÐÒÉÑÔÎÙÅ ÜÆÆÅËÔÙ. åÓÌÉ ×Ù ÉÍÅÅÔÅ PnP ÓÅÔÅ×ÙÅ ËÁÒÔÙ
ËÏÔÏÒÙÅ ÕÖÅ ÒÁÂÏÔÁÀÔ, ×ÁÍ ÓÌÅÄÕÅÔ ÐÒÏÞÉÔÁÔØ ÆÁÊÌÙ ÄÏËÕÍÅÎÔÁÃÉÉ ÏÞÅÎØ
×ÎÉÍÁÔÅÌØÎÏ ÐÅÒÅÄ ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ isapnptools.

%description -l uk
ðÁËÅÔ isapnptools ͦÓÔÉÔØ ÕÔÉ̦ÔÉ ÄÌÑ ËÏÎƦÇÕÒÕ×ÁÎÎÑ ISA Plug-and-Play
(PnP) ËÁÒÔ, Ñ˦ צÄÐÏצÄÁÀÔØ ÓÔÁÎÄÁÒÔÕ PnP ISA Specification Version 1.0a.
ëÁÒÔÉ ISA PnP ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÒÅǦÓÔÒÉ ÚÁͦÓÔØ ÐÅÒÅÍÉËÁÞ¦× ÄÌÑ ÕÓÔÁÎÏ×ËÉ
ÁÄÒÅÓÉ ÐÌÁÔÉ ÔÁ ÐÒÉÓ×ϤÎÎÑ ÎÏÍÅÒÕ ÐÅÒÅÒÉ×ÁÎÎÑ. ëÁÒÔÉ ÔÁËÏÖ Í¦ÓÔÑÔØ ÏÐÉÓ
ÒÅÓÕÒÓ¦×, Ñ˦ ÐÏÔÒ¦ÂÎÏ ×ÉĦÌÉÔÉ. BIOS ×ÁÛϧ ÍÁÛÉÎÉ ÞÉ isapnptools
×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÐÒÏÔÏËÏÌ, ÏÐÉÓÁÎÉÊ × ÓÐÅÃÉƦËÁæ§, ÄÌÑ ÚÎÁÈÏÄÖÅÎÎÑ ×Ó¦È
ÐÌÁÔ PnP ÔÁ ×ÉĦÌÅÎÎÑ ÒÅÓÕÒÓ¦× ÔÁË, ÝÏ ×ÏÎÉ ÎÅ ËÏÎÆ̦ËÔÕ×ÁÌÉ.

BIOS ÎÅ ÄÕÖÅ ÄÏÂÒÅ ×ÉËÏÎÕ¤ ÒÏÂÏÔÕ ÐÏ ÒÏÚÐÏĦÌÅÎÎÀ ÒÅÓÕÒÓ¦×. ôÁË ÝÏ
isapnptools ЦÄÈÏÄÉÔØ ÄÌÑ ×Ó¦È ÓÉÓÔÅÍ, ÎÅÚÁÌÅÖÎÏ ×¦Ä ÔÏÇÏ, ÞÉ ×ËÌÀÞÁÀÔØ
×ÏÎÉ PnP BIOS. ÷ ĦÊÓÎÏÓÔ¦, PnP BIOS ÄÅÝÏ ÕÓËÌÁÄÎÀ¤ ÓÐÒÁ×Õ. ÷¦Î ÍÏÖÅ
×ÖÅ ÁËÔÉ×Õ×ÁÔÉ ÄÅÑ˦ ËÁÒÔÉ, ÔÁË ÝÏ ÄÒÁÊ×ÅÒÉ ÚÍÏÇÌÉ §È ÚÎÁÊÔÉ. ð¦ÓÌÑ
ÔÏÇÏ Ã¦ ÕÔÉ̦ÔÉ ÍÏÖÕÔØ "ÒÏÚËÏÎƦÇÕÒÕ×ÁÔÉ" §È, ×ÉËÌÉËÁÀÞÉ ÃÉÍ Ò¦ÚÎÏÍÁΦÔΦ
ÎÅÐÒɤÍΦ ÅÆÅËÔÉ. ñËÝÏ ×É ÍÁ¤ÔÅ PnP ÍÅÒÅÖÅצ ËÁÒÔÉ Ñ˦ ×ÖÅ ÐÒÁÃÀÀÔØ,
×ÁÍ ÓÌ¦Ä ÐÒÏÞÉÔÁÔÉ ÆÁÊÌÉ ÄÏËÕÍÅÎÔÁæ§ ÄÕÖÅ Õ×ÁÖÎÏ ÐÅÒÅÄ ×ÉËÏÒÉÓÔÁÎÎÑÍ
isapnptools.

%package devel
Summary:	Devel librairies for configuring ISA Plug-and-Play (PnP) devices
Group:		Development/Libraries
PreReq:		%{name} = %{version}

%description devel
The isapnptools package contains utilities for configuring ISA
Plug-and-Play (PnP) cards which are in compliance with the PnP ISA
Specification Version 1.0a.  ISA PnP cards use registers instead of
jumpers for setting the board address and interrupt assignments.  The
cards also contain descriptions of the resources which need to be
allocated.  The BIOS on your system, or isapnptools, uses a protocol
described in the specification to find all of the PnP boards and
allocate the resources so that none of them conflict.

Note that the BIOS doesn't do a very good job of allocating resources.
So isapnptools is suitable for all systems, whether or not they
include a PnP BIOS. In fact, a PnP BIOS adds some complications.  A
PnP BIOS may already activate some cards so that the drivers can find
them.  Then these tools can unconfigure them or change their settings,
causing all sorts of nasty effects. If you have PnP network cards that
already work, you should read through the documentation files very
carefully before you use isapnptools.

Install isapnptools-devel if you need to do development with ISA PnP
cards.

%prep
%setup -q
%patch0 -p1

%build
rm -f missing
%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}

%{__make} install DESTDIR=$RPM_BUILD_ROOT

install etc/* $RPM_BUILD_ROOT%{_sysconfdir}

%clean
rm -rf $RPM_BUILD_ROOT

%post
if [ -f  %{_sysconfdir}/isapnp.conf ]; then
        NEWPORT=`%{_sbindir}/pnpdump | grep READPORT 2>/dev/null`
	if [ -n "$NEWPORT" ]; then
	        mv -f  %{_sysconfdir}/isapnp.conf  %{_sysconfdir}/isapnp.conf.rpmsave
		sed -e "s/^[^#]*(READPORT .*/$NEWPORT/"  %{_sysconfdir}/isapnp.conf.rpmsave > \
		%{_sysconfdir}/isapnp.conf
	fi
fi

%files
%defattr(644,root,root,755)
%doc ChangeLog NEWS README config-scripts/YMH0021
%attr(750,root,root) %dir %{_sysconfdir}
%attr(640,root,root) %config %verify(not size mtime md5) %{_sysconfdir}/*
%attr(755,root,root) %{_sbindir}/*
%{_mandir}/man[58]/*

%files devel
%defattr(644,root,root,755)
%{_libdir}/*.a
%{_includedir}/isapnp/*.h

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback@pld.org.pl>
All persons listed below can be reached at <cvs_login>@pld.org.pl

$Log: isapnptools.spec,v $
Revision 1.32  2002/10/28 08:13:44  marcus
- rel.4.

Revision 1.31  2002/10/09 13:14:35  kloczek
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc

Revision 1.30  2002/07/29 07:32:43  marcus
- changed ExcludeArch to ExclusiveArch

Revision 1.29  2002/07/21 18:15:50  blues
- added missing files to devel package
STBR

Revision 1.28  2002/07/21 17:57:18  blues
- translations from MDK and Manticore

Revision 1.27  2002/07/21 17:34:58  blues
- release 3
- new doc

Revision 1.26  2002/05/21 23:13:38  kloczek
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
             s/^automake -a -c -f/\%\{__automake\}/; \
	     s/^autoconf/\%\{__autoconf\}/"

Revision 1.25  2002/04/25 16:37:43  arturs
fixed a small typo

Revision 1.24  2002/02/22 23:29:04  kloczek
- removed all Group fields translations (our rpm now can handle translating
  Group field using gettext).

Revision 1.23  2002/01/18 02:13:22  kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.22  2001/10/01 08:04:19  qboosh
- BuildRequires: autoconf

Revision 1.21  2001/09/28 23:48:59  blues
- release 2
- ac2.5 ready

Revision 1.20  2001/05/09 16:15:25  misiek
- updated to 1.26

Revision 1.19  2001/04/24 01:54:29  kloczek
- updated to 1.25.

Revision 1.18  2001/01/07 21:48:02  kloczek
- updated to 1.24,
- removed obsoleted pnpdump_main patch.

Revision 1.17  2001/01/03 21:11:36  kloczek
- added flex to BuildRequires list.

Revision 1.16  2001/01/03 21:10:56  kloczek
- updated to 1.23,
- spec adapterized,
- removed obsoleted DESTDIR patch ad added using new autoconf siut,
- added pnpdump_main with small fix compilation bug src/pnpdump_main.c.

Revision 1.15  2000/06/09 07:23:03  kloczek
- added using %%{__make} macro.

Revision 1.14  2000/05/02 21:22:46  baggins
- fixed version, minor cleanup

Revision 1.13  2000/04/01 11:14:47  zagrodzki
- changed all BuildRoot definitons
- removed all applnkdir defs
- changed some prereqs/requires
- removed duplicate empty lines

Revision 1.12  2000/03/28 16:54:34  baggins
- translated kloczkish into english

Revision 1.11  1999/10/30 07:53:38  wiget
- updated to 1.19

Revision 1.10  1999/07/12 23:05:59  kloczek
- added using CVS keywords in %changelog (for automating them).

* Wed Apr 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
  [1.18-4]
- add /etc/isapnp/isapnp.gone,
- default to not using IRQ 7 on alpha,
- recompiled on new rpm.