rebuilt in /usr [release 1.1.6-2mamba;Sat May 01 2021]
This commit is contained in:
parent
bf864c8fcb
commit
4c7acc9915
33
libnet.spec
33
libnet.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libnet
|
Name: libnet
|
||||||
Version: 1.1.6
|
Version: 1.1.6
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
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
|
||||||
@ -13,7 +13,6 @@ License: BSD
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets.
|
Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets.
|
||||||
@ -35,12 +34,14 @@ Libnet features portable packet creation interfaces at the IP layer and link lay
|
|||||||
Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written.
|
Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written.
|
||||||
This package contains the static library and headers for development.
|
This package contains the static library and headers for development.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --libdir=/%{_lib} \
|
%configure \
|
||||||
%if "%{_host}" != "%{_build}"
|
%if "%{_host}" != "%{_build}"
|
||||||
ac_libnet_have_pf_packet=yes \
|
ac_libnet_have_pf_packet=yes \
|
||||||
ac_cv_lbl_unaligned_fail=no \
|
ac_cv_lbl_unaligned_fail=no \
|
||||||
@ -50,22 +51,25 @@ ac_cv_libnet_endianess=lil
|
|||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%makeinstall
|
%makeinstall
|
||||||
install -d -m755 $RPM_BUILD_ROOT%{_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 \
|
||||||
$RPM_BUILD_ROOT%{_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
|
||||||
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libnet.so.*
|
%{_libdir}/libnet.so.*
|
||||||
|
%doc doc/COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -77,16 +81,19 @@ test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%{_includedir}/libnet/libnet-macros.h
|
%{_includedir}/libnet/libnet-macros.h
|
||||||
%{_includedir}/libnet/libnet-structures.h
|
%{_includedir}/libnet/libnet-structures.h
|
||||||
%{_includedir}/libnet/libnet-types.h
|
%{_includedir}/libnet/libnet-types.h
|
||||||
/%{_lib}/libnet.so
|
%{_libdir}/libnet.so
|
||||||
/%{_lib}/libnet.la
|
%{_libdir}/libnet.la
|
||||||
/%{_lib}/libnet.a
|
%{_libdir}/libnet.a
|
||||||
%{_mandir}/man3/libnet.3.gz
|
%{_mandir}/man3/libnet.3*
|
||||||
%{_mandir}/man3/libnet*.h.3.gz
|
%{_mandir}/man3/libnet*.h.3*
|
||||||
%doc doc/CHANGELOG doc/CONTRIB doc/COPYING doc/DESIGN_NOTES doc/MIGRATION
|
%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/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR doc/TODO
|
||||||
%doc doc/html/*.html doc/html/doxygen.png
|
%doc doc/html/*.html doc/html/doxygen.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-2mamba
|
||||||
|
- rebuilt in /usr
|
||||||
|
|
||||||
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
|
||||||
- update to 1.1.6
|
- update to 1.1.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user