47 lines
1.3 KiB
RPMSpec
47 lines
1.3 KiB
RPMSpec
Name: libell
|
|
Version: 0.9
|
|
Release: 2
|
|
Summary: Embedded Linux library
|
|
License: LGPLv2+
|
|
URL: https://01.org/ell
|
|
Source0: https://www.kernel.org/pub/linux/libs/ell/ell-%{version}.tar.xz
|
|
Source1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/linux/keyctl.h?h=v4.6#/keyctl.h
|
|
|
|
%description
|
|
The Embedded Linux* Library (ELL) provides core, low-level functionality forsystem daemons. It typically
|
|
has no dependencies other than the Linux kernel, C standard library, and libdl (for dynamic linking).
|
|
While ELL is designed to be efficient and compact enough for use on embedded Linux platforms, it is not
|
|
limited to resource-constrained systems.
|
|
|
|
%package devel
|
|
Summary: Embedded Linux library development files
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Header files for developing %{name}.
|
|
|
|
%prep
|
|
%autosetup -n ell-%{version} -p1
|
|
install -D %{SOURCE1} linux/keyctl.h
|
|
|
|
%build
|
|
%configure
|
|
%make_build V=1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc AUTHORS COPYING README TODO ChangeLog
|
|
%{_libdir}/libell.so.*
|
|
%exclude %{_libdir}/libell.la
|
|
|
|
%files devel
|
|
%{_includedir}/ell
|
|
%{_libdir}/libell.so
|
|
%{_libdir}/pkgconfig/ell.pc
|
|
|
|
%changelog
|
|
* Tue Nov 19 2019 lingsheng <lingsheng@huawei.com> - 0.9-2
|
|
- Package init
|