update to 1.2 [release 1.2-1mamba;Tue Nov 23 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:08:38 +01:00
parent 4c7acc9915
commit 489831fd75

View File

@ -1,13 +1,14 @@
%define pkgver %(echo %version | tr "~" -)
Name: libnet Name: libnet
Version: 1.1.6 Version: 1.2
Release: 2mamba Release: 1mamba
Summary: High-level API to construct and inject network packets Summary: High-level API to construct and inject network packets
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/libnet-dev URL: https://github.com/libnet/libnet
Source: http://downloads.sourceforge.net/project/libnet-dev/libnet-%{version}.tar.gz Source: https://github.com/libnet/libnet/releases/download/v%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-1.1.4-cross_configure_endianess.patch Patch0: %{name}-1.1.4-cross_configure_endianess.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -37,8 +38,7 @@ This package contains the static library and headers for development.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q -n libnet-%{pkgver}
#%patch0 -p1
%build %build
%configure \ %configure \
@ -55,10 +55,10 @@ ac_cv_libnet_endianess=lil
%makeinstall %makeinstall
install -d -m755 %{buildroot}%{_mandir}/man3/ #install -d -m755 %{buildroot}%{_mandir}/man3/
install -m644 doc/man/man3/libnet-functions.h.3 \ #install -m644 doc/man/man3/libnet-functions.h.3 \
%{buildroot}%{_mandir}/man3/libnet.3 # %{buildroot}%{_mandir}/man3/libnet.3
install -D -m755 libnet-config %{buildroot}%{_bindir}/libnet-config #install -D -m755 libnet-config %{buildroot}%{_bindir}/libnet-config
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -69,28 +69,29 @@ install -D -m755 libnet-config %{buildroot}%{_bindir}/libnet-config
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libnet.so.* %{_libdir}/libnet.so.*
%doc doc/COPYING %doc LICENSE
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/libnet-config %{_bindir}/libnet-config
%{_includedir}/libnet.h %{_includedir}/libnet.h
%{_includedir}/libnet/libnet-asn1.h %dir %{_includedir}/libnet
%{_includedir}/libnet/libnet-functions.h %{_includedir}/libnet/libnet-*.h
%{_includedir}/libnet/libnet-headers.h
%{_includedir}/libnet/libnet-macros.h
%{_includedir}/libnet/libnet-structures.h
%{_includedir}/libnet/libnet-types.h
%{_libdir}/libnet.so %{_libdir}/libnet.so
%{_libdir}/libnet.la %{_libdir}/libnet.la
%{_libdir}/libnet.a %{_libdir}/libnet.a
%{_mandir}/man3/libnet.3* %{_mandir}/man3/libnet*.3*
%{_mandir}/man3/libnet*.h.3* %dir %{_docdir}/libnet
%doc doc/CHANGELOG doc/CONTRIB doc/COPYING doc/DESIGN_NOTES doc/MIGRATION %{_docdir}/libnet/*
%doc doc/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR doc/TODO %{_libdir}/pkgconfig/libnet.pc
%doc doc/html/*.html doc/html/doxygen.png
%changelog %changelog
* Tue Nov 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- update to 1.2
* Sat Aug 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2~rc3-1mamba
- update to 1.2~rc3
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-2mamba * Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-2mamba
- rebuilt in /usr - rebuilt in /usr