2006-12-14 17:20:47 +01:00
|
|
|
#
|
|
|
|
# spec file for package keyutils (Version 1.2)
|
|
|
|
#
|
2008-04-10 14:21:03 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-14 17:20:47 +01:00
|
|
|
#
|
2008-11-17 17:10:21 +01:00
|
|
|
# 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.
|
|
|
|
|
2006-12-14 17:20:47 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:21:03 +02:00
|
|
|
|
2006-12-14 17:20:47 +01:00
|
|
|
Name: keyutils
|
2008-04-10 14:21:03 +02:00
|
|
|
Url: http://people.redhat.com/~dhowells/keyutils/
|
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2006-12-14 17:20:47 +01:00
|
|
|
Group: System/Kernel
|
2008-04-10 14:21:03 +02:00
|
|
|
AutoReqProv: on
|
2006-12-14 17:20:47 +01:00
|
|
|
Summary: Linux Key Management Utilities
|
|
|
|
Version: 1.2
|
2008-11-28 15:20:18 +01:00
|
|
|
Release: 107
|
2006-12-14 17:20:47 +01:00
|
|
|
Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2
|
2008-11-28 15:20:18 +01:00
|
|
|
Patch0: keyutils-1.2-strict-aliasing-punning.patch
|
|
|
|
Patch1: request-key-cifs.patch
|
2006-12-14 17:20:47 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Howells <dhowells@redhat.com>
|
|
|
|
|
|
|
|
%package libs
|
2008-04-10 14:21:03 +02:00
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2006-12-14 17:20:47 +01:00
|
|
|
Summary: Key utilities library
|
|
|
|
Group: System/Kernel
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
This package provides a wrapper library for the key management facility
|
|
|
|
system calls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Howells <dhowells@redhat.com>
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 14:21:03 +02:00
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2006-12-14 17:20:47 +01:00
|
|
|
Summary: Development package for building linux key management utilities
|
|
|
|
Group: System/Kernel
|
2008-11-17 17:10:21 +01:00
|
|
|
Requires: %{name}-libs = %{version} glibc-devel
|
2006-12-14 17:20:47 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides headers and libraries for building key utilities.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Howells <dhowells@redhat.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-11-28 15:20:18 +01:00
|
|
|
%patch0
|
|
|
|
%patch1
|
2006-12-14 17:20:47 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
make NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib
|
|
|
|
|
2008-11-17 17:10:21 +01:00
|
|
|
%post libs -p /sbin/ldconfig
|
2006-12-14 17:20:47 +01:00
|
|
|
|
2008-11-17 17:10:21 +01:00
|
|
|
%postun libs -p /sbin/ldconfig
|
2006-12-14 17:20:47 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README LICENCE.GPL
|
|
|
|
/sbin/*
|
|
|
|
/bin/*
|
|
|
|
/usr/share/keyutils
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%config(noreplace) /etc/*
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENCE.LGPL
|
|
|
|
/%{_lib}/libkeyutils-*.so
|
|
|
|
/%{_lib}/libkeyutils.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/usr/%{_lib}/libkeyutils.so
|
|
|
|
%{_includedir}/*
|
|
|
|
|
2008-04-10 14:21:03 +02:00
|
|
|
%changelog
|
2008-11-28 15:20:18 +01:00
|
|
|
* Mon Nov 24 2008 meissner@suse.de
|
|
|
|
- added 2 cifs helpers to request-key.conf (for CIFS DFS support)
|
|
|
|
bnc#432494, FATE#303758
|
2008-11-17 17:10:21 +01:00
|
|
|
* Thu Nov 13 2008 crrodriguez@suse.de
|
|
|
|
- build request-key.c with -fno-strict-aliasing to avoid
|
|
|
|
possible breakages
|
2008-04-10 14:21:03 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Thu Dec 14 2006 meissner@suse.de
|
2006-12-14 17:20:47 +01:00
|
|
|
- Upgraded to 1.2.
|
|
|
|
- call ldconfig
|
|
|
|
- removed manpages (now in global man-pages)
|
2008-04-10 14:21:03 +02:00
|
|
|
* Wed Jul 19 2006 meissner@suse.de
|
2006-12-14 17:20:47 +01:00
|
|
|
- Upgraded to 1.1.
|
|
|
|
- cleanups, new manpage.
|
|
|
|
- no static lib anymore (like upstream).
|
2008-04-10 14:21:03 +02:00
|
|
|
* Fri Apr 21 2006 meissner@suse.de
|
2006-12-14 17:20:47 +01:00
|
|
|
- initial import of version 1.0.
|