From 5bd7cc054088ef46f806ae1e476fbea925720577 Mon Sep 17 00:00:00 2001 From: Robert Relyea Date: Mon, 26 Jun 2006 22:51:41 +0000 Subject: [PATCH] auto-import ccid-1.0.1-2 on branch devel from ccid-1.0.1-2.src.rpm --- .cvsignore | 1 + ccid.spec | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 116 insertions(+) create mode 100644 ccid.spec diff --git a/.cvsignore b/.cvsignore index e69de29..c831572 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ccid-1.0.1.tar.gz diff --git a/ccid.spec b/ccid.spec new file mode 100644 index 0000000..3522ec8 --- /dev/null +++ b/ccid.spec @@ -0,0 +1,114 @@ +%define dropdir %(pkg-config libpcsclite --variable usbdropdir 2>/dev/null) + +Name: ccid +Version: 1.0.1 +Release: 2 +Summary: Generic USB CCID smart card reader driver + +Group: System Environment/Libraries +License: LGPL +URL: http://pcsclite.alioth.debian.org/ccid.html +Source0: http://alioth.debian.org/download.php/1563/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libusb-devel >= 0.1.7 +BuildRequires: pcsc-lite-devel >= 1.3.0 +Requires: libusb >= 0.1.7 +Requires: pcsc-lite >= 1.3.0 +Provides: pcsc-ifd-handler + +%description +Generic USB CCID (Chip/Smart Card Interface Devices) driver. + + +%prep +%setup -q +for f in ChangeLog README ; do + iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f +done + + +%build +%configure --disable-dependency-tracking --disable-static +make %{?_smp_mflags} + + +%install +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 + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +if [ $1 -eq 1 -a -x %{_initrddir}/pcscd ] ; then + %{_initrddir}/pcscd try-restart >/dev/null || : +fi + +%postun +[ -x %{_initrddir}/pcscd ] && %{_initrddir}/pcscd try-restart >/dev/null || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README GemPCTwin.reader.conf +%{dropdir}/ifd-ccid.bundle/ +%{dropdir}/serial/ + + +%changelog +* Mon Jun 5 2006 Bob Relyea - 1.0.1-2 +- Move to Fedora Core, removed %%{_dist}. + +* Sat Apr 22 2006 Ville Skyttä - 1.0.1-1 +- 1.0.1. + +* Mon Mar 6 2006 Ville Skyttä - 1.0.0-1 +- 1.0.0, license changed to LGPL. + +* Wed Feb 15 2006 Ville Skyttä - 0.4.1-7 +- Rebuild. + +* Thu Nov 3 2005 Ville Skyttä - 0.4.1-6 +- Clean up build dependencies. +- Convert docs to UTF-8. + +* Fri Apr 7 2005 Michael Schwendt - 0.4.1-5 +- rebuilt + +* Fri Feb 25 2005 Ville Skyttä - 0.4.1-4 +- Drop Epoch: 0. +- Improve summary. +- Build with dependency tracking disabled. + +* Thu Jul 1 2004 Ville Skyttä - 0:0.4.1-0.fdr.3 +- Restart pcscd in post(un)install phase if it's available and running. + +* Thu May 13 2004 Ville Skyttä - 0:0.4.1-0.fdr.2 +- Provide pcsc-ifd-handler (idea from Debian). + +* Sat Feb 14 2004 Ville Skyttä - 0:0.4.1-0.fdr.1 +- Update to 0.4.1. + +* Fri Feb 13 2004 Ville Skyttä - 0:0.4.0-0.fdr.1 +- Update to 0.4.0. + +* Wed Nov 5 2003 Ville Skyttä - 0:0.3.2-0.fdr.1 +- Update to 0.3.2. +- Update URL. + +* Thu Oct 16 2003 Ville Skyttä - 0:0.3.1-0.fdr.1 +- Update to 0.3.1. + +* Wed Sep 10 2003 Ville Skyttä - 0:0.3.0-0.fdr.1 +- Update to 0.3.0. + +* Wed Aug 27 2003 Ville Skyttä - 0:0.2.0-0.fdr.1 +- Update to 0.2.0. + +* Tue Aug 19 2003 Ville Skyttä - 0:0.1.0-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..0d340a9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +858bd7d680cdaf0ac53c70d43974a2df ccid-1.0.1.tar.gz