ell/ell.spec

87 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ell
#
# Copyright (c) 2020 SUSE LLC
#
# 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/
#
Name: ell
%define lname libell0
Version: 0.28
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: pkg-config
BuildRequires: xz
%description
The "Embedded Linux Library" implements an API for wireless
cryptography actions by using the kernel crypto API.
%package -n %lname
Summary: Wireless setup and cryptography library
Group: System/Libraries
%description -n %lname
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: %lname = %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
%autosetup -p1
%build
%configure
make %{?_smp_mflags} V=1
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
%check
make %{?_smp_mflags} V=1 check || :
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%license COPYING
%_libdir/libell.so.*
%files devel
%_libdir/libell.so
%_libdir/pkgconfig/*.pc
%_includedir/ell/
%changelog