diff --git a/pcsc-lite.changes b/pcsc-lite.changes index a80914a..752d8dd 100644 --- a/pcsc-lite.changes +++ b/pcsc-lite.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 6 11:03:21 CET 2007 - sbrabec@suse.cz + +- Added necessary udev rule (#337666). + ------------------------------------------------------------------- Wed Aug 1 15:45:23 CEST 2007 - sbrabec@suse.cz diff --git a/pcsc-lite.spec b/pcsc-lite.spec index 7f37d6d..f278055 100644 --- a/pcsc-lite.spec +++ b/pcsc-lite.spec @@ -14,14 +14,16 @@ Name: pcsc-lite # FIXME: Maybe we should use /usr/lib/pcsc/drivers as others do: %define ifddir %{_libdir}/readers BuildRequires: libusb-devel pkg-config readline-devel resmgr +# For directory ownership: +BuildRequires: udev Version: 1.4.3 -Release: 4 +Release: 24 PreReq: %{insserv_prereq} %{fillup_prereq} # For upgrade from <= SLES9: PreReq: coreutils Group: System/Libraries License: BSD 3-Clause -URL: http://pcsclite.alioth.debian.org/ +Url: http://pcsclite.alioth.debian.org/ Summary: PCS Smart Cards Library Source0: %{name}-%{version}.tar.bz2 Source1: pcscd.init @@ -32,7 +34,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The purpose of PCSC Lite is to provide a Windows(R) SCard interface in -a very small form factor for communicating with smart cards and +a very small form factor for communication with smart cards and readers. PCSC Lite can be compiled directly for a desired reader driver or can be used to dynamically allocate/deallocate reader drivers at runtime (the default behavior). @@ -40,14 +42,12 @@ runtime (the default behavior). PCSC Lite uses the same winscard API as used in Windows(R). Security aware people should read the SECURITY file for possible -vulnerabilities to pcsclite, how you can fix them, and how some will be -fixed. +vulnerabilities of pcsclite and how to fix them. For information on how +to install drivers please read the DRIVERS file. -For information on how to install drivers please read the DRIVERS file. - -Memory cards will be supported through the MCT specifications, which is +Memory cards will be supported through the MCT specification, which is an APDU like manner sent normally through the SCardTransmit() function. - This functionality is done in the driver. +This functionality is exercised in the driver. @@ -100,6 +100,8 @@ ln -sf ../../etc/init.d/pcscd $RPM_BUILD_ROOT%{_sbindir}/rcpcscd #rm $RPM_BUILD_ROOT%{_mandir}/man1/formaticc.1* # For upgrade from <= SLES9: touch $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d/old-reader.conf +mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d +sed -n '/udev rules for pcscd and CCID readers/,/^\\end{verbatim}/{/{verbatim}/d;p;}' $RPM_BUILD_ROOT/etc/udev/rules.d/99-pcsc_lite.rules mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} cp -a AUTHORS ChangeLog ChangeLog.svn COPYING DRIVERS HELP NEWS README README.SUSE SECURITY TODO $RPM_BUILD_ROOT%{_docdir}/%{name} @@ -141,14 +143,16 @@ fi %ghost %config %{_sysconfdir}/reader.conf.d/old-reader.conf %{ifddir} /etc/init.d/pcscd +/etc/udev/rules.d/99-pcsc_lite.rules %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc - %changelog +* Tue Nov 06 2007 - sbrabec@suse.cz +- Added necessary udev rule (#337666). * Wed Aug 01 2007 - sbrabec@suse.cz - Applied Jacob Berkman's patch for 32-64-bit interoperability. * Thu Jul 26 2007 - sbrabec@suse.cz