2016-10-13 10:02:54 +02:00
|
|
|
#
|
|
|
|
# spec file for package ell
|
|
|
|
#
|
2021-01-10 16:04:12 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-04-06 16:50:27 +02:00
|
|
|
%define lname libell0
|
2021-05-12 01:16:50 +02:00
|
|
|
Name: ell
|
|
|
|
Version: 0.40
|
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: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
|
2021-05-12 01:17:07 +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
|
2020-12-23 19:59:02 +01:00
|
|
|
# This project does not implement proper SONAMing, let alone symbol versioning.
|
|
|
|
# Force systems into lockstep updates to remedy this.
|
|
|
|
perl -i -lpe 's{^ELL_0.10}{ELL_%version}' ell/ell.sym
|
|
|
|
|
2016-10-13 10:02:54 +02:00
|
|
|
%configure
|
2020-12-23 19:59:02 +01:00
|
|
|
%make_build
|
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
|
2020-12-23 19:59:02 +01:00
|
|
|
%make_build 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
|