Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:tools
libnet_1.0.2a
libnet_1.0.2a.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libnet_1.0.2a.spec of Package libnet_1.0.2a
# norootforbuild Name: libnet_1.0.2a Version: 1.0.2a Release: 1.0 License: BSD Group: System/Libraries Url: http://www.packetfactory.net/libnet/ Source: libnet.tar.bz2 Patch0: libnet_1.0.2a-Makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: find Summary: A C Library for Portable Packet Creation %description Libnet is an API to help with the construction and handling of network packets. It provides a portable framework for low-level network packet writing and handling. Libnet includes packet creation at the IP layer and at the link layer as well as a host of supplementary and complementary functionality. Libnet is very useful for writing network tools and network test code. See the man page and sample test code for more detailed information. %package devel Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Summary: A C Library for Portable Packet Creation %description devel Libnet is an API to help with the construction and handling of network packets. It provides a portable framework for low-level network packet writing and handling. Libnet includes packet creation at the IP layer and at the link layer as well as a host of supplementary and complementary functionality. Libnet is very useful for writing network tools and network test code. See the man page and sample test code for more detailed information. %prep %setup -qn Libnet-1.0.2a %patch0 %build export CPPFLAGS=$RPM_OPT_FLAGS %configure --with-pf_packet=yes %__make %{?jobs:-j%jobs} %install %makeinstall find %{buildroot}%{_includedir} -type f -exec %__chmod 0644 {} \; %__chmod 0644 %{buildroot}%{_mandir}/man3/libnet.3* %__chmod 0644 %{buildroot}%{_libdir}/libnet.a %clean test "%{buildroot}" != "/" && %__rm -rf %{buildroot} %files %defattr(-,root,root) %{_libdir}/libnet.a %{_libdir}/libpwrite.a %files devel %defattr(-,root,root) %{_bindir}/libnet-config %{_includedir}/libnet.h %{_includedir}/libnet %{_mandir}/man3/libnet.3.*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor