# # spec file for package ell # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # %define sover 0 Name: ell Version: 0.18 Release: 0 Summary: Wireless setup and cryptography library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: https://01.org/ell #Git-URL: https://git.kernel.org/pub/scm/libs/ell/ell.git/ Source: https://mirrors.kernel.org/pub/linux/libs/ell/%{name}-%{version}.tar.xz Source2: https://mirrors.kernel.org/pub/linux/libs/ell/%{name}-%{version}.tar.sign Source3: %{name}.keyring BuildRequires: gcc-c++ BuildRequires: libtool >= 2.2 BuildRequires: pkgconfig BuildRequires: xz %description The "Embedded Linux Library" implements an API for wireless cryptography actions by using the kernel crypto API. %package -n lib%{name}%{sover} Summary: Wireless setup and cryptography library Group: System/Libraries %description -n lib%{name}%{sover} The "Embedded Linux Library" implements an API for wireless cryptography actions by using the kernel crypto API. %package devel Summary: Development files for the ELL wireless setup/crypto library Group: Development/Libraries/C and C++ Requires: lib%{name}%{sover} = %{version} %description devel The "Embedded Linux Library" implements an API for wireless cryptography actions by using the kernel crypto API. This subpackage contains libraries and header files for developing applications that want to make use of ell. %prep %setup -q %build %configure make %{?_smp_mflags} V=1 %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %check make %{?_smp_mflags} V=1 check || : %post -n lib%{name}%{sover} -p /sbin/ldconfig %postun -n lib%{name}%{sover} -p /sbin/ldconfig %files -n lib%{name}%{sover} %license COPYING %{_libdir}/lib%{name}.so.%{sover}* %files devel %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/*.pc %{_includedir}/%{name}/ %changelog