]>
Commit | Line | Data |
---|---|---|
ccd3b206 | 1 | Summary: PKCS#11 implementation of GnuPG Agent using the GnuPG Smart Card Daemon |
c13b9b60 | 2 | Summary(pl.UTF-8): Implementacja PKCS#11 Agenta GnuPG przy użyciu GnuPG Smart Card Daemona |
ccd3b206 | 3 | Name: scute |
44644d81 | 4 | Version: 1.7.0 |
534903ba | 5 | Release: 2 |
ccd3b206 JB |
6 | License: GPL v2+ |
7 | Group: Applications | |
8 | Source0: ftp://ftp.gnupg.org/gcrypt/scute/%{name}-%{version}.tar.bz2 | |
44644d81 | 9 | # Source0-md5: eb0fc903761c63494ef74c1000a349de |
1b25a407 | 10 | Patch0: %{name}-info.patch |
534903ba | 11 | Patch1: %{name}-no-common.patch |
ccd3b206 | 12 | URL: http://www.gnupg.org/ |
30636bc8 JB |
13 | BuildRequires: ImageMagick |
14 | BuildRequires: autoconf >= 2.61 | |
15 | BuildRequires: automake >= 1:1.14 | |
07224069 | 16 | BuildRequires: libassuan-devel >= 1:2.5.0 |
44644d81 | 17 | BuildRequires: libgpg-error-devel >= 1.38 |
1c91085a | 18 | BuildRequires: libtool >= 2:2.2.6 |
1b25a407 | 19 | BuildRequires: texinfo |
30636bc8 JB |
20 | # epstopdf |
21 | BuildRequires: texlive-pdftex | |
1b25a407 | 22 | Requires(post,postun): /sbin/ldconfig |
ccd3b206 | 23 | Requires: gnupg-smime >= 1.9.6 |
07224069 | 24 | Requires: libassuan >= 1:2.5.0 |
44644d81 | 25 | Requires: libgpg-error >= 1.38 |
ccd3b206 JB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | This is a PKCS#11 implementation for the GnuPG Agent using the GnuPG | |
30 | Smart Card Daemon. Currently, only the OpenPGP card is supported. | |
31 | ||
32 | Scute enables you to use your OpenPGP smart card for client | |
33 | authentication with SSL in Mozilla. | |
34 | ||
e7cc8324 JR |
35 | %description -l pl.UTF-8 |
36 | To jest implementacja PKCS#11 Agenta GnuPG przy użyciu GnuPG Smart | |
37 | Card Daemona. Aktualnie obsługiwane są tylko karty OpenPGP. | |
ccd3b206 | 38 | |
e7cc8324 JR |
39 | Scute pozwala używać kart procesorowych OpenPGP do uwierzytelniania |
40 | klientów przy użyciu SSL w Mozilli. | |
ccd3b206 JB |
41 | |
42 | %prep | |
43 | %setup -q | |
44 | %patch0 -p1 | |
534903ba | 45 | %patch1 -p1 |
ccd3b206 JB |
46 | |
47 | %build | |
48 | %{__libtoolize} | |
1c91085a | 49 | %{__aclocal} -I m4 |
ccd3b206 JB |
50 | %{__autoconf} |
51 | %{__autoheader} | |
52 | %{__automake} | |
44644d81 JB |
53 | %configure |
54 | ||
ccd3b206 JB |
55 | %{__make} |
56 | ||
44644d81 JB |
57 | %{__make} -C doc scute.html |
58 | ||
ccd3b206 JB |
59 | %install |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
30636bc8 | 65 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/scute.la |
ccd3b206 JB |
66 | |
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
1b25a407 JB |
70 | %post |
71 | /sbin/ldconfig | |
72 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
73 | ||
74 | %postun | |
75 | /sbin/ldconfig | |
76 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
ccd3b206 JB |
77 | |
78 | %files | |
79 | %defattr(644,root,root,755) | |
44644d81 | 80 | %doc AUTHORS ChangeLog NEWS README TODO doc/{scute.html/*.html,*.png} |
30636bc8 | 81 | %attr(755,root,root) %{_libdir}/scute.so |
1b25a407 | 82 | %{_infodir}/scute.info* |
44644d81 | 83 | %{_mandir}/man7/scute.7* |