Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37704550
en ru br
Репозитории ALT
S:018-alt1
5.1: 015-alt1
4.1: 014-alt6.M41.1
4.0: 014-alt5
www.altlinux.org/Changes

Группа :: Система/Настройка/Оборудование
Пакет: pcmciautils

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: pcmciautils
Version: 015
Release: alt1
Summary: PCMCIA utilities
Group: System/Configuration/Hardware
License: GPL
Url: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
Packager: Valery Inozemtsev <shrek at altlinux.ru>

Requires: udev >= 118
Obsoletes: pcmcia-cs %name-hotplug < %version-%release

Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires: flex libsysfs-devel libpci-devel

%description
%name contains udev config and initialization tools necessary
to allow the PCMCIA subsystem to behave (almost) as every other
hotpluggable bus system.

%prep
%setup -q
%patch -p1

%build
%make

%install
%make DESTDIR=%buildroot install

mkdir -p %buildroot%_sysconfdir/pcmcia/cis

%post
if [ -r %_sysconfdir/modules.conf ]; then
if grep -q "pcmcia_core" %_sysconfdir/modules.conf; then
subst '/.*pcmcia_core.*pcmcia\ start.*/d' %_sysconfdir/modules.conf ||:
fi
fi

%triggerin -- %name <= 014-alt4
if [ -r %_sysconfdir/sysconfig/hotplug ]; then
subst 's,\ pcmcia.rc,,' %_sysconfdir/sysconfig/hotplug
subst 's,\ pcmcia_socket.rc,,' %_sysconfdir/sysconfig/hotplug
subst '/^PCMCIAPLUG.*$/d' %_sysconfdir/sysconfig/hotplug
fi

%files
%_sysconfdir/udev/rules.d/*.rules
%dir %_sysconfdir/pcmcia
%dir %_sysconfdir/pcmcia/cis
%config(noreplace) %_sysconfdir/pcmcia/config.opts
/sbin/lspcmcia
/sbin/pccardctl
/lib/udev/pcmcia-*
%_man8dir/*.8*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin