-
Notifications
You must be signed in to change notification settings - Fork 9
/
cackey.spec
55 lines (43 loc) · 1.34 KB
/
cackey.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Summary: PC/SC PKCS#11 Provider for Government Smartcards
Name: cackey
<<<<<<< HEAD
Version: 201207191606
Release: 1
License: Public Domain
Packager: Roy Keene <[email protected]>
=======
Version: @@VERS@@
Release: 1
License: Public Domain
Packager: Roy Keene <[email protected]>
>>>>>>> trunk
URL: https://software.forge.mil/sf/frs/do/listReleases/projects.community_cac/frs.cackey
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Group: System Environment/Libraries
Requires: pcsc-lite
%description
CACKey provides a standard interface (PKCS#11) for smartcards connected to a
PC/SC compliant reader. It performs a similar function to "CoolKey", but
only supports Government Smartcards. It supports all Government Smartcards
that implement the Government Smartcard Interoperability Specification (GSC-IS)
<<<<<<< HEAD
v2.1 or newer.
=======
v2.1 or newer as well as PIV cards that comply with NIST SP 800-73-3.
>>>>>>> trunk
%prep
%setup -q
%build
CFLAGS="%{optflags}" \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
make %{?_smp_mflags}
%install
if [ ! %{buildroot} = "/" ]; then %{__rm} -rf %{buildroot}; fi
make DESTDIR=%{buildroot} install
%clean
if [ ! %{buildroot} = "/" ]; then %{__rm} -rf %{buildroot}; fi
%files
%defattr(-,root,root)
%{_libdir}/libcackey.so
%{_libdir}/libcackey_g.so