1 # NOTE: for dirmngr 2.x see gnupg2.spec
2 Summary: X509/LDAP certificate and revocation list client
3 Summary(pl.UTF-8): Klient certyfikatów i list anulujących X509/LDAP
9 Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/%{name}-%{version}.tar.bz2
10 # Source0-md5: f5a40e93bcf07a94522579bfd58a2c96
11 Patch0: %{name}-info.patch
12 Patch1: %{name}-am.patch
13 Patch2: %{name}-pth.patch
14 Patch3: %{name}-pl.po.patch
15 URL: http://www.gnupg.org/documentation/manuals/dirmngr/
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.9.3
18 BuildRequires: libassuan-devel >= 1:2.0.0
19 BuildRequires: libgcrypt-devel >= 1.4.0
20 BuildRequires: libgpg-error-devel >= 1.4
21 BuildRequires: libksba-devel >= 1.0.2
22 BuildRequires: openldap-devel >= 2.4.6
23 BuildRequires: pth-devel >= 1.3.7
24 BuildRequires: texinfo
25 Requires: libassuan >= 1:2.0.0
26 Requires: libgcrypt >= 1.4.0
27 Requires: libgpg-error >= 1.4
28 Requires: libksba >= 1.0.2
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 DirMngr is a client for managing and downloading certificate
33 revocation lists (CRLs) for X509 certificates and for downloading the
34 certificates themselves. DirMngr is usually invoked by gpgsm and in
35 general not used directly.
37 %description -l pl.UTF-8
38 DirMngr to klient do zarządzania i pobierania list anulujących
39 certyfikaty (CRLs - certificate revocation lists) dla certyfikatów
40 X509 oraz do pobierania samych certyfikatów. DirMngr jest zwykle
41 wywoływany przez gpgsm i nie używany bezpośrednio.
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
67 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dirmngr
68 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/postshell
76 -/usr/sbin/fix-info-dir -c %{_infodir}
78 %postun -p /sbin/postshell
79 -/usr/sbin/fix-info-dir -c %{_infodir}
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS ChangeLog NEWS README THANKS TODO
84 %attr(755,root,root) %{_bindir}/dirmngr
85 %attr(755,root,root) %{_bindir}/dirmngr-client
86 %attr(755,root,root) %{_libexecdir}/dirmngr_ldap
87 %{_infodir}/dirmngr.info*
88 %{_mandir}/man1/dirmngr.1*
89 %{_mandir}/man1/dirmngr-client.1*