]>
Commit | Line | Data |
---|---|---|
1 | Summary: X509/LDAP certificate and revocation list client | |
2 | Summary(pl.UTF-8): Klient certyfikatów i list anulujących X509/LDAP | |
3 | Name: dirmngr | |
4 | Version: 1.0.1 | |
5 | Release: 2 | |
6 | License: GPL v2+ | |
7 | Group: Applications | |
8 | Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 3b969ee763fa9160319abe3f24b5959d | |
10 | Patch0: %{name}-info.patch | |
11 | URL: http://www.gnupg.org/documentation/manuals/dirmngr/ | |
12 | BuildRequires: automake | |
13 | BuildRequires: libassuan-devel >= 1:0.9.3 | |
14 | BuildRequires: libgcrypt-devel >= 1.2.0 | |
15 | BuildRequires: libgpg-error-devel >= 1.4 | |
16 | BuildRequires: libksba-devel >= 1.0.0 | |
17 | BuildRequires: openldap-devel >= 2.4.6 | |
18 | BuildRequires: pth-devel >= 1.3.7 | |
19 | BuildRequires: texinfo | |
20 | Requires: libassuan >= 1:0.9.3 | |
21 | Requires: libgcrypt >= 1.2.0 | |
22 | Requires: libgpg-error >= 1.4 | |
23 | Requires: libksba >= 1.0.0 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | DirMngr is a client for managing and downloading certificate | |
28 | revocation lists (CRLs) for X509 certificates and for downloading the | |
29 | certificates themselves. DirMngr is usually invoked by gpgsm and in | |
30 | general not used directly. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | DirMngr to klient do zarządzania i pobierania list anulujących | |
34 | certyfikaty (CRLs - certificate revocation lists) dla certyfikatów | |
35 | X509 oraz do pobierania samych certyfikatów. DirMngr jest zwykle | |
36 | wywoływany przez gpgsm i nie używany bezpośrednio. | |
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | %patch0 -p1 | |
41 | ||
42 | %build | |
43 | cp -f /usr/share/automake/config.* . | |
44 | %configure \ | |
45 | --with-ldap=/usr | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %find_lang %{name} | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/postshell | |
60 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
61 | ||
62 | %postun -p /sbin/postshell | |
63 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
64 | ||
65 | %files -f %{name}.lang | |
66 | %defattr(644,root,root,755) | |
67 | %doc ChangeLog NEWS README* | |
68 | %attr(755,root,root) %{_bindir}/dirmngr | |
69 | %attr(755,root,root) %{_bindir}/dirmngr-client | |
70 | %attr(755,root,root) %{_libexecdir}/dirmngr_ldap | |
71 | %{_infodir}/dirmngr.info* | |
72 | %{_mandir}/man1/dirmngr.1* | |
73 | %{_mandir}/man1/dirmngr-client.1* |