# # spec file for package pcsc-tools # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: pcsc-tools Version: 1.4.24 Release: 0 Summary: PC/SC Tools License: GPL-2.0+ Group: System/Management Url: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ 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 BuildRequires: pcsc-lite-devel BuildRequires: pkgconfig Requires: perl-pcsc 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 %setup -q %patch0 %build make %{?_smp_mflags} OPTFLAGS="%{optflags}" %install make install DESTDIR=%{?buildroot}%{_prefix} %files %defattr(-,root,root) %doc README LICENCE Changelog %{_bindir}/ATR_analysis %{_bindir}/gscriptor %{_bindir}/pcsc_scan %{_bindir}/scriptor %{_datadir}/pcsc/ %{_mandir}/man1/* %changelog