22de3fe
Name: pcmciautils
22de3fe
Summary: PCMCIA utilities and initialization programs
22de3fe
License: GPL
bbb3844
Version: 014
c54ce73
Release: 9%{?dist}
22de3fe
Group: System Environment/Base
22de3fe
ExclusiveArch: i386 x86_64 ia64 ppc ppc64
e15d603
URL: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
22de3fe
Source: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-%{version}.tar.bz2
e15d603
Obsoletes: pcmcia-cs < 3.2.9
e15d603
Obsoletes: kernel-pcmcia-cs < 3.1.32
9b399a5
# Do not Provide, because it would conflict
9b399a5
#Provides:  pcmcia-cs = 3.2.9
9b399a5
#Provides:  kernel-pcmcia-cs = 3.1.32
e15d603
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
dc37096
BuildRequires: libsysfs-devel >= 1.3.0
4ee7e07
Requires: udev >= 062, kernel >= 2.6.12-1.1411_FC5
893a182
BuildRequires: byacc, flex
22de3fe
Patch1: pcmciautils-fedora.patch
4bcac38
Patch2: pcmciautils-014-newrules.patch
c54ce73
Patch3: pcmciautils-014-funcname.patch
22de3fe
22de3fe
%description
22de3fe
The pcmciautils package contains utilities for initializing and
22de3fe
debugging PCMCIA and Cardbus sockets.
22de3fe
22de3fe
%prep
22de3fe
%setup -q
22de3fe
# Fix build peculiarities
22de3fe
%patch1 -p1
c54ce73
%patch2 -p1 -b .newrule
c54ce73
%patch3 -p1
22de3fe
22de3fe
%build
e15d603
make %{?_smp_mflags}
22de3fe
22de3fe
%install
22de3fe
%{__rm} -rf $RPM_BUILD_ROOT
22de3fe
make install DESTDIR=$RPM_BUILD_ROOT
22de3fe
22de3fe
%clean
22de3fe
%{__rm} -rf $RPM_BUILD_ROOT
22de3fe
22de3fe
%files
22de3fe
%defattr(-,root,root)
22de3fe
%config(noreplace) %{_sysconfdir}/pcmcia/*.opts
e15d603
%dir %{_sysconfdir}/pcmcia
e15d603
%config(noreplace) %attr(0644,root,root) /etc/udev/rules.d/*
e15d603
/sbin/pccardctl
e15d603
%attr(0755,root,root) /sbin/lspcmcia
e15d603
%attr(0755,root,root) /sbin/pcmcia-check-broken-cis
e15d603
%attr(0755,root,root) /sbin/pcmcia-socket-startup
e15d603
%{_mandir}/man*/lspcmcia*
e15d603
%{_mandir}/man*/pccardctl*
22de3fe
22de3fe
%changelog
c54ce73
* Thu Jun 21 2007 Harald Hoyer <harald@redhat.com> - 014-9
c54ce73
- fixed modprobe udev rule
c54ce73
c54ce73
* Wed Jun  6 2007 Harald Hoyer <harald@redhat.com> - 014-8
c54ce73
- fixed 'pccardctl ident' SEGV
c54ce73
- Resolves: rhbz#242805
c54ce73
9b399a5
* Mon Apr  2 2007 Harald Hoyer <harald@redhat.com> - 014-7
9b399a5
- removed Provides, because it would conflict (#234504)
9b399a5
- Resolves: rhbz#234504
9b399a5
9b399a5
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 014-6
e15d603
- specfile cleanup
e15d603
dc37096
* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com> - 014-5
4381aa2
- rebuild
dc37096
- change br sysfsutils-devel to libsysfs-devel
4381aa2
4bcac38
* Mon Jun 19 2006 Harald Hoyer <harald@redhat.com> - 014-3
4bcac38
- changed MODALIAS to ENV{MODALIAS} in the rules file
4bcac38
893a182
* Wed Jun  7 2006 Harald Hoyer <harald@redhat.com> - 014-2
893a182
- better buildrequires
893a182
bbb3844
* Tue Jun 06 2006 Harald Hoyer <harald@redhat.com> - 014-1
bbb3844
- more build requires (bug #194144)
bbb3844
- version 014
bbb3844
f466075
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 011-1.2
f466075
- bump again for double-long bug on ppc(64)
f466075
ddf0cb5
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 011-1.1
ddf0cb5
- rebuilt for new gcc4.1 snapshot and glibc changes
ddf0cb5
95a19e9
* Tue Dec 13 2005  Bill Nottingham <notting@redhat.com> 011-1
95a19e9
- update to 011, now ships with its own udev rules
95a19e9
- remove pcmcia-cs provide
95a19e9
170b47b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
170b47b
- rebuilt
170b47b
ca86cbc
* Sun Jul 24 2005  Bill Nottingham <notting@redhat.com> 007-1
ca86cbc
- further udev-related tweaks (#163311)
ca86cbc
15f79e6
* Thu Jul 21 2005  Bill Nottingham <notting@redhat.com> 006-2
15f79e6
- udev patch - right idea, awful execution. fix that (#163311)
4ee7e07
- add requirement for 2.6.13-rc1, basically
15f79e6
fc2bcea
* Wed Jul 20 2005  Bill Nottingham <notting@redhat.com> 006-1
fc2bcea
- update to 006
fc2bcea
- link libsysfs statically
fc2bcea
22de3fe
* Fri Jul 08 2005  Bill Nottingham <notting@redhat.com> 005-1
bbb3844
- initial packaging