[packages/lwipv6] - new
qboosh
qboosh at pld-linux.org
Tue Oct 6 17:31:53 CEST 2015
commit f9622b286a9efd0f30f69b6f9a4bd9ccc68e0d53
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 6 17:32:56 2015 +0200
- new
lwipv6-link.patch | 10 ++++++
lwipv6.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
---
diff --git a/lwipv6.spec b/lwipv6.spec
new file mode 100644
index 0000000..345b16e
--- /dev/null
+++ b/lwipv6.spec
@@ -0,0 +1,92 @@
+Summary: LWIPV6a - light weight IP v 6
+Summary(pl.UTF-8): LWIPV6a - lekkie IP v 6
+Name: lwipv6
+Version: 1.5a
+Release: 1
+License: GPL v2+
+Group: Libraries
+Source0: http://downloads.sourceforge.net/view-os/%{name}-%{version}.tar.bz2
+# Source0-md5: d07cbd23feebe0eb749470fe49dd90cb
+Patch0: %{name}-link.patch
+URL: http://wiki.v2.cs.unibo.it/wiki/index.php/LWIPV6
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: libpcap-devel
+BuildRequires: libtool
+BuildRequires: vde2-devel >= 2
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LWIPV6a is a TCP/IP stack, rewritten based on lwIP v1.1.0 (by Adam
+Dunkels).
+
+%description -l pl.UTF-8
+LWIPV6a to stos TCP/IP napisany od nowa na podstawie lwIP (Adama
+Dunkelsa) w wersji 1.1.0.
+
+%package devel
+Summary: Header files for LWIPV6 library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LWIPV6
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for LWIPV6 library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki LWIPV6.
+
+%package static
+Summary: Static LWIPV6 library
+Summary(pl.UTF-8): Statyczna biblioteka LWIPV6
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static LWIPV6 library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka LWIPV6.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README README.LICENSE
+%attr(755,root,root) %{_libdir}/liblwipv6.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/liblwipv6.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%doc LWIPv6_Programming_Guide
+%attr(755,root,root) %{_libdir}/liblwipv6.so
+%{_libdir}/liblwipv6.la
+%{_includedir}/lwipv6.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/liblwipv6.a
diff --git a/lwipv6-link.patch b/lwipv6-link.patch
new file mode 100644
index 0000000..2c49862
--- /dev/null
+++ b/lwipv6-link.patch
@@ -0,0 +1,10 @@
+--- lwipv6-1.5a/lwip-contrib/ports/unix/proj/lib/Makefile.am.orig 2011-12-13 10:25:28.000000000 +0100
++++ lwipv6-1.5a/lwip-contrib/ports/unix/proj/lib/Makefile.am 2015-10-06 16:59:43.019316338 +0200
+@@ -242,6 +242,7 @@
+
+ liblwipv6_la_SOURCES = $(LWIPFILES) $(LWIPHEADERS) sharedlib.c unixlib.c
+ liblwipv6_la_LDFLAGS = -version-number 2:0:0 -Xcompiler -nostartfiles
++liblwip_la_LIBADD = -ldl
+ # liblwip_la_LIBADD = sharedlib.lo unixlib.lo
+
+ include_HEADERS = $(LWIPARCH)/include/lwipv6.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lwipv6.git/commitdiff/f9622b286a9efd0f30f69b6f9a4bd9ccc68e0d53
More information about the pld-cvs-commit
mailing list