forked from pool/keyutils
Accepting request 84476 from home:jengelh:bl-new
Implement shlib package (libkeyutils1), cleanup per guidelines OBS-URL: https://build.opensuse.org/request/show/84476 OBS-URL: https://build.opensuse.org/package/show/security/keyutils?expand=0&rev=10
This commit is contained in:
parent
0622a9f21a
commit
56e2b1ea6e
@ -1 +1,5 @@
|
|||||||
keyutils-libs
|
# Change from "<=" to "<" on 1.5
|
||||||
|
libkeyutils1
|
||||||
|
obsoletes "keyutils-libs <= <version>"
|
||||||
|
provides "keyutils-libs = <version>"
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 22 12:41:50 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Implement shlib package (libkeyutils1)
|
||||||
|
- Cleanup per Specfile Guidelines
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 19 13:45:30 CEST 2011 - meissner@suse.de
|
Tue Apr 19 13:45:30 CEST 2011 - meissner@suse.de
|
||||||
|
|
||||||
|
@ -15,11 +15,11 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: keyutils
|
Name: keyutils
|
||||||
Url: http://people.redhat.com/~dhowells/keyutils/
|
%define lname libkeyutils1
|
||||||
|
URL: http://people.redhat.com/~dhowells/keyutils/
|
||||||
License: GPLv2+ ; LGPLv2.1+
|
License: GPLv2+ ; LGPLv2.1+
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -37,56 +37,38 @@ 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
|
a mechanism by which the kernel can call back to user space to get a
|
||||||
key instantiated.
|
key instantiated.
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Howells <dhowells@redhat.com>
|
|
||||||
|
|
||||||
%package libs
|
|
||||||
License: GPLv2+ ; LGPLv2.1+
|
|
||||||
Summary: Key utilities library
|
Summary: Key utilities library
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
|
Obsoletes: keyutils-libs < %version-%release
|
||||||
|
Provides: keyutils-libs = %version-%release
|
||||||
|
|
||||||
%description libs
|
%description -n %lname
|
||||||
This package provides a wrapper library for the key management facility
|
This package provides a wrapper library for the key management facility
|
||||||
system calls.
|
system calls.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Howells <dhowells@redhat.com>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv2+ ; LGPLv2.1+
|
|
||||||
Summary: Development package for building linux key management utilities
|
Summary: Development package for building linux key management utilities
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Requires: %{name}-libs = %{version} glibc-devel
|
Requires: %lname = %version, glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides headers and libraries for building key utilities.
|
This package provides headers and libraries for building key utilities.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Howells <dhowells@redhat.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j%jobs} NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
|
make %{?_smp_mflags} NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib
|
make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -97,7 +79,7 @@ make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_l
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%config(noreplace) /etc/*
|
%config(noreplace) /etc/*
|
||||||
|
|
||||||
%files libs
|
%files -n %lname
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENCE.LGPL
|
%doc LICENCE.LGPL
|
||||||
/%{_lib}/libkeyutils.so.*
|
/%{_lib}/libkeyutils.so.*
|
||||||
|
Loading…
Reference in New Issue
Block a user