forked from pool/libdnet
115 lines
2.4 KiB
RPMSpec
115 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package libdnet (Version 1.11)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: libdnet
|
|
BuildRequires: python-devel
|
|
License: BSD
|
|
Group: Development/Libraries/Other
|
|
Summary: Library for simple, portable interface to low level networking routines
|
|
Version: 1.11
|
|
Release: 1
|
|
URL: http://libdnet.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source0: %name-%{version}.tar.bz2
|
|
Patch0: %name.patch
|
|
|
|
%description
|
|
libdnet provides a simplified, portable interface to several low-level
|
|
networking routines, including:
|
|
|
|
- network address manipulation
|
|
|
|
- kernel arp(4) cache and route(4) table lookup and manipulation
|
|
|
|
- network firewalling (IP filter, ipfw, ipchains, pf, PktFilter,
|
|
...)
|
|
|
|
- network interface lookup and manipulation
|
|
|
|
- IP tunnelling (BSD/Linux tun, Universal TUN/TAP device)
|
|
|
|
- raw IP packet and Ethernet frame transmission
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dug Song <dugsong@monkey.org>
|
|
|
|
%package devel
|
|
Group: Development/Libraries/Other
|
|
Summary: Devel files for libdnet
|
|
Requires: %name = %version
|
|
|
|
%description devel
|
|
libdnet provides a simplified, portable interface to several low-level
|
|
networking routines, including:
|
|
|
|
- network address manipulation
|
|
|
|
- kernel arp(4) cache and route(4) table lookup and manipulation
|
|
|
|
- network firewalling (IP filter, ipfw, ipchains, pf, PktFilter,
|
|
...)
|
|
|
|
- network interface lookup and manipulation
|
|
|
|
- IP tunnelling (BSD/Linux tun, Universal TUN/TAP device)
|
|
|
|
- raw IP packet and Ethernet frame transmission
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dug Song <dugsong@monkey.org>
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0
|
|
|
|
%build
|
|
cp config/*m4 .
|
|
autoreconf -fi
|
|
%configure --disable-static
|
|
make %{?jobs:-j %jobs}
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
/usr/bin/dnet-config
|
|
/usr/include/dnet.h
|
|
/usr/include/dnet
|
|
%_libdir/libdnet.la
|
|
%_libdir/libdnet.so
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc LICENSE README TODO THANKS
|
|
/usr/sbin/dnet
|
|
/usr/share/man/man3/dnet.3.gz
|
|
/usr/share/man/man8/dnet.8.gz
|
|
%_libdir/libdnet.so.1*
|
|
|
|
%changelog -n libdnet
|
|
* Thu Sep 21 2006 - dmueller@suse.de
|
|
- Initial package (1.11)
|