2011-12-19 10:08:23 +01:00
|
|
|
#
|
2015-08-09 16:07:30 +02:00
|
|
|
# spec file for package pcsc-tools
|
|
|
|
#
|
2020-07-07 21:57:44 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2015-08-09 16:07:30 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-29 22:21:58 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-12-19 10:08:23 +01:00
|
|
|
#
|
2011-05-02 22:35:23 +02:00
|
|
|
|
2015-08-09 16:07:30 +02:00
|
|
|
|
2011-05-02 22:35:23 +02:00
|
|
|
Name: pcsc-tools
|
2020-07-07 21:57:44 +02:00
|
|
|
Version: 1.5.7
|
2015-08-09 16:07:30 +02:00
|
|
|
Release: 0
|
2019-02-06 23:56:29 +01:00
|
|
|
Summary: Smart card tools
|
2018-04-22 12:56:52 +02:00
|
|
|
License: GPL-2.0-or-later AND GPL-3.0-or-later
|
2011-12-19 10:08:23 +01:00
|
|
|
Group: System/Management
|
2020-07-07 21:57:44 +02:00
|
|
|
URL: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
|
2017-06-21 09:07:22 +02:00
|
|
|
Source0: http://ludovic.rousseau.free.fr/softwares/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: http://ludovic.rousseau.free.fr/softwares/%{name}/%{name}-%{version}.tar.bz2.asc
|
2013-10-14 21:26:08 +02:00
|
|
|
Source2: pcsc-tools.keyring
|
2017-06-21 09:07:22 +02:00
|
|
|
Source3: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
|
|
Source4: https://www.gnu.org/licenses/gpl-3.0.txt
|
2015-08-09 16:07:30 +02:00
|
|
|
BuildRequires: pcsc-lite-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
Requires: perl-pcsc
|
2019-08-19 10:16:52 +02:00
|
|
|
Requires: perl(Glib)
|
|
|
|
Requires: perl(Gtk2)
|
2011-12-19 10:08:23 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-02 22:35:23 +02:00
|
|
|
|
|
|
|
%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
|
2017-06-21 09:07:22 +02:00
|
|
|
cp -v %{SOURCE3} %{SOURCE4} .
|
2020-07-07 21:57:44 +02:00
|
|
|
sed 's|#!/usr/bin/env perl|#!/usr/bin/perl|g' -i ATR_analysis gscriptor scriptor
|
2011-05-02 22:35:23 +02:00
|
|
|
|
|
|
|
%build
|
2017-06-21 09:07:22 +02:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
2011-05-02 22:35:23 +02:00
|
|
|
|
|
|
|
%install
|
2017-06-21 09:07:22 +02:00
|
|
|
%make_install
|
2011-05-02 22:35:23 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-06-21 09:07:22 +02:00
|
|
|
%doc README Changelog gpl*
|
2011-05-02 22:35:23 +02:00
|
|
|
%{_bindir}/ATR_analysis
|
|
|
|
%{_bindir}/gscriptor
|
|
|
|
%{_bindir}/pcsc_scan
|
|
|
|
%{_bindir}/scriptor
|
|
|
|
%{_datadir}/pcsc/
|
2015-08-09 16:07:30 +02:00
|
|
|
%{_mandir}/man1/*
|
2011-05-02 22:35:23 +02:00
|
|
|
|
|
|
|
%changelog
|