pcsclite-driver-acsccid/pcsclite-driver-acsccid.spec

57 lines
1.6 KiB
RPMSpec
Raw Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Thu Jan 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1710-1mamba
- package created by autospec