File krb5-plugin-preauth-pkinit-nss.spec of Package krb5-plugin-preauth-pkinit-nss

# spec file for package krb5-plugin-preauth-pkinit-nss (Version 0.7.8)
# Copyright (c) 2009 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:           krb5-plugin-preauth-pkinit-nss
Version:        0.7.8
Release:        1
BuildRequires:  keyutils-devel krb5-devel >= 1.6.1 mozilla-nss-devel >= 3.11.2 pkgconfig
Summary:        MIT Kerberos5 Implementation--PKINIT preauth Plugin
License:        LGPL v2.1 or later
Group:          Productivity/Networking/Security
Provides:       pkinit-nss
Obsoletes:      pkinit-nss
Conflicts:      krb5-plugin-preauth-pkinit
Source:         pkinit-nss-%{version}-1.tar.bz2
Patch0:         pkinit-nss-0.6.1-match-default-realms.patch
Patch1:         pkinit-nss-0.7.2-1-documentation.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The pkinit-nss package implements the PKINIT standard for MIT Kerberos.
It does this, using the Mozilla NSS library.

    Nalin Dahyabhai <>

%setup -q -n pkinit-nss-%{version}-1

#autoreconf -i -f
%configure --disable-static --enable-gcc-warnings \
           --with-default-server-nss-dbdir=/var/lib/kerberos/krb5kdc/ \

rm -f $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/preauth/*.{a,la}
# installing docs
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples
cp doc/openssl/ $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/
cp ChangeLog doc/README doc/STANDARDS doc/TODO doc/CONFIGURATION $RPM_BUILD_ROOT/%{_docdir}/%{name}/
cp backport/*.patch $RPM_BUILD_ROOT/%{_docdir}/%{name}/


%dir %{_docdir}/%{name}/examples

openSUSE Build Service is sponsored by