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 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) # 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 # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -12,12 +12,12 @@
Name: libdnet Name: libdnet
BuildRequires: python-devel BuildRequires: python-devel
License: BSD License: BSD 3-Clause
Group: Development/Libraries/Other 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 Version: 1.11
Release: 1 Release: 87
URL: http://libdnet.sourceforge.net/ Url: http://libdnet.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%{version}.tar.bz2 Source0: %name-%{version}.tar.bz2
Patch0: %name.patch Patch0: %name.patch
@ -26,18 +26,48 @@ Patch0: %name.patch
libdnet provides a simplified, portable interface to several low-level libdnet provides a simplified, portable interface to several low-level
networking routines, including: 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 %package devel
Group: Development/Libraries/Other Group: Development/Libraries/Other
Summary: Devel files for libdnet Summary: Devel files for libdnet
Requires: %name = %version Requires: libdnet1 = %{version} glibc-devel
%description devel %description devel
libdnet provides a simplified, portable interface to several low-level libdnet provides a simplified, portable interface to several low-level
@ -78,37 +108,39 @@ Authors:
%patch0 %patch0
%build %build
cp config/*m4 . ACLOCAL="aclocal -I config" autoreconf -fi
autoreconf -fi %configure --disable-static --with-pic
%configure --disable-static
make %{?jobs:-j %jobs} make %{?jobs:-j %jobs}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/libdnet.la
%clean %clean
rm -rf $RPM_BUILD_ROOT 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 %files devel
%defattr(-,root,root) %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 %doc LICENSE README TODO THANKS
/usr/sbin/dnet %{_sbindir}/*
/usr/share/man/man3/dnet.3.gz %{_bindir}/dnet-config
/usr/share/man/man8/dnet.8.gz %{_includedir}/dnet.h
%_libdir/libdnet.so.1* %dir %{_includedir}/dnet
%{_includedir}/dnet/*.h
%changelog -n libdnet %{_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 * Thu Sep 21 2006 - dmueller@suse.de
- Initial package (1.11) - Initial package (1.11)