]>
Commit | Line | Data |
---|---|---|
a0d20333 JB |
1 | Summary: CoolKey PKCS #11 module |
2 | Summary(pl.UTF-8): Moduł PKCS #11 CoolKey | |
3 | Name: coolkey | |
4 | Version: 1.1.0 | |
5 | Release: 1 | |
6 | License: LGPL v2.1 | |
7 | Group: Libraries | |
8 | Source0: http://directory.fedoraproject.org/download/coolkey/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 815a1811a46bf9b8782107c073149cbe | |
10 | Patch0: %{name}-includes.patch | |
11 | Patch1: %{name}-pcsc.patch | |
12 | Patch2: %{name}-sh.patch | |
86fc2f4f | 13 | URL: http://pki.fedoraproject.org/wiki/CoolKey |
a0d20333 JB |
14 | BuildRequires: autoconf >= 2.52 |
15 | BuildRequires: automake | |
16 | BuildRequires: libstdc++-devel | |
17 | BuildRequires: libtool | |
18 | # for obsolete pk11install | |
19 | #BuildRequires: nss-devel | |
20 | BuildRequires: pcsc-lite-devel | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: zlib-devel | |
23 | # dlopened | |
24 | Requires: pcsc-lite-libs | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Linux Driver support for the CoolKey and CAC products. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Wsparcie sterownika linuksowego dla produktów CoolKey oraz CAC. | |
32 | ||
33 | %package devel | |
34 | Summary: Header files for CoolKey Applet library | |
35 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CoolKey Applet | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description devel | |
40 | Header files for CoolKey Applet library. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki nagłówkowe biblioteki CoolKey Applet. | |
44 | ||
45 | %prep | |
46 | %setup -q | |
47 | %patch0 -p1 | |
48 | %patch1 -p1 | |
49 | %patch2 -p1 | |
50 | ||
51 | %build | |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
57 | %configure | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post -p /sbin/ldconfig | |
70 | %postun -p /sbin/ldconfig | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc README | |
75 | %attr(755,root,root) %{_libdir}/libckyapplet.so.*.*.* | |
76 | %attr(755,root,root) %ghost %{_libdir}/libckyapplet.so.1 | |
77 | %attr(755,root,root) %{_libdir}/pkcs11/libcoolkeypk11.so | |
78 | ||
79 | %files devel | |
80 | %defattr(644,root,root,755) | |
81 | %attr(755,root,root) %{_libdir}/libckyapplet.so | |
82 | %{_includedir}/cky_*.h | |
83 | %{_pkgconfigdir}/libckyapplet.pc |