|
|
5d6e1cb |
Summary: Simple portable interface to lowlevel networking routines
|
|
|
5d6e1cb |
Name: libdnet
|
|
|
5d6e1cb |
License: BSD
|
|
|
89e3aed |
|
|
|
89e3aed |
%global forgeurl https://github.com/ofalk/%{name}
|
|
|
098f3e2 |
Version: 1.18.0
|
|
|
1f5f93c |
%global tag libdnet-%{version}
|
|
|
89e3aed |
%forgemeta
|
|
|
89e3aed |
|
|
|
098f3e2 |
Release: 1%{?dist}
|
|
|
89e3aed |
URL: %{forgeurl}
|
|
|
89e3aed |
Source: %{forgesource}
|
|
|
9075d20 |
|
|
|
a266e36 |
BuildRequires: gcc-c++
|
|
|
a266e36 |
BuildRequires: make
|
|
|
a266e36 |
BuildRequires: autoconf
|
|
|
a266e36 |
BuildRequires: automake
|
|
|
a266e36 |
BuildRequires: libtool
|
|
|
239dfc9 |
BuildRequires: check-devel
|
|
|
72a6949 |
BuildRequires: python3-Cython
|
|
|
f5b69fa |
BuildRequires: python3-setuptools
|
|
|
1911349 |
|
|
|
1911349 |
%description
|
|
|
1911349 |
libdnet provides a simplified, portable interface to several
|
|
|
1911349 |
low-level networking routines, including network address
|
|
|
1911349 |
manipulation, kernel arp(4) cache and route(4) table lookup and
|
|
|
1911349 |
manipulation, network firewalling (IP filter, ipfw, ipchains,
|
|
|
1911349 |
pf, ...), network interface lookup and manipulation, raw IP
|
|
|
1911349 |
packet and Ethernet frame, and data transmission.
|
|
|
1911349 |
|
|
|
1911349 |
%package devel
|
|
|
a266e36 |
Summary: Header files for libdnet library
|
|
|
a266e36 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
1911349 |
|
|
|
1911349 |
%description devel
|
|
|
1911349 |
%{summary}.
|
|
|
1911349 |
|
|
|
1911349 |
%package progs
|
|
|
a266e36 |
Summary: Sample applications to use with libdnet
|
|
|
a266e36 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
1911349 |
|
|
|
1911349 |
%description progs
|
|
|
1911349 |
%{summary}.
|
|
|
1911349 |
|
|
|
a266e36 |
%package -n python%{python3_pkgversion}-libdnet
|
|
|
a266e36 |
%{?python_provide:%python_provide python%{python3_pkgversion}-libdnet}
|
|
|
f5211ec |
# Remove before F30
|
|
|
5d6e1cb |
Provides: %{name}-python = %{version}-%{release}
|
|
|
5d6e1cb |
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
|
|
5d6e1cb |
Obsoletes: %{name}-python < %{version}-%{release}
|
|
|
5d6e1cb |
Summary: Python bindings for libdnet
|
|
|
5d6e1cb |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
a266e36 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
46d9d08 |
|
|
|
a266e36 |
%description -n python%{python3_pkgversion}-libdnet
|
|
|
46d9d08 |
%{summary}.
|
|
|
46d9d08 |
|
|
|
1911349 |
%prep
|
|
|
89e3aed |
%forgeautosetup
|
|
|
1911349 |
|
|
|
1911349 |
%build
|
|
|
72a6949 |
autoreconf -i
|
|
|
f86e6f9 |
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
999d2f0 |
%configure --disable-static
|
|
|
46d9d08 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
46d9d08 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
a266e36 |
%make_build
|
|
|
1911349 |
|
|
|
1911349 |
%install
|
|
|
a266e36 |
%make_install
|
|
|
1911349 |
|
|
|
46d9d08 |
pushd python
|
|
|
224a964 |
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
46d9d08 |
popd
|
|
|
46d9d08 |
|
|
|
1c0ee01 |
%ldconfig_scriptlets
|
|
|
1911349 |
|
|
|
1911349 |
%files
|
|
|
f86e6f9 |
%license LICENSE
|
|
|
224a964 |
%doc THANKS TODO
|
|
|
1911349 |
%{_libdir}/*.so.*
|
|
|
1911349 |
|
|
|
1911349 |
%files devel
|
|
|
1911349 |
%{_bindir}/*
|
|
|
1911349 |
%{_libdir}/*.so
|
|
|
1911349 |
%{_includedir}/*
|
|
|
1911349 |
%{_mandir}/man3/*.3*
|
|
|
1911349 |
|
|
|
1911349 |
%files progs
|
|
|
1911349 |
%{_sbindir}/*
|
|
|
1911349 |
%{_mandir}/man8/*.8*
|
|
|
1911349 |
|
|
|
a266e36 |
%files -n python%{python3_pkgversion}-libdnet
|
|
|
224a964 |
%{python3_sitearch}/*
|
|
|
46d9d08 |
|
|
|
1911349 |
%changelog
|
|
|
098f3e2 |
* Sat Mar 09 2024 Richard W.M. Jones <rjones@redhat.com> - 1.18.0-1
|
|
|
098f3e2 |
- Rebase to 1.18.0 (RHBZ#2268656)
|
|
|
098f3e2 |
|
|
|
d6a7552 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.0-3
|
|
|
d6a7552 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
d6a7552 |
|
|
|
6e379f5 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.0-2
|
|
|
6e379f5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
6e379f5 |
|
|
|
78fe2fc |
* Fri Oct 13 2023 Richard W.M. Jones <rjones@redhat.com> - 1.17.0-1
|
|
|
78fe2fc |
- Rebase to 1.17.0 (RHBZ#2243862)
|
|
|
78fe2fc |
|
|
|
ec9ae7d |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.4-3
|
|
|
ec9ae7d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
ec9ae7d |
|
|
|
1264d91 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.16.4-2
|
|
|
1264d91 |
- Rebuilt for Python 3.12
|
|
|
1264d91 |
|
|
|
92ebb0a |
* Wed Apr 12 2023 Richard W.M. Jones <rjones@redhat.com> - 1.16.4-1
|
|
|
92ebb0a |
- Rebase to 1.16.4 (RHBZ#2185292)
|
|
|
92ebb0a |
|
|
|
8960409 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.3-2
|
|
|
8960409 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
8960409 |
|
|
|
89e3aed |
* Thu Jan 12 2023 Richard W.M. Jones <rjones@redhat.com> - 1.16.3-1
|
|
|
89e3aed |
- Rebase to 1.16.3
|
|
|
89e3aed |
- Use Fedora forge hosting macros.
|
|
|
89e3aed |
|
|
|
0e0ce27 |
* Tue Jan 03 2023 Richard W.M. Jones <rjones@redhat.com> - 1.16.2-1
|
|
|
0e0ce27 |
- Rebase to 1.16.2
|
|
|
0e0ce27 |
- Use setuptools instead of distutils (RHBZ#2154944)
|
|
|
0e0ce27 |
|
|
|
8286917 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-7
|
|
|
8286917 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
8286917 |
|
|
|
ba58482 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.14-6
|
|
|
ba58482 |
- Rebuilt for Python 3.11
|
|
|
ba58482 |
|
|
|
96413fd |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-5
|
|
|
96413fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
96413fd |
|
|
|
c4b7d1f |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-4
|
|
|
c4b7d1f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
c4b7d1f |
|
|
|
024036c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.14-3
|
|
|
024036c |
- Rebuilt for Python 3.10
|
|
|
024036c |
|
|
|
3e860be |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
|
|
|
3e860be |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3e860be |
|
|
|
72a6949 |
* Thu Jan 14 2021 Richard W.M. Jones <rjones@redhat.com> - 1.14-1
|
|
|
72a6949 |
- Rebase to 1.14.
|
|
|
72a6949 |
- Use newer upstream fork at https://github.com/ofalk/libdnet
|
|
|
72a6949 |
- Drop multilib fix now uptream (RHBZ#342001 RHBZ#1915838).
|
|
|
9075d20 |
- Drop unapplied shrext patch, no longer needed.
|
|
|
9075d20 |
|
|
|
9e155a0 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-35
|
|
|
9e155a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
9e155a0 |
|
|
|
bf38a04 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.12-34
|
|
|
bf38a04 |
- Rebuilt for Python 3.9
|
|
|
bf38a04 |
|
|
|
770a59c |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-33
|
|
|
770a59c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
770a59c |
|
|
|
11fc6a8 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12-32
|
|
|
11fc6a8 |
- Rebuilt for Python 3.8
|
|
|
11fc6a8 |
|
|
|
ff080d2 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-31
|
|
|
ff080d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ff080d2 |
|
|
|
a02178f |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-30
|
|
|
a02178f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a02178f |
|
|
|
224a964 |
* Sat Oct 06 2018 Oliver Falk <oliver@linux-kernel.at> - 1.12-29
|
|
|
224a964 |
- Revert - add python subpackage again, but use Python 3 and other upstream
|
|
|
224a964 |
source (github.com/boundary)
|
|
|
224a964 |
|
|
|
1226bed |
* Tue Oct 02 2018 Oliver Falk <oliver@linux-kernel.at> - 1.12-28
|
|
|
1226bed |
- Remove Python subpackage, since no other package seems to require it (BZ1629814)
|
|
|
1226bed |
|
|
|
6140b93 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-27
|
|
|
6140b93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6140b93 |
|
|
|
c517d8c |
* Mon Apr 30 2018 Miro Hrončok <mhroncok@redhat.com> - 1.12-26
|
|
|
c517d8c |
- Update Python macros to new packaging standards
|
|
|
c517d8c |
(See https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build)
|
|
|
c517d8c |
|
|
|
05cfa8f |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-25
|
|
|
05cfa8f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
05cfa8f |
|
|
|
a05cebd |
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.12-24
|
|
|
a05cebd |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
a05cebd |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
a05cebd |
|
|
|
fdcc5f5 |
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.12-23
|
|
|
fdcc5f5 |
- Add Provides for the old name without %%_isa
|
|
|
fdcc5f5 |
|
|
|
f5211ec |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.12-22
|
|
|
f5211ec |
- Python 2 binary package renamed to python2-libdnet
|
|
|
f5211ec |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
f5211ec |
|
|
|
c19acc3 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-21
|
|
|
c19acc3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
c19acc3 |
|
|
|
06738da |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-20
|
|
|
06738da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
06738da |
|
|
|
21ba5f6 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-19
|
|
|
21ba5f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
21ba5f6 |
|
|
|
618d606 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-18
|
|
|
618d606 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
618d606 |
|
|
|
37a6316 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-17
|
|
|
37a6316 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
37a6316 |
|
|
|
17d67e4 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-16
|
|
|
17d67e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
17d67e4 |
|
|
|
ef079ad |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-15
|
|
|
ef079ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
ef079ad |
|
|
|
fbab56f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-14
|
|
|
fbab56f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
fbab56f |
|
|
|
34539be |
* Fri Mar 14 2014 Richard W.M. Jones <rjones@redhat.com> - 1.12-13
|
|
|
34539be |
- Add patch to fix multilib conflicts in dnet-config (RHBZ#342001).
|
|
|
34539be |
- Remove RPM cruft from the spec file.
|
|
|
34539be |
|
|
|
0bff86d |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-12
|
|
|
0bff86d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
0bff86d |
|
|
|
4db22ed |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-11
|
|
|
4db22ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4db22ed |
|
|
|
46d9d08 |
* Sun Dec 30 2012 Oliver Falk <oliver@linux-kernel.at> - 1.12-10
|
|
|
46d9d08 |
- Add python bindings in -python subpackage (BZ#815524)
|
|
|
46d9d08 |
|
|
|
2866a3b |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-9
|
|
|
2866a3b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2866a3b |
|
|
|
503ec16 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-8
|
|
|
503ec16 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
503ec16 |
|
|
|
b169a12 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7
|
|
|
b169a12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b169a12 |
|
|
|
999d2f0 |
* Fri Feb 12 2010 Oliver Falk <oliver@linux-kernel.at> - 1.12-6
|
|
|
999d2f0 |
- Disable build of static libs
|
|
|
999d2f0 |
|
|
|
203d015 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-5
|
|
|
203d015 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
203d015 |
|
|
|
3210a39 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
|
|
|
3210a39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3210a39 |
|
|
|
a35a43e |
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-3
|
|
|
a35a43e |
- Bump-n-build for GCC 4.3
|
|
|
a35a43e |
|
|
|
047d8cf |
* Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-2
|
|
|
047d8cf |
- Rebuild for BuildID
|
|
|
3ae598a |
- Changed license tag to be more conformant
|
|
|
047d8cf |
|
|
|
c0798ee |
* Thu Feb 15 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-1
|
|
|
c0798ee |
- New upstream version
|
|
|
c0798ee |
- New upstream web site (thanks JPO!)
|
|
|
c0798ee |
- Patch for inconsistent shrext variable
|
|
|
c0798ee |
- Minor edits for consistency
|
|
|
c0798ee |
|
|
|
0088808 |
* Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-5
|
|
|
0088808 |
- Converted spec to UTF-8 to fix BZ#222794
|
|
|
0088808 |
|
|
|
ecc2d58 |
* Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-4
|
|
|
c298e23 |
- Bump-n-build
|
|
|
ecc2d58 |
- Reverted to 1.10; 1.11 has some serious issues
|
|
|
3f86d1c |
|
|
|
a266e36 |
* Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> - 1.10-3
|
|
|
e5a0dbc |
- Bump for FC6 rebuild
|
|
|
e5a0dbc |
|
|
|
a266e36 |
* Thu Jul 14 2005 Oliver Falk <oliver@linux-kernel.at> - 1.10-2
|
|
|
0088808 |
- Integrate Josщ's patch after reviewing the pkg.
|
|
|
1911349 |
|
|
|
a266e36 |
* Fri Jul 08 2005 Oliver Falk <oliver@linux-kernel.at> - 1.10-1
|
|
|
1911349 |
- Build for FE
|