1 Summary: XCardII - graphical smartcard administration tool
2 Summary(pl.UTF-8): XCardII - graficzne narzędzie do administrowania kartami procesorowymi
8 #Source0Download: https://alioth.debian.org/project/showfiles.php?group_id=30112
9 Source0: https://alioth.debian.org/frs/download.php/394/%{name}-%{version}.tar.gz
10 # Source0-md5: 36a521169258a10ef388178284565e65
11 Patch0: %{name}-pcsc.patch
12 URL: http://muscleapps.alioth.debian.org/
13 BuildRequires: libmusclecard-devel >= 1.1.0
14 BuildRequires: pcsc-lite-devel >= 1.6.0
15 BuildRequires: qt-devel >= 3.0
16 Requires: libmusclecard >= 1.1.0
17 Obsoletes: muscleframework-xcard
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 XCardII - graphical smartcard administration tool.
23 %description -l pl.UTF-8
24 XCardII - graficzne narzędzie do administrowania kartami
33 CPP="%{__cxx} %{rpmcxxflags}" \
34 INC="-I/usr/include/qt -I/usr/include/PCSC" \
35 LIBS="%{rpmldflags} -lqt-mt -lmusclecard -lpcsclite -lpthread"
38 rm -rf $RPM_BUILD_ROOT
40 install -D src/xcard $RPM_BUILD_ROOT%{_bindir}/xcard
41 install -D man/xcard.1 $RPM_BUILD_ROOT%{_mandir}/man1/xcard.1
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc COPYING Changelog README
49 %attr(755,root,root) %{_bindir}/xcard
50 %{_mandir}/man1/xcard.1*