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: 9eb1774f33fc2a50658147eaf09ab1b4
14 Patch0: %{name}-link.patch
15 URL: https://git.kernel.org/pub/scm/libs/ell/ell.git/
16 BuildRequires: autoconf >= 2.60
17 BuildRequires: automake
18 BuildRequires: libtool >= 2:2.2
19 BuildRequires: tar >= 1:1.22
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Embedded Linux Library.
26 %description -l pl.UTF-8
27 Embedded Linux Library - biblioteka osadzonego Linuksa.
30 Summary: Header files for ELL library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ELL
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for ELL library.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki ELL.
42 Summary: Static ELL library
43 Summary(pl.UTF-8): Statyczna biblioteka ELL
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
50 %description static -l pl.UTF-8
51 Statyczna biblioteka ELL.
59 %{__aclocal} -I build-aux
65 --disable-silent-rules \
66 %{?with_static_libs:--enable-static}
70 rm -rf $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT
75 # obsoleted by pkg-config
76 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libell.la
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog README TODO
87 %attr(755,root,root) %{_libdir}/libell.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libell.so.0
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libell.so
94 %{_pkgconfigdir}/ell.pc
96 %if %{with static_libs}
98 %defattr(644,root,root,755)