]>
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 |
3af367db | 4 | Version: 1.1.1 |
6bd14300 | 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 |
3af367db | 9 | # Source0-md5: f5a40e93bcf07a94522579bfd58a2c96 |
846686ef | 10 | Patch0: %{name}-info.patch |
3af367db | 11 | Patch1: %{name}-am.patch |
3cf8b18a | 12 | URL: http://www.gnupg.org/documentation/manuals/dirmngr/ |
3af367db JB |
13 | BuildRequires: autoconf >= 2.59 |
14 | BuildRequires: automake >= 1:1.9.3 | |
6bd14300 | 15 | BuildRequires: libassuan-devel >= 1:2.0.0 |
32b2347c | 16 | BuildRequires: libgcrypt-devel >= 1.4.0 |
a7472fbc | 17 | BuildRequires: libgpg-error-devel >= 1.4 |
32b2347c | 18 | BuildRequires: libksba-devel >= 1.0.2 |
29d225dd | 19 | BuildRequires: openldap-devel >= 2.4.6 |
ee66b3b1 | 20 | BuildRequires: pth-devel >= 1.3.7 |
6030f84e | 21 | BuildRequires: texinfo |
6bd14300 | 22 | Requires: libassuan >= 1:2.0.0 |
32b2347c | 23 | Requires: libgcrypt >= 1.4.0 |
a7472fbc | 24 | Requires: libgpg-error >= 1.4 |
32b2347c | 25 | Requires: libksba >= 1.0.2 |
6030f84e JB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | DirMngr is a client for managing and downloading certificate | |
30 | revocation lists (CRLs) for X509 certificates and for downloading the | |
31 | certificates themselves. DirMngr is usually invoked by gpgsm and in | |
32 | general not used directly. | |
33 | ||
e852aaee JR |
34 | %description -l pl.UTF-8 |
35 | DirMngr to klient do zarządzania i pobierania list anulujących | |
36 | certyfikaty (CRLs - certificate revocation lists) dla certyfikatów | |
37 | X509 oraz do pobierania samych certyfikatów. DirMngr jest zwykle | |
38 | wywoływany przez gpgsm i nie używany bezpośrednio. | |
6030f84e JB |
39 | |
40 | %prep | |
41 | %setup -q | |
42 | %patch0 -p1 | |
262f9c6a | 43 | %patch1 -p1 |
6030f84e JB |
44 | |
45 | %build | |
262f9c6a | 46 | %{__aclocal} -I m4 |
262f9c6a | 47 | %{__autoconf} |
3af367db JB |
48 | %{__autoheader} |
49 | %{__automake} | |
49e6ecf3 JB |
50 | %configure \ |
51 | --with-ldap=/usr | |
6030f84e JB |
52 | %{__make} |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
32b2347c JB |
60 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dirmngr |
61 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
62 | ||
376f2525 JB |
63 | %find_lang %{name} |
64 | ||
6030f84e JB |
65 | %clean |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
32b2347c | 68 | %post -p /sbin/postshell |
9d29938f | 69 | -/usr/sbin/fix-info-dir -c %{_infodir} |
6030f84e | 70 | |
32b2347c | 71 | %postun -p /sbin/postshell |
9d29938f | 72 | -/usr/sbin/fix-info-dir -c %{_infodir} |
6030f84e | 73 | |
376f2525 | 74 | %files -f %{name}.lang |
6030f84e | 75 | %defattr(644,root,root,755) |
6bd14300 | 76 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
6030f84e | 77 | %attr(755,root,root) %{_bindir}/dirmngr |
ee66b3b1 JB |
78 | %attr(755,root,root) %{_bindir}/dirmngr-client |
79 | %attr(755,root,root) %{_libexecdir}/dirmngr_ldap | |
6030f84e | 80 | %{_infodir}/dirmngr.info* |
f6c31e0f JB |
81 | %{_mandir}/man1/dirmngr.1* |
82 | %{_mandir}/man1/dirmngr-client.1* |