diff --git a/libkcapi.changes b/libkcapi.changes index a073f6c..8574c34 100644 --- a/libkcapi.changes +++ b/libkcapi.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jun 28 08:03:30 UTC 2017 - jengelh@inai.de + +- Compact descriptions a bit +- Remove libkcapi provide/requires +- Use %_libdir throughout and avoid /lib + ------------------------------------------------------------------- Thu Dec 22 14:03:43 UTC 2016 - abergmann@suse.com diff --git a/libkcapi.spec b/libkcapi.spec index c90a89f..111ca97 100644 --- a/libkcapi.spec +++ b/libkcapi.spec @@ -25,16 +25,32 @@ Group: Productivity/Security Url: http://www.chronox.de/libkcapi.html #Source: https://github.com/smuellerDD/libkcapi/archive/v0.13.0.zip Source: libkcapi-0.13.0.tar.bz2 -# this ensures this kernel is booted actually... as the kernel crypto api is used during. +# this ensures this kernel is booted actually... as the kernel crypto api is used during testing. BuildRequires: kernel-default BuildRequires: docbook-utils xmlto BuildRoot: %{_tmppath}/%{name}-%{version}-build %description +libkcapi exports APIs so that developers need not consider the low-level +Netlink interface handling that is used for accesing the Linux kernel crypto +API. + +%package -n libkcapi0 +Summary: Linux Kernel Crypto API User Space Interface Library +Group: System/Libraries + +%description -n libkcapi0 libkcapi allows user-space to access the Linux kernel crypto API. -libkcapi uses this Netlink interface and exports easy to use APIs so that a -developer does not need to consider the low-level Netlink interface handling. +%package devel +Summary: Linux Kernel Crypto API User Space Interface Library +Group: Development/Languages/C and C++ +Requires: libkcapi0 = %{version} + +%description devel +libkcapi exports APIs so that developers need not consider the low-level +Netlink interface handling that is used for accesing the Linux kernel crypto +API. The library does not implement any cipher algorithms. All consumer requests are sent to the kernel for processing. Results from the kernel crypto API are @@ -43,31 +59,13 @@ returned to the consumer via the library API. The kernel interface and therefore this library can be used by unprivileged processes. -The focus during the development of this library is put on speed. This library -does not perform any memcpy for processing the cryptographic data! The library -uses scatter / gather lists to eliminate the need for moving data around in -memory. - -%package -n libkcapi0 -Summary: Linux Kernel Crypto API User Space Interface Library -Group: System/Libraries -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < %{version}-%{release} - -%description -n libkcapi0 -libkcapi allows user-space to access the Linux kernel crypto API. - -%package devel -Summary: Linux Kernel Crypto API User Space Interface Library -Group: Development/Languages/C and C++ -Requires: libkcapi = %{version} - -%description devel -libkcapi allows user-space to access the Linux kernel crypto API. +This library does not perform any memcpy for processing the cryptographic data! +The library uses scatter / gather lists to eliminate the need for moving data +around in memory. %package tools Summary: Linux Kernel Crypto API User Space Tools -Group: System/Libraries +Group: Development/Tools/Other %description tools libkcapi user space tools to access certain hash algorithms. @@ -84,7 +82,7 @@ make %{?_smp_mflags} %install cd lib -make install maninstall DESTDIR=%{buildroot} %{?_smp_mflags} +make install maninstall DESTDIR=%{buildroot} LIBDIR="%{_libdir}" %{?_smp_mflags} cd ../apps make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/ @@ -95,8 +93,8 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/ %files -n libkcapi0 %defattr(-,root,root) %doc CHANGES COPYING -/%{_lib}/libkcapi.so.0.13.* -/%{_lib}/libkcapi.so.0 +%{_libdir}/libkcapi.so.0.13.* +%{_libdir}/libkcapi.so.0 %files devel %defattr(-,root,root) @@ -105,8 +103,8 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/ %files tools %defattr(-,root,root) -%dir /%{_libdir}/libkcapi -/%{_libdir}/libkcapi/* -/%{_libdir}/libkcapi/.*hmac +%dir %{_libdir}/libkcapi +%{_libdir}/libkcapi/* +%{_libdir}/libkcapi/.*hmac %changelog