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