]> git.pld-linux.org Git - packages/ell.git/blame - ell.spec
up to 0.50
[packages/ell.git] / ell.spec
CommitLineData
fcdae57e
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library
4#
5Summary: Embedded Linux Library
6Summary(pl.UTF-8): Embedded Linux Library - biblioteka osadzonego Linuksa
7Name: ell
6e02f983 8Version: 0.50
fcdae57e
JB
9Release: 1
10License: LGPL v2.1+
11Group: Libraries
12Source0: https://www.kernel.org/pub/linux/libs/ell/%{name}-%{version}.tar.xz
6e02f983 13# Source0-md5: 88461c9572dd4fab7f040a14fdf94a5d
fcdae57e 14URL: https://git.kernel.org/pub/scm/libs/ell/ell.git/
6e02f983 15BuildRequires: autoconf >= 2.69
fcdae57e
JB
16BuildRequires: automake
17BuildRequires: libtool >= 2:2.2
18BuildRequires: tar >= 1:1.22
19BuildRequires: xz
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Embedded Linux Library.
24
25%description -l pl.UTF-8
26Embedded Linux Library - biblioteka osadzonego Linuksa.
27
28%package devel
29Summary: Header files for ELL library
30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ELL
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33
34%description devel
35Header files for ELL library.
36
37%description devel -l pl.UTF-8
38Pliki nagłówkowe biblioteki ELL.
39
40%package static
41Summary: Static ELL library
42Summary(pl.UTF-8): Statyczna biblioteka ELL
43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static ELL library.
48
49%description static -l pl.UTF-8
50Statyczna biblioteka ELL.
51
52%prep
53%setup -q
fcdae57e
JB
54
55%build
56%{__libtoolize}
57%{__aclocal} -I build-aux
58%{__autoconf}
59%{__autoheader}
60%{__automake}
61%configure \
62 --enable-pie \
63 --disable-silent-rules \
64 %{?with_static_libs:--enable-static}
65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
72
73# obsoleted by pkg-config
74%{__rm} $RPM_BUILD_ROOT%{_libdir}/libell.la
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
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
87
88%files devel
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_libdir}/libell.so
91%{_includedir}/ell
92%{_pkgconfigdir}/ell.pc
93
94%if %{with static_libs}
95%files static
96%defattr(644,root,root,755)
97%{_libdir}/libell.a
98%endif
This page took 0.114071 seconds and 4 git commands to generate.