3 %bcond_without static_libs # static library
5 Summary: Embedded Linux Library
6 Summary(pl.UTF-8): Embedded Linux Library - biblioteka osadzonego Linuksa
12 Source0: https://www.kernel.org/pub/linux/libs/ell/%{name}-%{version}.tar.xz
13 # Source0-md5: 5da1cce0462e285beea534cffffd6bd1
14 URL: https://git.kernel.org/pub/scm/libs/ell/ell.git/
15 BuildRequires: autoconf >= 2.60
16 BuildRequires: automake
17 BuildRequires: libtool >= 2:2.2
18 BuildRequires: tar >= 1:1.22
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Embedded Linux Library.
25 %description -l pl.UTF-8
26 Embedded Linux Library - biblioteka osadzonego Linuksa.
29 Summary: Header files for ELL library
30 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ELL
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Header files for ELL library.
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki ELL.
41 Summary: Static ELL library
42 Summary(pl.UTF-8): Statyczna biblioteka ELL
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
49 %description static -l pl.UTF-8
50 Statyczna biblioteka ELL.
57 %{__aclocal} -I build-aux
63 --disable-silent-rules \
64 %{?with_static_libs:--enable-static}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
73 # obsoleted by pkg-config
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libell.la
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog README TODO
85 %attr(755,root,root) %{_libdir}/libell.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/libell.so.0
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/libell.so
92 %{_pkgconfigdir}/ell.pc
94 %if %{with static_libs}
96 %defattr(644,root,root,755)