]> git.pld-linux.org Git - packages/XCardII.git/blob - XCardII.spec
- download URL
[packages/XCardII.git] / XCardII.spec
1 Summary:        XCardII - graphical smartcard administration tool
2 Summary(pl.UTF-8):      XCardII - graficzne narzędzie do administrowania kartami procesorowymi
3 Name:           XCardII
4 Version:        0.9.9
5 Release:        1
6 License:        BSD
7 Group:          Applications
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)
19
20 %description
21 XCardII - graphical smartcard administration tool.
22
23 %description -l pl.UTF-8
24 XCardII - graficzne narzędzie do administrowania kartami
25 procesorowymi.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %{__make} -C src \
33         CPP="%{__cxx} %{rpmcxxflags}" \
34         INC="-I/usr/include/qt -I/usr/include/PCSC" \
35         LIBS="%{rpmldflags} -lqt-mt -lmusclecard -lpcsclite -lpthread"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 install -D src/xcard $RPM_BUILD_ROOT%{_bindir}/xcard
41 install -D man/xcard.1 $RPM_BUILD_ROOT%{_mandir}/man1/xcard.1
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc COPYING Changelog README
49 %attr(755,root,root) %{_bindir}/xcard
50 %{_mandir}/man1/xcard.1*
This page took 0.091435 seconds and 3 git commands to generate.