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