]>
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 |
32b2347c | 4 | Version: 1.0.3 |
2a758630 | 5 | Release: 2 |
3cf8b18a | 6 | License: GPL v2+ |
6030f84e | 7 | Group: Applications |
063d2584 | 8 | Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/%{name}-%{version}.tar.bz2 |
32b2347c | 9 | # Source0-md5: c1f2028d708e4d4ecbd6d6d647bd938b |
846686ef | 10 | Patch0: %{name}-info.patch |
3cf8b18a | 11 | URL: http://www.gnupg.org/documentation/manuals/dirmngr/ |
f84a0c6a | 12 | BuildRequires: automake |
2a758630 | 13 | BuildRequires: libassuan1-devel >= 1.0.5-2 |
32b2347c | 14 | BuildRequires: libgcrypt-devel >= 1.4.0 |
a7472fbc | 15 | BuildRequires: libgpg-error-devel >= 1.4 |
32b2347c | 16 | BuildRequires: libksba-devel >= 1.0.2 |
29d225dd | 17 | BuildRequires: openldap-devel >= 2.4.6 |
ee66b3b1 | 18 | BuildRequires: pth-devel >= 1.3.7 |
6030f84e | 19 | BuildRequires: texinfo |
32b2347c JB |
20 | Requires: libassuan >= 1:1.0.4 |
21 | Requires: libgcrypt >= 1.4.0 | |
a7472fbc | 22 | Requires: libgpg-error >= 1.4 |
32b2347c | 23 | Requires: libksba >= 1.0.2 |
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 | ||
32b2347c JB |
54 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dirmngr |
55 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
56 | ||
376f2525 JB |
57 | %find_lang %{name} |
58 | ||
6030f84e JB |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
32b2347c | 62 | %post -p /sbin/postshell |
9d29938f | 63 | -/usr/sbin/fix-info-dir -c %{_infodir} |
6030f84e | 64 | |
32b2347c | 65 | %postun -p /sbin/postshell |
9d29938f | 66 | -/usr/sbin/fix-info-dir -c %{_infodir} |
6030f84e | 67 | |
376f2525 | 68 | %files -f %{name}.lang |
6030f84e JB |
69 | %defattr(644,root,root,755) |
70 | %doc ChangeLog NEWS README* | |
71 | %attr(755,root,root) %{_bindir}/dirmngr | |
ee66b3b1 JB |
72 | %attr(755,root,root) %{_bindir}/dirmngr-client |
73 | %attr(755,root,root) %{_libexecdir}/dirmngr_ldap | |
6030f84e | 74 | %{_infodir}/dirmngr.info* |
f6c31e0f JB |
75 | %{_mandir}/man1/dirmngr.1* |
76 | %{_mandir}/man1/dirmngr-client.1* |