Name: virtualsmartcard Version: 0.7 Release: 1%{?dist} Summary: Virtual Smart Card License: GPLv3 URL: https://github.com/frankmorgner/vsmartcard/tree/master/%{name} Source0: https://github.com/frankmorgner/vsmartcard/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-0.7-prefix.patch BuildRequires: pcsc-lite-devel BuildRequires: help2man BuildRequires: check BuildRequires: python2-devel BuildRequires: gcc BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %description Virtual Smart Card emulates a smart card and makes it accessible through PC/SC. %prep %setup -q %patch0 -p1 -b .prefix %build autoreconf -vis autoconf %configure make %{?_smp_mflags} %install %make_install %files %license COPYING %doc README %{_bindir}/vicc %{_bindir}/vpcd-config %{python2_sitelib}/%{name}/* %{_mandir}/man1/vicc.1* %{_libdir}/pcsc/drivers/serial/libifdvpcd.so %{_libdir}/pcsc/drivers/serial/libifdvpcd.so.0.7 %config(noreplace) %{_sysconfdir}/reader.conf.d/vpcd %changelog * Tue Jan 29 2019 Jakub Jelen - 0.7-1 - Initial release