pcsc-tools/pcsc-tools.spec

43 lines
940 B
RPMSpec

Name: pcsc-tools
Version: 1.4.17
Release: 1
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/Management
Summary: PC/SC tools
Url: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
Source0: http://ludovic.rousseau.free.fr/softwares/%{name}/%{name}-%{version}.tar.bz2
Patch0: optflags.diff
BuildRequires: pkgconfig pcsc-lite-devel
%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 OPTFLAGS="%{optflags}"
%install
make install DESTDIR=%{?buildroot}/usr
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc README LICENCE Changelog
%{_bindir}/ATR_analysis
%{_bindir}/gscriptor
%{_bindir}/pcsc_scan
%{_bindir}/scriptor
%{_datadir}/pcsc/
%doc %{_mandir}/man1/*
%changelog