]> git.pld-linux.org Git - packages/dirmngr.git/blob - dirmngr.spec
5ca25dce4bb14a86ea112c02cff9e1244f99033b
[packages/dirmngr.git] / dirmngr.spec
1 Summary:        X509/LDAP certificate and revocation list client
2 Summary(pl.UTF-8):      Klient certyfikatów i list anulujących X509/LDAP
3 Name:           dirmngr
4 Version:        1.1.1
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications
8 Source0:        ftp://ftp.gnupg.org/gcrypt/dirmngr/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f5a40e93bcf07a94522579bfd58a2c96
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-am.patch
12 URL:            http://www.gnupg.org/documentation/manuals/dirmngr/
13 BuildRequires:  autoconf >= 2.59
14 BuildRequires:  automake >= 1:1.9.3
15 BuildRequires:  libassuan-devel >= 1:2.0.0
16 BuildRequires:  libgcrypt-devel >= 1.4.0
17 BuildRequires:  libgpg-error-devel >= 1.4
18 BuildRequires:  libksba-devel >= 1.0.2
19 BuildRequires:  openldap-devel >= 2.4.6
20 BuildRequires:  pth-devel >= 1.3.7
21 BuildRequires:  texinfo
22 Requires:       libassuan >= 1:2.0.0
23 Requires:       libgcrypt >= 1.4.0
24 Requires:       libgpg-error >= 1.4
25 Requires:       libksba >= 1.0.2
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
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.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44
45 %build
46 %{__aclocal} -I m4
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure \
51         --with-ldap=/usr
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dirmngr
61 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/postshell
69 -/usr/sbin/fix-info-dir -c %{_infodir}
70
71 %postun -p /sbin/postshell
72 -/usr/sbin/fix-info-dir -c %{_infodir}
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README THANKS TODO
77 %attr(755,root,root) %{_bindir}/dirmngr
78 %attr(755,root,root) %{_bindir}/dirmngr-client
79 %attr(755,root,root) %{_libexecdir}/dirmngr_ldap
80 %{_infodir}/dirmngr.info*
81 %{_mandir}/man1/dirmngr.1*
82 %{_mandir}/man1/dirmngr-client.1*
This page took 0.059904 seconds and 2 git commands to generate.