123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- Summary: C library for portable packet creation and injection
- Name: libnet
- Version: 1.1.2.1
- Release: 2%{?_dist_release}
- License: BSD
- Group: System Environment/Libraries
- URL: http://www.packetfactory.net/libnet/
- Source0: http://www.packetfactory.net/libnet/dist/libnet-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- %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 (use libnet in conjunction with libpcap and you can write some really
- cool stuff). 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 handy with which to write network tools and network test code.
- See the manpage and sample test code for more detailed information.
- %package devel
- Summary: Development files for libnet
- Group: Development/Libraries
- Provides: %{name} = %{version}-%{release}
- %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 (use libnet in conjunction with libpcap and you can write some really
- cool stuff). 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 handy with which to write network tools and network test code.
- See the manpage and sample test code for more detailed information.
- %prep
- %setup -q -n libnet
- sed -i -e 's/\r$//' doc/CHANGELOG doc/CONTRIB
- find . -depth -type d -name CVS -exec rm -rf {} ';'
- rm -rf sample/win32
- rm -f sample/.\#* sample/.*.swp
- %build
- %configure
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make DESTDIR=%{buildroot} install
- install -D --mode=0755 libnet-config %{buildroot}%{_bindir}/libnet-config
- install -d --mode=0755 %{buildroot}%{_mandir}/man3
- install -D --mode=0644 doc/man/man3/libnet*.3 %{buildroot}%{_mandir}/man3/
- make -C sample clean
- %clean
- rm -rf %{buildroot}
- %files devel
- %defattr(-,root,root,-)
- %doc README VERSION
- %doc doc/BUGS doc/CHANGELOG doc/CONTRIB doc/COPYING doc/DESIGN_NOTES
- %doc doc/MIGRATION doc/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR
- %doc doc/TODO doc/html/ sample/
- %{_bindir}/libnet-config
- %{_includedir}/libnet/
- %{_includedir}/libnet.h
- %{_libdir}/libnet.a
- %{_mandir}/man3/libnet*
- %changelog
- * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2.1-2
- - rebuilt with current VineSeed
- * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.2.1-1vl5
- - applied new versioning policy
- * Mon Oct 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2.1-0vl1
- - initial build for Vine Linux based on FE package.
- * Tue Aug 29 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-9
- - rebuild for FC6
- * Fri Feb 17 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-8
- - rebuild for fc5
- * Thu Dec 22 2005 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-7
- - rebuild
- * Mon Sep 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-6
- - bump release and add dist tag
- * Tue Aug 30 2005 Paul Howarth <paul@city-fan.org> 1.1.2.1-5
- - spec file cleanup
- * Fri Aug 26 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-4
- - use pushd and popd (from Oliver Falk)
- * Mon Aug 22 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-3
- - Correct dos end of lines
- - add in devel: Provides: %%{name} = %%{version}-%%{release}
- * Fri Aug 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-2
- - put everything in a devel subpackage
- - add smpflags
- - clean in sample
- * Fri Aug 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-1
- - rebuild changing only name
- * Wed Jun 02 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-2.fc2
- - Rebuild for Fedora Core 2
- * Sat May 08 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-1
- - Initial specfile
|