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