add -udev support

This commit is contained in:
Robert Relyea 2007-02-07 02:22:01 +00:00
parent a0db4d6d94
commit 18721c5999

View File

@ -36,7 +36,7 @@ done
%build
%configure --disable-dependency-tracking --disable-static --enable-twinserial
%configure --disable-dependency-tracking --disable-static --enable-twinserial --enable-udev
make %{?_smp_mflags}
@ -45,6 +45,8 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
#make install_ccidtwin -C src DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf ./GemPCTwin.reader.conf
%{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d
%{__install} -m 644 src/pcscd_ccid.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/85-pcscd_ccid.rules
%clean
@ -65,12 +67,14 @@ exit 0
%doc AUTHORS ChangeLog COPYING README GemPCTwin.reader.conf
%{dropdir}/ifd-ccid.bundle/
%{dropdir}/serial/
%config %{_sysconfdir}/udev/rules.d/85-pcscd_ccid.rules
%changelog
* Tue Feb 06 2007 Bob Relyea <rrelyea@redhat.com> - 1.2.1-1
- Pick up ccid 1.2.1
- use pcscd 'hotplug' feature instead of restarting the daemon
- add enable_udev
* Mon Nov 06 2006 Bob Relyea <rrelyea@redhat.com> - 1.1.0-2
- Fix version macro to remove '-'