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