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