File dirmngr.spec of Package dirmngr

# spec file for package dirmngr
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           dirmngr
BuildRequires:  libassuan-devel >= 2.0.0
BuildRequires:  libgpg-error-devel >= 1.4
BuildRequires:  libgcrypt-devel >= 1.4.0
BuildRequires:  libksba-devel >= 1.0.2
%if 0%{?suse_version} >= 1120
BuildRequires:  libpth-devel >= 1.3.7
BuildRequires:  pth >= 1.3.7
BuildRequires:  openldap2-devel
Version:        1.1.0
Release:        7
Requires:       openssl
Summary:        A Client for Managing and Downloading CRLs
License:        GPLv2+
Group:          Productivity/Networking/LDAP/Utilities
Source1:        LICENSE.README
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq
Patch0:         dirmngr-1.0.2-optflags.patch
# From upstream:
Patch1:         dirmngr-GPLv3.patch	
Patch2:         dirmngr-linking.patch

Dirmngr is a client for managing and downloading certificate revocation
lists (CRLs) for X509 certificates and for downloading the certificates

    Marcus Brinkmann  <>
    Steffen Hansen    <>
    Werner Koch       <>
    Bernhard Reiter   <>

%setup -q -n %{name}-%{version}
cp %{S:1} .

%configure \
	--docdir=%{_defaultdocdir}/dirmngr \
make %{?_smp_mflags}

install -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README LICENSE.README %{buildroot}/%{_defaultdocdir}/dirmngr/
%find_lang %{name}

rm -rf %{buildroot}

%install_info --info-dir=%_infodir %_infodir/

%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%files -f %{name}.lang
%doc %{_defaultdocdir}/dirmngr

openSUSE Build Service is sponsored by