Compare commits

..

No commits in common. "b3362368c5223669fa5945486c4d4cc7e73e20c8" and "ec103a2d346cc285c741b2e6779313af121d3cd6" have entirely different histories.

3 changed files with 14 additions and 29 deletions

BIN
libnet-1.1.6.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,25 +1,25 @@
Name: libnet
Version: 1.3
Release: 2
Version: 1.1.6
Release: 17
Summary: A C library to help with construction and handling of network packets
License: BSD-2-Clause and BSD-3-Clause
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
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
%description
Libbet provides a fairly portable framework for network packet
construction an injuction.
%package devel
Summary: Development files for the libnet library
Summary: development files are included in this package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains libraries and header files.
%package help
Summary: Documentation files for the libnet library
Summary: help files are included in this package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description help
@ -27,6 +27,8 @@ This package contains help documents.
%prep
%autosetup -p1
autoreconf -if
rm -rf __dist_sample
mkdir __dist_sample
@ -53,38 +55,21 @@ rm -f doc/html/Makefile*
%postun -p /sbin/ldconfig
%files
%license LICENSE
%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.md ChangeLog.md doc/MIGRATION.md doc/RAWSOCKET.md
%doc doc/html/
%doc %{_docdir}/*
%{_mandir}/man1/%{name}*.1*
%doc README doc/CHANGELOG doc/CONTRIB doc/DESIGN_NOTES doc/MIGRATION
%doc doc/PACKET_BUILDING doc/RAWSOCKET_NON_SEQUITUR doc/TODO doc/html/
%{_mandir}/man3/%{name}*.3*
%changelog
* Wed Jun 05 2024 zhangpan <zhangpan103@h-partners.com> - 1.3-2
- delete redundant files
* Wed Dec 27 2023 lvgenggeng <lvgenggeng@uniontech.com> - 1.3-1
- Update to version 1.3
* Fri Aug 05 2022 liukuo <liukuo@kylinos.cn> - 1.2-2
- License compliance rectification
* 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