# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: pcsc-tools %if %suse_version >= 1220 BuildRequires: gpg-offline %endif BuildRequires: pcsc-lite-devel BuildRequires: pkgconfig Requires: perl-pcsc-perl Version: 1.4.22 Release: 1 License: GPL-2.0+ Summary: PC/SC Tools Url: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ Group: System/Management Source0: http://ludovic.rousseau.free.fr/softwares/%{name}/%{name}-%{version}.tar.gz Source1: http://ludovic.rousseau.free.fr/softwares/%{name}/%{name}-%{version}.tar.gz.asc Source2: pcsc-tools.keyring Patch0: optflags.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description These tools are used to test a PC/SC driver, card or reader or send commands in a friendly environment (text or graphical user interface). %prep %if 0%{?gpg_verify:1} %gpg_verify %{S:1} %endif %setup -q %patch0 %build make OPTFLAGS="%{optflags}" %install make install DESTDIR=%{?buildroot}/usr %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README LICENCE Changelog %{_bindir}/ATR_analysis %{_bindir}/gscriptor %{_bindir}/pcsc_scan %{_bindir}/scriptor %{_datadir}/pcsc/ %doc %{_mandir}/man1/* %changelog