]>
Commit | Line | Data |
---|---|---|
6030f84e | 1 | Summary: X509/LDAP certificate and revocation list client |
0e664206 | 2 | Summary(pl.UTF-8): Klient certyfikatów i list anulujących X509/LDAP |
6030f84e | 3 | Name: dirmngr |
3cf8b18a | 4 | Version: 1.0.1 |
77f1e499 | 5 | Release: 1 |
3cf8b18a | 6 | License: GPL v2+ |
6030f84e | 7 | Group: Applications |
063d2584 | 8 | Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/%{name}-%{version}.tar.bz2 |
3cf8b18a | 9 | # Source0-md5: 3b969ee763fa9160319abe3f24b5959d |
846686ef | 10 | Patch0: %{name}-info.patch |
3cf8b18a | 11 | URL: http://www.gnupg.org/documentation/manuals/dirmngr/ |
f84a0c6a | 12 | BuildRequires: automake |
a7472fbc | 13 | BuildRequires: libassuan-devel >= 1:0.9.3 |
5a1984da | 14 | BuildRequires: libgcrypt-devel >= 1.2.0 |
a7472fbc | 15 | BuildRequires: libgpg-error-devel >= 1.4 |
5a1984da | 16 | BuildRequires: libksba-devel >= 1.0.0 |
29d225dd | 17 | BuildRequires: openldap-devel >= 2.4.6 |
ee66b3b1 | 18 | BuildRequires: pth-devel >= 1.3.7 |
6030f84e | 19 | BuildRequires: texinfo |
a7472fbc | 20 | Requires: libassuan >= 1:0.9.3 |
5a1984da | 21 | Requires: libgcrypt >= 1.2.0 |
a7472fbc | 22 | Requires: libgpg-error >= 1.4 |
5a1984da | 23 | Requires: libksba >= 1.0.0 |
6030f84e JB |
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 | ||
e852aaee JR |
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. | |
6030f84e JB |
37 | |
38 | %prep | |
39 | %setup -q | |
40 | %patch0 -p1 | |
6030f84e JB |
41 | |
42 | %build | |
f84a0c6a | 43 | cp -f /usr/share/automake/config.* . |
49e6ecf3 JB |
44 | %configure \ |
45 | --with-ldap=/usr | |
6030f84e JB |
46 | %{__make} |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
376f2525 JB |
54 | %find_lang %{name} |
55 | ||
6030f84e JB |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post | |
60 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
61 | ||
62 | %postun | |
63 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
64 | ||
376f2525 | 65 | %files -f %{name}.lang |
6030f84e JB |
66 | %defattr(644,root,root,755) |
67 | %doc ChangeLog NEWS README* | |
68 | %attr(755,root,root) %{_bindir}/dirmngr | |
ee66b3b1 JB |
69 | %attr(755,root,root) %{_bindir}/dirmngr-client |
70 | %attr(755,root,root) %{_libexecdir}/dirmngr_ldap | |
6030f84e | 71 | %{_infodir}/dirmngr.info* |
f6c31e0f JB |
72 | %{_mandir}/man1/dirmngr.1* |
73 | %{_mandir}/man1/dirmngr-client.1* |