lwip/lwip.spec
peanut_huang 264152aeac remove README
Signed-off-by: peanut_huang <huangliming5@huawei.com>
2020-11-30 14:02:06 +00:00

48 lines
1021 B
RPMSpec

%global debug_package %{nil}
%global __os_install_post %{nil}
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
Name: lwip
Version: 2.1.2
Release: 1
License: BSD
URL: http://savannah.nongnu.org/projects/lwip/
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
Patch0: 0001-add-makefile.patch
BuildRequires: gcc-c++ dos2unix
#Requires:
ExclusiveArch: x86_64 aarch64
%description
lwip is a small independent implementation of the TCP/IP protocol suite.
%prep
%setup -n %{name}-%{version} -q
find %{_builddir}/%{name}-%{version} -type f -exec dos2unix -q {} \;
%patch0 -p1
%build
cd %{_builddir}/%{name}-%{version}/src
%make_build
%install
cd %{_builddir}/%{name}-%{version}/src
%make_install
%files
%defattr(0644,root,root)
%{_includedir}/lwip
%{_libdir}/liblwip.a
%changelog
* Mon Nov 30 2020 peanut_huang<huangliming5@huawei.com> - 2.1.2-1
- remove README
* Mon Nov 30 2020 peanut_huang<huangliming5@huawei.com> - 2.1.2-0
- Init package