2024-01-06 05:11:18 +01:00
|
|
|
%define uver %(echo %version | tr . _)
|
2024-01-06 05:11:18 +01:00
|
|
|
Name: libnl
|
2024-01-06 05:11:20 +01:00
|
|
|
Version: 3.9.0
|
2024-01-06 05:11:19 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:11:18 +01:00
|
|
|
Summary: A library for applications dealing with netlink sockets
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:11:18 +01:00
|
|
|
URL: https://github.com/thom311/libnl/
|
2024-01-06 05:11:18 +01:00
|
|
|
Source: https://github.com/thom311/libnl/releases/download/libnl%{uver}/libnl-%{version}.tar.gz
|
2024-01-06 05:11:18 +01:00
|
|
|
Patch0: %{name}-1.1-vlan_include_fix.patch
|
|
|
|
Patch1: %{name}-1.1-glibc-2.8.patch
|
|
|
|
Patch2: %{name}-1.1-vlan_flags.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:11:18 +01:00
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:11:18 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libnl is a library for applications dealing with netlink sockets.
|
|
|
|
The library provides an interface for raw netlink messaging and various netlink family specific interfaces.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libnl is a library for applications dealing with netlink sockets.
|
|
|
|
The library provides an interface for raw netlink messaging and various netlink family specific interfaces.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
%package tools
|
|
|
|
Group: Network/Libraries
|
|
|
|
Summary: Tools provided with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
libnl is a library for applications dealing with netlink sockets.
|
|
|
|
This package contains the tools provided with %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:11:20 +01:00
|
|
|
#%patch 0 -p1
|
|
|
|
#%patch 2 -p1
|
2024-01-06 05:11:18 +01:00
|
|
|
#fix permissions
|
|
|
|
chmod 644 ChangeLog COPYING
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/libnl
|
|
|
|
%config %{_sysconfdir}/libnl/classid
|
|
|
|
%config %{_sysconfdir}/libnl/pktloc
|
|
|
|
%{_libdir}/libnl*.so.*
|
|
|
|
%dir %{_libdir}/libnl
|
|
|
|
%{_libdir}/libnl/*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libnl*.a
|
|
|
|
%{_libdir}/libnl*.so
|
|
|
|
%dir %{_includedir}/libnl3
|
|
|
|
%{_includedir}/libnl3/*
|
|
|
|
%{_libdir}/pkgconfig/libnl-3.0.pc
|
|
|
|
%{_libdir}/pkgconfig/libnl-cli-3.0.pc
|
|
|
|
%{_libdir}/pkgconfig/libnl-genl-3.0.pc
|
2024-01-06 05:11:18 +01:00
|
|
|
%{_libdir}/pkgconfig/libnl-idiag-3.0.pc
|
|
|
|
%{_libdir}/pkgconfig/libnl-xfrm-3.0.pc
|
2024-01-06 05:11:18 +01:00
|
|
|
%{_libdir}/pkgconfig/libnl-nf-3.0.pc
|
|
|
|
%{_libdir}/pkgconfig/libnl-route-3.0.pc
|
2024-01-06 05:11:18 +01:00
|
|
|
#%doc ChangeLog
|
2024-01-06 05:11:18 +01:00
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/genl-ctrl-list
|
|
|
|
%{_bindir}/idiag-socket-details
|
|
|
|
%{_bindir}/nf-*
|
|
|
|
%{_bindir}/nl-*
|
|
|
|
%{_mandir}/man8/nl-*.8.*
|
|
|
|
%{_mandir}/man8/genl-ctrl-list.8.*
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
%changelog
|
2024-01-06 05:11:20 +01:00
|
|
|
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:20 +01:00
|
|
|
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:19 +01:00
|
|
|
* Fri Jul 08 2022 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:19 +01:00
|
|
|
* Sat Apr 16 2022 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Thu Jun 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0-2mamba
|
|
|
|
- added tools and debug subpackages
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Mon Sep 30 2019 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Thu Jan 12 2017 Automatic Build System <autodist@mambasoft.it> 3.2.29-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Wed Aug 17 2016 Automatic Build System <autodist@mambasoft.it> 3.2.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Sun Mar 20 2016 Automatic Build System <autodist@mambasoft.it> 3.2.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.26-1mamba
|
|
|
|
- update to 3.2.26
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 3.2.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:18 +01:00
|
|
|
* Fri Mar 07 2014 Automatic Build System <autodist@mambasoft.it> 3.2.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 01 2013 Automatic Build System <autodist@mambasoft.it> 3.2.23-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed May 15 2013 Automatic Build System <autodist@mambasoft.it> 3.2.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 18 2013 Automatic Build System <autodist@mambasoft.it> 3.2.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 23 2013 Automatic Build System <autodist@mambasoft.it> 3.2.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 19 2013 Automatic Build System <autodist@mambasoft.it> 3.2.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 13 2013 Automatic Build System <autodist@mambasoft.it> 3.2.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.16-1mamba
|
|
|
|
- update to 3.2.16
|
|
|
|
|
|
|
|
* Sun Nov 25 2012 Automatic Build System <autodist@mambasoft.it> 3.2.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 30 2012 Automatic Build System <autodist@mambasoft.it> 3.2.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 14 2012 Automatic Build System <autodist@mambasoft.it> 3.2.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 3.2.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 03 2011 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
|
|
|
- automatic update to 3.0.3.0 by autodist
|
|
|
|
|
|
|
|
* Fri Apr 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-3mamba
|
|
|
|
- added patches to build with current glibc and kernel headers
|
|
|
|
|
|
|
|
* Mon Aug 25 2008 Aleph0 <aleph0@openmamba.org> 1.1-2mamba
|
|
|
|
- fix wrong file permissions
|
|
|
|
- update dynamic linker cache
|
|
|
|
|
|
|
|
* Sun May 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
|
|
|
|
- update to 1.1
|
|
|
|
|
|
|
|
* Thu Mar 08 2007 Silvan Calarco <silvan.calarco@mambasoft.it> pre6-1qilnx
|
|
|
|
- package created by autospec
|