69 lines
1.7 KiB
RPMSpec
69 lines
1.7 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 1710-1mamba
|
||
|
- package created by autospec
|