update to 1.14 [release 1.14-1mamba;Wed Mar 24 2021]
This commit is contained in:
parent
008f70ebbc
commit
5ac80fc865
@ -7,4 +7,3 @@ libdnet provides a simplified, portable interface to several low-level networkin
|
||||
* network interface lookup and manipulation
|
||||
* raw IP packet and Ethernet frame transmission
|
||||
|
||||
|
||||
|
48
libdnet.spec
48
libdnet.spec
@ -1,22 +1,17 @@
|
||||
Name: libdnet
|
||||
Version: 1.12
|
||||
Version: 1.14
|
||||
Release: 1mamba
|
||||
Summary: Interface to several low-level networking routines
|
||||
Group: Network/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
||||
URL: http://libdnet.sourceforge.net/
|
||||
#Source: http://easynews.dl.sourceforge.net/sourceforge/libdnet/%{name}-%{version}.tar.gz
|
||||
Source: http://libdnet.googlecode.com/files/libdnet-%{version}.tgz
|
||||
URL: https://github.com/ofalk/libdnet
|
||||
Source: https://github.com/ofalk/libdnet.git/libdnet-%{version}/libdnet-%{version}.tar.bz2
|
||||
License: BSD
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: python-numpy
|
||||
BuildRequires: python-rpm
|
||||
|
||||
%description
|
||||
libdnet provides a simplified, portable interface to several low-level networking routines, including:
|
||||
@ -26,7 +21,6 @@ libdnet provides a simplified, portable interface to several low-level networkin
|
||||
* network interface lookup and manipulation
|
||||
* raw IP packet and Ethernet frame transmission
|
||||
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Static libraries and headers for %{name}
|
||||
@ -34,28 +28,31 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
libdnet provides a simplified, portable interface to several low-level networking routines.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
%package tools
|
||||
Group: System/Tools
|
||||
Summary: Tools provided with %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description tools
|
||||
libdnet provides a simplified, portable interface to several low-level networking routines.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
autoreconf -f -i
|
||||
|
||||
%build
|
||||
libtoolize --automake --copy
|
||||
aclocal -I config
|
||||
autoheader
|
||||
automake --add-missing --copy
|
||||
autoconf
|
||||
%configure
|
||||
# "CFLAGS=-fPIC -g -O2"
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
#ln -s %{_libdir}/libdnet.1 %{buildroot}%{_libdir}/libdnet.so.1
|
||||
#ln -s %{_libdir}/libdnet.1.0.1 %{buildroot}%{_libdir}/libdnet.so.1.0.1
|
||||
#cp %buildroot/%{_libdir}/libdnet %buildroot/%{_libdir}/libdnet.so
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
@ -65,10 +62,8 @@ autoconf
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/dnet
|
||||
%{_libdir}/libdnet.so.*
|
||||
%{_mandir}/man8/*
|
||||
%doc INSTALL README TODO
|
||||
%doc LICENSE
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -79,8 +74,17 @@ autoconf
|
||||
%{_libdir}/libdnet.la
|
||||
%{_libdir}/libdnet.so
|
||||
%{_mandir}/man3/*
|
||||
%doc INSTALL README.md TODO
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/dnet
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
|
||||
- update to 1.14
|
||||
|
||||
* Mon Mar 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12-1mamba
|
||||
- update to 1.12 (download from code.google.com)
|
||||
- libdnet-devel: fix version requirement for libdnet
|
||||
|
Loading…
Reference in New Issue
Block a user