Merge pull request !2 from yu_boyun/master
This commit is contained in:
yu_boyun 2020-08-19 14:07:52 +08:00 committed by Gitee
commit 8387788de2
4 changed files with 19 additions and 8 deletions

Binary file not shown.

BIN
libnet-1.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: libnet
Version: 1.1.6
Release: 17
Version: 1.2
Release: 1
Summary: A C library to help with construction and handling of network packets
License: BSD
URL: http://www.sourceforge.net/projects/libnet-dev/
Source: http://downloads.sourceforge.net/libnet-dev/%{name}-%{version}.tar.gz
BuildRequires: automake autoconf libtool
URL: https://github.com/libnet/libnet/
Source: https://github.com/libnet/libnet/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: automake autoconf libtool doxygen graphviz
%description
Libbet provides a fairly portable framework for network packet
@ -55,21 +55,28 @@ rm -f doc/html/Makefile*
%postun -p /sbin/ldconfig
%files
%doc doc/COPYING
%{_libdir}/%{name}.so.*
%files devel
%doc __dist_sample/sample/
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/%{name}-config
%{_includedir}/%{name}/
%{_includedir}/libnet.h
%files help
%doc README doc/CHANGELOG doc/CONTRIB doc/DESIGN_NOTES doc/MIGRATION
%doc doc/PACKET_BUILDING doc/RAWSOCKET_NON_SEQUITUR doc/TODO doc/html/
%doc README.md ChangeLog.md doc/MIGRATION.md doc/RAWSOCKET.md
%doc doc/html/
%doc %{_docdir}/*
%{_mandir}/man3/%{name}*.3*
%changelog
* Wed Jul 29 2020 Shinwell Hu <micromotive@qq.com> - 1.2-1
- libnet requires doxygen and graphviz to build document
* Tue Jun 02 2020 SimpleUpdate Robot <tc@openeuler.org> - 1.2-0
- Update to version 1.2
* Tue Sep 17 2019 Yiru Wang <wangyiru1@huawei.com> - 1.1.6-17
- Pakcage init

4
libnet.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: libnet/libnet
tag_prefix: v
seperator: .