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