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