Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37507798
en ru br
ALT Linux repositórios
S:018-alt1
5.0: 015-alt1
4.1: 014-alt6.M41.1
4.0: 014-alt5

Group :: Sistema/Configurações/Hadware
RPM: pcmciautils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: pcmciautils
Version: 014
Release: alt6.M41.1
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

%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
/sbin/pcmcia-*
%_man8dir/*.8*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009