100 lines
2.8 KiB
RPMSpec
100 lines
2.8 KiB
RPMSpec
Name: libdnet
|
|
Version: 1.16.2
|
|
Release: 1mamba
|
|
Summary: Interface to several low-level networking routines
|
|
Group: Network/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/ofalk/libdnet
|
|
Source: https://github.com/ofalk/libdnet.git/libdnet-%{version}/libdnet-%{version}.tar.bz2
|
|
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.
|
|
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}
|
|
|
|
%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
|
|
%configure
|
|
|
|
%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.*
|
|
%doc LICENSE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/dnet-config
|
|
%{_includedir}/dnet.h
|
|
%{_includedir}/dnet/*.h
|
|
%{_libdir}/libdnet.a
|
|
%{_libdir}/libdnet.so
|
|
%{_mandir}/man3/*
|
|
%doc INSTALL README.md TODO
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_sbindir}/dnet
|
|
%{_mandir}/man8/*
|
|
|
|
%changelog
|
|
* Fri Jan 06 2023 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
- 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
|