forked from pool/libdnet
- Reorder bit with spec cleaner
- Make the descriptions bit smaller OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdnet?expand=0&rev=13
This commit is contained in:
parent
fe0c4bd78f
commit
a795ba2637
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 13 13:39:24 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Reorder bit with spec cleaner
|
||||||
|
- Make the descriptions bit smaller
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 13 14:54:56 UTC 2011 - jengelh@medozas.de
|
Sun Nov 13 14:54:56 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
63
libdnet.spec
63
libdnet.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdnet
|
# spec file for package libdnet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,80 +16,57 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: libdnet
|
Name: libdnet
|
||||||
BuildRequires: libtool python-devel
|
|
||||||
License: BSD3c(or similar)
|
|
||||||
Group: Development/Libraries/Other
|
|
||||||
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 2
|
Release: 0
|
||||||
URL: http://code.google.com/p/libdnet/
|
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
Url: http://code.google.com/p/libdnet/
|
||||||
|
Source0: http://libdnet.googlecode.com/files/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: %{name}.patch
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: python-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: http://libdnet.googlecode.com/files/%name-%{version}.tar.bz2
|
|
||||||
Patch0: %name.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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
|
||||||
|
|
||||||
%package -n libdnet1
|
%package -n libdnet1
|
||||||
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
|
||||||
Provides: %{name} = %{version}
|
Group: Development/Libraries/Other
|
||||||
#openSUSE 10.3
|
|
||||||
Obsoletes: %{name} <= 1.11
|
|
||||||
|
|
||||||
%description -n libdnet1
|
%description -n libdnet1
|
||||||
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
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries/Other
|
|
||||||
Summary: Devel files for libdnet
|
Summary: Devel files for libdnet
|
||||||
Requires: libdnet1 = %{version} glibc-devel
|
Group: Development/Libraries/Other
|
||||||
|
Requires: glibc-devel
|
||||||
|
Requires: libdnet1 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
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
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -97,13 +74,13 @@ networking routines, including:
|
|||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ACLOCAL="aclocal -I config" autoreconf -fi
|
ACLOCAL="aclocal -I config" autoreconf -fvi
|
||||||
%configure --disable-static --with-pic
|
%configure --disable-static --with-pic
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/libdnet.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libdnet1 -p /sbin/ldconfig
|
%post -n libdnet1 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user