]>
Commit | Line | Data |
---|---|---|
16f1eee3 | 1 | # NOTE: for dirmngr 2.x see gnupg2.spec |
6030f84e | 2 | Summary: X509/LDAP certificate and revocation list client |
0e664206 | 3 | Summary(pl.UTF-8): Klient certyfikatów i list anulujących X509/LDAP |
6030f84e | 4 | Name: dirmngr |
3af367db | 5 | Version: 1.1.1 |
91ed8a1a | 6 | Release: 5 |
3cf8b18a | 7 | License: GPL v2+ |
6030f84e | 8 | Group: Applications |
063d2584 | 9 | Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/%{name}-%{version}.tar.bz2 |
3af367db | 10 | # Source0-md5: f5a40e93bcf07a94522579bfd58a2c96 |
846686ef | 11 | Patch0: %{name}-info.patch |
3af367db | 12 | Patch1: %{name}-am.patch |
f0ceae55 | 13 | Patch2: %{name}-pth.patch |
16f1eee3 | 14 | Patch3: %{name}-pl.po.patch |
3cf8b18a | 15 | URL: http://www.gnupg.org/documentation/manuals/dirmngr/ |
3af367db JB |
16 | BuildRequires: autoconf >= 2.59 |
17 | BuildRequires: automake >= 1:1.9.3 | |
6bd14300 | 18 | BuildRequires: libassuan-devel >= 1:2.0.0 |
32b2347c | 19 | BuildRequires: libgcrypt-devel >= 1.4.0 |
a7472fbc | 20 | BuildRequires: libgpg-error-devel >= 1.4 |
32b2347c | 21 | BuildRequires: libksba-devel >= 1.0.2 |
29d225dd | 22 | BuildRequires: openldap-devel >= 2.4.6 |
ee66b3b1 | 23 | BuildRequires: pth-devel >= 1.3.7 |
6030f84e | 24 | BuildRequires: texinfo |
6bd14300 | 25 | Requires: libassuan >= 1:2.0.0 |
32b2347c | 26 | Requires: libgcrypt >= 1.4.0 |
a7472fbc | 27 | Requires: libgpg-error >= 1.4 |
32b2347c | 28 | Requires: libksba >= 1.0.2 |
6030f84e JB |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
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. | |
36 | ||
e852aaee JR |
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. | |
6030f84e JB |
42 | |
43 | %prep | |
44 | %setup -q | |
45 | %patch0 -p1 | |
262f9c6a | 46 | %patch1 -p1 |
f0ceae55 | 47 | %patch2 -p0 |
16f1eee3 JB |
48 | %patch3 -p1 |
49 | ||
50 | %{__rm} po/stamp-po | |
6030f84e JB |
51 | |
52 | %build | |
262f9c6a | 53 | %{__aclocal} -I m4 |
262f9c6a | 54 | %{__autoconf} |
3af367db JB |
55 | %{__autoheader} |
56 | %{__automake} | |
49e6ecf3 JB |
57 | %configure \ |
58 | --with-ldap=/usr | |
6030f84e JB |
59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
32b2347c JB |
67 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dirmngr |
68 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
69 | ||
376f2525 JB |
70 | %find_lang %{name} |
71 | ||
6030f84e JB |
72 | %clean |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
32b2347c | 75 | %post -p /sbin/postshell |
9d29938f | 76 | -/usr/sbin/fix-info-dir -c %{_infodir} |
6030f84e | 77 | |
32b2347c | 78 | %postun -p /sbin/postshell |
9d29938f | 79 | -/usr/sbin/fix-info-dir -c %{_infodir} |
6030f84e | 80 | |
376f2525 | 81 | %files -f %{name}.lang |
6030f84e | 82 | %defattr(644,root,root,755) |
6bd14300 | 83 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
6030f84e | 84 | %attr(755,root,root) %{_bindir}/dirmngr |
ee66b3b1 JB |
85 | %attr(755,root,root) %{_bindir}/dirmngr-client |
86 | %attr(755,root,root) %{_libexecdir}/dirmngr_ldap | |
6030f84e | 87 | %{_infodir}/dirmngr.info* |
f6c31e0f JB |
88 | %{_mandir}/man1/dirmngr.1* |
89 | %{_mandir}/man1/dirmngr-client.1* |