From fe305ad4970920b31632120dcff05e0170b09a5698e27248d633309e45165c89 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:21:37 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnet?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + libdnet-1.11.tar.bz2 | 3 ++ libdnet.changes | 5 ++ libdnet.patch | 10 ++++ libdnet.spec | 114 +++++++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 156 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libdnet-1.11.tar.bz2 create mode 100644 libdnet.changes create mode 100644 libdnet.patch create mode 100644 libdnet.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libdnet-1.11.tar.bz2 b/libdnet-1.11.tar.bz2 new file mode 100644 index 0000000..48a9f8d --- /dev/null +++ b/libdnet-1.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:545297e1d028372781b18c46a5963f7cfd2c2cdc2b058fd30c82e57f3c16291f +size 321954 diff --git a/libdnet.changes b/libdnet.changes new file mode 100644 index 0000000..eddb0b6 --- /dev/null +++ b/libdnet.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Sep 21 03:26:32 CEST 2006 - dmueller@suse.de + +- Initial package (1.11) + diff --git a/libdnet.patch b/libdnet.patch new file mode 100644 index 0000000..02f3585 --- /dev/null +++ b/libdnet.patch @@ -0,0 +1,10 @@ +--- configure.in ++++ configure.in +@@ -6,7 +6,6 @@ + dnl $Id: configure.in,v 1.66 2006/01/19 16:39:24 dugsong Exp $ + + AC_INIT(include/dnet.h) +-AC_CONFIG_AUX_DIR(config) + AC_SUBST(ac_aux_dir) + + AM_INIT_AUTOMAKE(libdnet, 1.11) diff --git a/libdnet.spec b/libdnet.spec new file mode 100644 index 0000000..b404415 --- /dev/null +++ b/libdnet.spec @@ -0,0 +1,114 @@ +# +# 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 + +%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 + +%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) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4