File keyutils.spec of Package keyutils

# spec file for package keyutils (Version 1.2)
# Copyright (c) 2008 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:           keyutils
License:        GPL v2 or later; LGPL v2.1 or later
Group:          System/Kernel
AutoReqProv:    on
Summary:        Linux Key Management Utilities
Version:        1.2
Release:        107
Patch0:         keyutils-1.2-strict-aliasing-punning.patch
Patch1:         request-key-cifs.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Utilities to control the kernel key management facility and to provide
a mechanism by which the kernel can call back to user space to get a
key instantiated.

    David Howells <>

%package libs
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        Key utilities library
Group:          System/Kernel

%description libs
This package provides a wrapper library for the key management facility
system calls.

    David Howells <>

%package devel
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        Development package for building linux key management utilities
Group:          System/Kernel
Requires:       %{name}-libs = %{version} glibc-devel 

%description devel
This package provides headers and libraries for building key utilities.

    David Howells <>

%setup -q


make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib

%post libs -p /sbin/ldconfig 

%postun libs -p /sbin/ldconfig

%config(noreplace) /etc/*

%files libs

%files devel

* Mon Nov 24 2008
- added 2 cifs helpers to request-key.conf (for CIFS DFS support)
  bnc#432494, FATE#303758
* Thu Nov 13 2008
- build request-key.c with -fno-strict-aliasing to avoid
  possible breakages
* Thu Apr 10 2008
- added baselibs.conf file to build xxbit packages
  for multilib support
* Thu Dec 14 2006
- Upgraded to 1.2.
	- call ldconfig
	- removed manpages (now in global man-pages)
* Wed Jul 19 2006
- Upgraded to 1.1.
	- cleanups, new manpage.
- no static lib anymore (like upstream).
* Fri Apr 21 2006
- initial import of version 1.0.
openSUSE Build Service is sponsored by