diff --git a/README.md b/README.md index ffab3c8..4f37f84 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pcsclite-driver-acr38 +PC/SC Driver for ACR38 based smart cart readers. + diff --git a/pcsclite-driver-acr38.spec b/pcsclite-driver-acr38.spec new file mode 100644 index 0000000..280c4c3 --- /dev/null +++ b/pcsclite-driver-acr38.spec @@ -0,0 +1,68 @@ +Name: pcsclite-driver-acr38 +Version: 1710 +Release: 1mamba +Summary: PC/SC Driver for ACR38 based 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/ACR38U_driver_Lnx_%{version}_P.tar.gz +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. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +PC/SC Driver for ACR38 based smart cart readers. + +This package contains static libraries and header files need for development. + +%prep + +%setup -q -n ACR38_LINUX_100710_P + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall usbdropdir=%{buildroot}%{_libdir}/pcsc/drivers + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%{_libdir}/pcsc/drivers/ACR38UDriver.bundle/Contents/Info.plist +%{_libdir}/pcsc/drivers/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver +%doc AUTHORS COPYING ChangeLog README + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%{_includedir}/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/libacr38ucontrol.pc + +%changelog +* Thu Jan 28 2010 Silvan Calarco 1710-1mamba +- package created by autospec