forked from pool/keyutils
109 lines
2.4 KiB
RPMSpec
109 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package keyutils (Version 1.2)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: keyutils
|
|
URL: http://people.redhat.com/~dhowells/keyutils/
|
|
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
|
Group: System/Kernel
|
|
Autoreqprov: on
|
|
Summary: Linux Key Management Utilities
|
|
Version: 1.2
|
|
Release: 1
|
|
Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
PreReq: %install_info_prereq
|
|
|
|
%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
|
|
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
|
|
Summary: Development package for building linux key management utilities
|
|
Group: System/Kernel
|
|
|
|
%description devel
|
|
This package provides headers and libraries for building key utilities.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
David Howells <dhowells@redhat.com>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
%install
|
|
make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib
|
|
|
|
%post
|
|
%run_ldconfig
|
|
|
|
%postun
|
|
%run_ldconfig
|
|
|
|
%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}/*
|
|
|
|
%changelog -n keyutils
|
|
* Thu Dec 14 2006 - meissner@suse.de
|
|
- Upgraded to 1.2.
|
|
- call ldconfig
|
|
- removed manpages (now in global man-pages)
|
|
* Wed Jul 19 2006 - meissner@suse.de
|
|
- Upgraded to 1.1.
|
|
- cleanups, new manpage.
|
|
- no static lib anymore (like upstream).
|
|
* Fri Apr 21 2006 - meissner@suse.de
|
|
- initial import of version 1.0.
|