2016-10-13 10:02:54 +02:00
|
|
|
#
|
|
|
|
# spec file for package ell
|
|
|
|
#
|
2019-02-03 19:16:59 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-10-13 10:02:54 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-11-13 14:05:20 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-10-13 10:02:54 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ell
|
2019-04-06 16:50:27 +02:00
|
|
|
%define lname libell0
|
2019-06-02 15:20:23 +02:00
|
|
|
Version: 0.20
|
2018-11-18 09:29:31 +01:00
|
|
|
Release: 0
|
2016-10-13 10:02:54 +02:00
|
|
|
Summary: Wireless setup and cryptography library
|
2018-06-05 12:33:23 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2016-10-13 10:02:54 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-11-18 09:30:01 +01:00
|
|
|
URL: https://01.org/ell
|
2019-04-06 16:45:13 +02:00
|
|
|
#Git-URL: https://git.kernel.org/pub/scm/libs/ell/ell.git/
|
2019-04-06 16:50:27 +02:00
|
|
|
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
|
2016-10-13 10:02:54 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool >= 2.2
|
2019-04-06 16:50:27 +02:00
|
|
|
BuildRequires: pkg-config
|
2016-10-13 10:02:54 +02:00
|
|
|
BuildRequires: xz
|
|
|
|
|
|
|
|
%description
|
|
|
|
The "Embedded Linux Library" implements an API for wireless
|
|
|
|
cryptography actions by using the kernel crypto API.
|
|
|
|
|
2019-04-06 16:50:27 +02:00
|
|
|
%package -n %lname
|
2016-10-13 10:02:54 +02:00
|
|
|
Summary: Wireless setup and cryptography library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-04-06 16:50:27 +02:00
|
|
|
%description -n %lname
|
2016-10-13 10:02:54 +02:00
|
|
|
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++
|
2019-04-06 16:50:27 +02:00
|
|
|
Requires: %lname = %version
|
2016-10-13 10:02:54 +02:00
|
|
|
|
|
|
|
%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
|
2019-04-06 16:50:27 +02:00
|
|
|
%autosetup -p1
|
2016-10-13 10:02:54 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2019-04-06 16:45:13 +02:00
|
|
|
make %{?_smp_mflags} V=1
|
2016-10-13 10:02:54 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2019-04-06 16:50:27 +02:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2016-10-13 10:02:54 +02:00
|
|
|
|
|
|
|
%check
|
2019-04-06 16:45:13 +02:00
|
|
|
make %{?_smp_mflags} V=1 check || :
|
2016-10-13 10:02:54 +02:00
|
|
|
|
2019-04-06 16:50:27 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2016-10-13 10:02:54 +02:00
|
|
|
|
2019-04-06 16:50:27 +02:00
|
|
|
%files -n %lname
|
2019-04-06 16:45:13 +02:00
|
|
|
%license COPYING
|
2019-04-06 16:50:27 +02:00
|
|
|
%_libdir/libell.so.*
|
2016-10-13 10:02:54 +02:00
|
|
|
|
|
|
|
%files devel
|
2019-04-06 16:50:27 +02:00
|
|
|
%_libdir/libell.so
|
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
%_includedir/ell/
|
2016-10-13 10:02:54 +02:00
|
|
|
|
|
|
|
%changelog
|