Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37536944
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: alt5

Summary: PCMCIA utilities
Group: System/Configuration/Hardware

License: GPL
Url: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html

Source0: %name-%version.tar.bz2
Source1: %name-cis.tar.bz2

Patch1: pcmciautils-014-alt-modprobe-b.patch
Patch2: pcmciautils-014-alt-make.patch
Patch3: pcmciautils-014-alt-exclude-irq.patch

Obsoletes: pcmcia-cs %name-hotplug < %version-%release

# Automatically added by buildreq on Sat Jun 18 2005

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

%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
%make

%install
%make DESTDIR=%buildroot install

%__tar -xjf %SOURCE1 -C %buildroot%_sysconfdir/pcmcia/

%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
%dir %_sysconfdir/pcmcia
%config(noreplace) %_sysconfdir/pcmcia/*.opts
%_sysconfdir/pcmcia/cis
%_sysconfdir/udev/rules.d/*.rules
/sbin/*
%_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