2024-01-06 04:07:16 +01:00
|
|
|
Name: libdnet
|
2024-01-06 04:07:16 +01:00
|
|
|
Version: 1.14
|
2024-01-06 04:07:16 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Interface to several low-level networking routines
|
|
|
|
Group: Network/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
2024-01-06 04:07:16 +01:00
|
|
|
URL: https://github.com/ofalk/libdnet
|
|
|
|
Source: https://github.com/ofalk/libdnet.git/libdnet-%{version}/libdnet-%{version}.tar.bz2
|
2024-01-06 04:07:16 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
libdnet provides a simplified, portable interface to several low-level networking routines, including:
|
|
|
|
* network address manipulation
|
|
|
|
* kernel arp cache and route table lookup and manipulation
|
|
|
|
* network firewalling (IP filter, ipfw, ipchains, pf, ...)
|
|
|
|
* network interface lookup and manipulation
|
|
|
|
* raw IP packet and Ethernet frame transmission
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libdnet provides a simplified, portable interface to several low-level networking routines.
|
2024-01-06 04:07:16 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: Tools provided with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:07:16 +01:00
|
|
|
|
2024-01-06 04:07:16 +01:00
|
|
|
%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
|
2024-01-06 04:07:16 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:07:16 +01:00
|
|
|
autoreconf -f -i
|
2024-01-06 04:07:16 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2024-01-06 04:07:16 +01:00
|
|
|
|
2024-01-06 04:07:16 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libdnet.so.*
|
2024-01-06 04:07:16 +01:00
|
|
|
%doc LICENSE
|
2024-01-06 04:07:16 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/dnet-config
|
|
|
|
%{_includedir}/dnet.h
|
|
|
|
%{_includedir}/dnet/*.h
|
|
|
|
%{_libdir}/libdnet.a
|
|
|
|
%{_libdir}/libdnet.la
|
|
|
|
%{_libdir}/libdnet.so
|
|
|
|
%{_mandir}/man3/*
|
2024-01-06 04:07:16 +01:00
|
|
|
%doc INSTALL README.md TODO
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/dnet
|
|
|
|
%{_mandir}/man8/*
|
2024-01-06 04:07:16 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:07:16 +01:00
|
|
|
* Wed Mar 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
|
|
|
|
- update to 1.14
|
|
|
|
|
2024-01-06 04:07:16 +01:00
|
|
|
* 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
|
|
|
|
- recreate autotools environment to fix shared library extensions
|
|
|
|
|
|
|
|
* Mon Mar 07 2011 Tiziana Ferro <tiziana.ferro@email.it> 1.11-1mamba
|
|
|
|
- package created by autospec
|