From b4dcf5b4d17bca1b6c04731b369f6900ba1e4301 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:27:59 +0100 Subject: [PATCH] update to 1.0.2 [release 1.0.2-1mamba;Fri Apr 15 2011] --- README.md | 2 ++ pcsclite-driver-acsccid.spec | 56 ++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 pcsclite-driver-acsccid.spec diff --git a/README.md b/README.md index a39f44a..a322fba 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pcsclite-driver-acsccid +PC/SC Driver for ACR38 based smart cart readers. + diff --git a/pcsclite-driver-acsccid.spec b/pcsclite-driver-acsccid.spec new file mode 100644 index 0000000..9292928 --- /dev/null +++ b/pcsclite-driver-acsccid.spec @@ -0,0 +1,56 @@ +Name: pcsclite-driver-acsccid +Version: 1.0.2 +Release: 1mamba +Summary: PC/SC ccid driver for ACS smart cart readers +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.acs.com.hk +Source: http://www.acs.com.hk/drivers/eng/acsccid_src-%{version}-20101217.zip +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpcsclite-devel +BuildRequires: libusb0-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PC/SC Driver for ACR38 based smart cart readers. + +%prep + +%setup -q -c +tar xvf acsccid-%{version}.tar.bz2 + +%build +cd acsccid-%{version} +%configure --enable-udev +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd acsccid-%{version} +%makeinstall +# usbdropdir=%{buildroot}%{_libdir}/pcsc/drivers + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist +%{_libdir}/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so +%{_libdir}/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so.* +%doc acsccid-%{version}/AUTHORS acsccid-%{version}/COPYING acsccid-%{version}/ChangeLog acsccid-%{version}/README + +%changelog +* Fri Apr 15 2011 Silvan Calarco 1.0.2-1mamba +- update to 1.0.2 + +* Thu Jan 28 2010 Silvan Calarco 1710-1mamba +- package created by autospec