OBS User unknown 2007-10-11 00:03:55 +00:00 committed by Git OBS Bridge
parent fe305ad497
commit 0a6a0ee272
2 changed files with 70 additions and 31 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 9 09:09:20 CEST 2007 - crrodriguez@suse.de
- fix build by adapting to the library packaging policy
- remove useless libtool archive
- correct some minor packaging issues
-------------------------------------------------------------------
Thu Sep 21 03:26:32 CEST 2006 - dmueller@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libdnet (Version 1.11)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 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.
#
@ -12,12 +12,12 @@
Name: libdnet
BuildRequires: python-devel
License: BSD
License: BSD 3-Clause
Group: Development/Libraries/Other
Summary: Library for simple, portable interface to low level networking routines
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
Version: 1.11
Release: 1
URL: http://libdnet.sourceforge.net/
Release: 87
Url: http://libdnet.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%{version}.tar.bz2
Patch0: %name.patch
@ -26,18 +26,48 @@ Patch0: %name.patch
libdnet provides a simplified, portable interface to several low-level
networking routines, including:
- network address manipulation
* network address manipulation
- kernel arp(4) cache and route(4) table lookup and manipulation
* kernel arp(4) cache and route(4) table lookup and manipulation
- network firewalling (IP filter, ipfw, ipchains, pf, PktFilter,
* network firewalling (IP filter, ipfw, ipchains, pf, PktFilter,
...)
- network interface lookup and manipulation
* network interface lookup and manipulation
- IP tunnelling (BSD/Linux tun, Universal TUN/TAP device)
* IP tunnelling (BSD/Linux tun, Universal TUN/TAP device)
- raw IP packet and Ethernet frame transmission
* raw IP packet and Ethernet frame transmission
Authors:
--------
Dug Song <dugsong@monkey.org>
%package -n libdnet1
Group: Development/Libraries/Other
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
Provides: %{name} = %{version}
#openSUSE 10.3
Obsoletes: %{name} <= 1.11
%description -n libdnet1
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
@ -48,7 +78,7 @@ Authors:
%package devel
Group: Development/Libraries/Other
Summary: Devel files for libdnet
Requires: %name = %version
Requires: libdnet1 = %{version} glibc-devel
%description devel
libdnet provides a simplified, portable interface to several low-level
@ -78,37 +108,39 @@ Authors:
%patch0
%build
cp config/*m4 .
autoreconf -fi
%configure --disable-static
ACLOCAL="aclocal -I config" autoreconf -fi
%configure --disable-static --with-pic
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/libdnet.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -n libdnet1 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libdnet1 -p /sbin/ldconfig
%files -n libdnet1
%defattr(-,root,root)
%{_libdir}/libdnet.so.1*
%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
%{_sbindir}/*
%{_bindir}/dnet-config
%{_includedir}/dnet.h
%dir %{_includedir}/dnet
%{_includedir}/dnet/*.h
%{_libdir}/libdnet.so
%{_mandir}/man?/dnet.*.gz
%changelog
* Tue Oct 09 2007 - crrodriguez@suse.de
- fix build by adapting to the library packaging policy
- remove useless libtool archive
- correct some minor packaging issues
* Thu Sep 21 2006 - dmueller@suse.de
- Initial package (1.11)