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
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