ALT Linux repositórios
Group :: Sistema/Configurações/Hadware
RPM: hotplug
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: hotplug
Version: 2004_09_23
Release: alt14.1
Summary: A helper application for loading modules
Summary(ru_RU.KOI8-R): ðÒÉÌÏÖÅÎÉÅ ÄÌÑ Á×ÔÏÍÁÔÉÞÅÓËÏÊ ÚÁÇÒÕÚËÉ ÍÏÄÕÌÅÊ
Group: System/Configuration/Hardware
License: GPL
Url: http://kernel.org/pub/linux/utils/kernel/hotplug/
Source0: http://kernel.org/pub/linux/utils/kernel/hotplug/%name-%version.tar.bz2
Source1: http://www.linuxalpha.compaq.com/pcihpd/files/cpqphpd_gui-0.1.2.tar.bz2
Source2: http://www.linuxalpha.compaq.com/pcihpd/files/hpioctl.tar.bz2
Source3: cpqphpd_ioctl.h
Source4: hotplug-modutils
Source5: hotplug-usb.sysconfig
Source6: hotplug.conf
Patch0: hotplug-2004_09_23-alt.patch
PreReq: chkconfig
Requires: udev
Obsoletes: usbd kudzu linux-hotplug
Conflicts: kudzu linux-hotplug
Provides: usbd
PreReq: modutils >= 2.4.25-alt3
PreReq: libhw-tools >= 0.2.13
Requires: startup >= 0.9.0-alt1
BuildPreReq: libhw-tools >= 0.2.9
Conflicts: libhw-tools < 0.2.12-alt1
%description
This package contains the scripts necessary for hotplug Linux support,
and lets you plug in new devices and use them immediately.
Initially, it includes support for USB and PCI (Cardbus) devices,
and can automatically configure network interfaces.
%description -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓËÒÉÐÔÙ ÄÌÑ Á×ÔÏÍÁÔÉÞÅÓËÏÊ ÚÁÇÒÕÚËÉ ÍÏÄÕÌÅÊ É ÎÁÓÔÒÏÊËÉ ÄÏÂÁ×ÌÑÅÍÏÇÏ
ÏÂÏÒÏÄÏ×ÁÎÉÑ.
%package gtk
Summary: GTK control interface for Hotplug PCI
Group: System/Configuration/Hardware
%description gtk
This is the GTK interface for the Compaq PCI hotplug controller
%prep
%setup -q -a1 -a2
%patch0 -p1
%build
%make_build CFLAGS="%optflags"
%install
make prefix=$RPM_BUILD_ROOT install
# hotplug PCI program
mkdir -p $RPM_BUILD_ROOT/usr/sbin
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/dev.d/sound
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/modutils.d
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/usb
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/pci
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/ieee1394
mkdir -p $RPM_BUILD_ROOT/lib/firmware
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/sysconfig
mkdir -p $RPM_BUILD_ROOT/usr/lib/hotplug/firmware
install -m644 %SOURCE5 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/usb
install -m644 %SOURCE6 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/hotplug
mkdir -p $RPM_BUILD_ROOT/var/log/hotplug
mkdir -p $RPM_BUILD_ROOT/var/lib/hotplug
install -m 644 %SOURCE4 $RPM_BUILD_ROOT%_sysconfdir/modutils.d/%name
%post
%post_service hotplug
# hotplug must be enabled ;-(
/sbin/chkconfig --add hotplug
%preun
%preun_service hotplug
%files
%doc README ChangeLog
%config(noreplace) /etc/modutils.d/%name
%config(noreplace) /etc/hotplug/blacklist
%config(noreplace) /etc/sysconfig/%name
/etc/hotplug/hotplug.functions
/etc/hotplug/ieee1394.agent
/etc/hotplug/net.agent
/etc/hotplug/pci.agent
/etc/hotplug/usb.agent
%config(noreplace) /etc/hotplug/pnp.distmap
%config(noreplace) /etc/hotplug/usb.distmap
%config(noreplace) /etc/hotplug/usb.handmap
%config(noreplace) /etc/hotplug/usb.usermap
%dir /etc/hotplug.d
%dir /etc/hotplug.d/default
%config(noreplace) /etc/hotplug.d/default/default.hotplug
/etc/hotplug/dasd.agent
/etc/hotplug/firmware.agent
/etc/hotplug/input.agent
/etc/hotplug/scsi.agent
/etc/hotplug/tape.agent
/etc/dev.d/sound
/etc/modutils.d/oss
#config(noreplace) /etc/sysconfig/usb
/etc/hotplug/*.rc
/etc/rc.d/init.d/hotplug
/sbin/*
%dir /etc/hotplug
%dir %_sysconfdir/hotplug/usb
%dir %_sysconfdir/hotplug/pci
%dir %_sysconfdir/hotplug/ieee1394
%dir /lib/firmware
%dir /usr/lib/hotplug
%dir /usr/lib/hotplug/firmware
%dir /var/run/usb
%dir /var/log/hotplug
%dir /var/lib/hotplug
%_mandir/man?/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 2004_09_23
Release: alt14.1
Summary: A helper application for loading modules
Summary(ru_RU.KOI8-R): ðÒÉÌÏÖÅÎÉÅ ÄÌÑ Á×ÔÏÍÁÔÉÞÅÓËÏÊ ÚÁÇÒÕÚËÉ ÍÏÄÕÌÅÊ
Group: System/Configuration/Hardware
License: GPL
Url: http://kernel.org/pub/linux/utils/kernel/hotplug/
Source0: http://kernel.org/pub/linux/utils/kernel/hotplug/%name-%version.tar.bz2
Source1: http://www.linuxalpha.compaq.com/pcihpd/files/cpqphpd_gui-0.1.2.tar.bz2
Source2: http://www.linuxalpha.compaq.com/pcihpd/files/hpioctl.tar.bz2
Source3: cpqphpd_ioctl.h
Source4: hotplug-modutils
Source5: hotplug-usb.sysconfig
Source6: hotplug.conf
Patch0: hotplug-2004_09_23-alt.patch
PreReq: chkconfig
Requires: udev
Obsoletes: usbd kudzu linux-hotplug
Conflicts: kudzu linux-hotplug
Provides: usbd
PreReq: modutils >= 2.4.25-alt3
PreReq: libhw-tools >= 0.2.13
Requires: startup >= 0.9.0-alt1
BuildPreReq: libhw-tools >= 0.2.9
Conflicts: libhw-tools < 0.2.12-alt1
%description
This package contains the scripts necessary for hotplug Linux support,
and lets you plug in new devices and use them immediately.
Initially, it includes support for USB and PCI (Cardbus) devices,
and can automatically configure network interfaces.
%description -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓËÒÉÐÔÙ ÄÌÑ Á×ÔÏÍÁÔÉÞÅÓËÏÊ ÚÁÇÒÕÚËÉ ÍÏÄÕÌÅÊ É ÎÁÓÔÒÏÊËÉ ÄÏÂÁ×ÌÑÅÍÏÇÏ
ÏÂÏÒÏÄÏ×ÁÎÉÑ.
%package gtk
Summary: GTK control interface for Hotplug PCI
Group: System/Configuration/Hardware
%description gtk
This is the GTK interface for the Compaq PCI hotplug controller
%prep
%setup -q -a1 -a2
%patch0 -p1
%build
%make_build CFLAGS="%optflags"
%install
make prefix=$RPM_BUILD_ROOT install
# hotplug PCI program
mkdir -p $RPM_BUILD_ROOT/usr/sbin
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/dev.d/sound
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/modutils.d
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/usb
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/pci
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/ieee1394
mkdir -p $RPM_BUILD_ROOT/lib/firmware
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/sysconfig
mkdir -p $RPM_BUILD_ROOT/usr/lib/hotplug/firmware
install -m644 %SOURCE5 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/usb
install -m644 %SOURCE6 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/hotplug
mkdir -p $RPM_BUILD_ROOT/var/log/hotplug
mkdir -p $RPM_BUILD_ROOT/var/lib/hotplug
install -m 644 %SOURCE4 $RPM_BUILD_ROOT%_sysconfdir/modutils.d/%name
%post
%post_service hotplug
# hotplug must be enabled ;-(
/sbin/chkconfig --add hotplug
%preun
%preun_service hotplug
%files
%doc README ChangeLog
%config(noreplace) /etc/modutils.d/%name
%config(noreplace) /etc/hotplug/blacklist
%config(noreplace) /etc/sysconfig/%name
/etc/hotplug/hotplug.functions
/etc/hotplug/ieee1394.agent
/etc/hotplug/net.agent
/etc/hotplug/pci.agent
/etc/hotplug/usb.agent
%config(noreplace) /etc/hotplug/pnp.distmap
%config(noreplace) /etc/hotplug/usb.distmap
%config(noreplace) /etc/hotplug/usb.handmap
%config(noreplace) /etc/hotplug/usb.usermap
%dir /etc/hotplug.d
%dir /etc/hotplug.d/default
%config(noreplace) /etc/hotplug.d/default/default.hotplug
/etc/hotplug/dasd.agent
/etc/hotplug/firmware.agent
/etc/hotplug/input.agent
/etc/hotplug/scsi.agent
/etc/hotplug/tape.agent
/etc/dev.d/sound
/etc/modutils.d/oss
#config(noreplace) /etc/sysconfig/usb
/etc/hotplug/*.rc
/etc/rc.d/init.d/hotplug
/sbin/*
%dir /etc/hotplug
%dir %_sysconfdir/hotplug/usb
%dir %_sysconfdir/hotplug/pci
%dir %_sysconfdir/hotplug/ieee1394
%dir /lib/firmware
%dir /usr/lib/hotplug
%dir /usr/lib/hotplug/firmware
%dir /var/run/usb
%dir /var/log/hotplug
%dir /var/lib/hotplug
%_mandir/man?/*
%changelog
…
Todas as alterações você pod ver aqui