]> git.pld-linux.org Git - packages/dirmngr.git/blob - dirmngr.spec
3edc4bc9bab9cea8d8f9164c4d2369dbddcac4ad
[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:        0.5.0
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        ftp://ftp.gnupg.org/gcrypt/alpha/dirmngr/%{name}-%{version}.tar.gz
9 # Source0-md5:  50aef24deaca95258a90da0a8edff5fa
10 Patch0:         %{name}-db4.patch
11 Patch1:         %{name}-info.patch
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake
14 BuildRequires:  db-devel >= 4.0
15 BuildRequires:  libassuan-devel >= 0.6.0
16 BuildRequires:  libgcrypt-devel >= 1.1.90
17 BuildRequires:  libgpg-error >= 0.6
18 BuildRequires:  libksba-devel >= 0.9.0
19 BuildRequires:  openldap-devel
20 BuildRequires:  texinfo
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 DirMngr is a client for managing and downloading certificate
25 revocation lists (CRLs) for X509 certificates and for downloading the
26 certificates themselves. DirMngr is usually invoked by gpgsm and in
27 general not used directly.
28
29 %description -l pl
30 DirMngr to klient do zarz±dzania i pobierania list anuluj±cych
31 certyfikaty (CRLs - certificate revocation lists) dla certyfikatów
32 X509 oraz do pobierania samych certyfikatów. DirMngr jest zwykle
33 wywo³ywany przez gpgsm i nie u¿ywany bezpo¶rednio.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41 %{__aclocal}
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
59
60 %postun
61 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
62
63 %files
64 %defattr(644,root,root,755)
65 %doc ChangeLog NEWS README*
66 %attr(755,root,root) %{_bindir}/dirmngr
67 %{_infodir}/dirmngr.info*
This page took 0.044621 seconds and 2 git commands to generate.