pcsclite-driver-acr38/pcsclite-driver-acr38.spec

77 lines
1.9 KiB
RPMSpec
Raw Normal View History

Name: pcsclite-driver-acr38
Version: 1710
Release: 2mamba
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
%ifarch x86_64
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
%endif
%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
%files devel
%defattr(-,root,root)
%dir %{_includedir}
%{_includedir}/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/libacr38ucontrol.pc
%doc ChangeLog README
%changelog
* Mon Dec 29 2014 Automatic Build System <autodist@mambasoft.it> 1710-2mamba
- automatic rebuild by autodist
* Thu Jan 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1710-1mamba
- package created by autospec