]> git.pld-linux.org Git - packages/dirmngr.git/blob - dirmngr.spec
- added pl.po patch
[packages/dirmngr.git] / dirmngr.spec
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
4 Name:           dirmngr
5 Version:        1.1.1
6 Release:        5
7 License:        GPL v2+
8 Group:          Applications
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)
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
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.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47 %patch2 -p0
48 %patch3 -p1
49
50 %{__rm} po/stamp-po
51
52 %build
53 %{__aclocal} -I m4
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure \
58         --with-ldap=/usr
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dirmngr
68 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
69
70 %find_lang %{name}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/postshell
76 -/usr/sbin/fix-info-dir -c %{_infodir}
77
78 %postun -p /sbin/postshell
79 -/usr/sbin/fix-info-dir -c %{_infodir}
80
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*
This page took 0.067277 seconds and 4 git commands to generate.