[packages/ell] - new

qboosh qboosh at pld-linux.org
Thu Jul 13 19:09:43 CEST 2017


commit fcdae57e979c354fabc5eb10f5db0b1c67126251
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 13 19:11:20 2017 +0200

    - new

 ell-link.patch |  10 ++++++
 ell.spec       | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)
---
diff --git a/ell.spec b/ell.spec
new file mode 100644
index 0000000..f71f6a7
--- /dev/null
+++ b/ell.spec
@@ -0,0 +1,100 @@
+#
+# Conditional build:
+%bcond_without	static_libs	# static library
+#
+Summary:	Embedded Linux Library
+Summary(pl.UTF-8):	Embedded Linux Library - biblioteka osadzonego Linuksa
+Name:		ell
+Version:	0.1
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries
+Source0:	https://www.kernel.org/pub/linux/libs/ell/%{name}-%{version}.tar.xz
+# Source0-md5:	0faccfd3948e4fc9b1a874b3e9d5584b
+Patch0:		%{name}-link.patch
+URL:		https://git.kernel.org/pub/scm/libs/ell/ell.git/
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake
+BuildRequires:	libtool >= 2:2.2
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Embedded Linux Library.
+
+%description -l pl.UTF-8
+Embedded Linux Library - biblioteka osadzonego Linuksa.
+
+%package devel
+Summary:	Header files for ELL library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki ELL
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for ELL library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki ELL.
+
+%package static
+Summary:	Static ELL library
+Summary(pl.UTF-8):	Statyczna biblioteka ELL
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static ELL library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka ELL.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I build-aux
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--enable-pie \
+	--disable-silent-rules \
+	%{?with_static_libs:--enable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libell.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/libell.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libell.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libell.so
+%{_includedir}/ell
+%{_pkgconfigdir}/ell.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libell.a
+%endif
diff --git a/ell-link.patch b/ell-link.patch
new file mode 100644
index 0000000..d6d5720
--- /dev/null
+++ b/ell-link.patch
@@ -0,0 +1,10 @@
+--- ell-0.1/Makefile.am.orig	2017-06-10 15:42:47.000000000 +0200
++++ ell-0.1/Makefile.am	2017-07-13 18:55:15.116423275 +0200
+@@ -90,6 +90,7 @@
+ 			ell/uuid.c \
+ 			ell/key.c
+ 
++ell_libell_la_LIBADD = -ldl
+ ell_libell_la_LDFLAGS = -no-undefined \
+ 			-version-info $(ELL_CURRENT):$(ELL_REVISION):$(ELL_AGE)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ell.git/commitdiff/fcdae57e979c354fabc5eb10f5db0b1c67126251



More information about the pld-cvs-commit mailing list