/
ell.spec
55 lines (44 loc) · 1.29 KB
/
ell.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
%define major 0
%define libname %mklibname %{name} %{major}
%define develname %mklibname %{name} -d
%global optflags %{optflags} -Oz
Summary: Embedded Linux library
Name: ell
Version: 0.63
Release: 1
License: LGPLv2+
Group: System/Libraries
URL: https://01.org/ell
Source0: https://www.kernel.org/pub/linux/libs/ell/ell-%{version}.tar.xz
%description
The Embedded Linux* Library (ELL) provides core, low-level functionality for
system 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 -n %{libname}
Summary: %{summary}
Group: System/Libraries
%description -n %{libname}
%{description}
%package -n %{develname}
Summary: Embedded Linux library development files
Group: Development/C
Requires: %{libname} = %{EVRD}
%description -n %{develname}
Headers for developing against libell.
%prep
%autosetup -p1
%build
%configure
%make_build LDFLAGS="%{build_ldflags} -ldl"
%install
%make_install
%files -n %{libname}
%{_libdir}/libell.so.%{major}*
%files -n %{develname}
%license COPYING
%doc AUTHORS README TODO ChangeLog
%{_includedir}/ell
%{_libdir}/libell.so
%{_libdir}/pkgconfig/ell.pc