added tools and debug subpackages [release 3.5.0-2mamba;Thu Jun 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:11:18 +01:00
parent 7aa1924c53
commit 71d37d5e45

View File

@ -1,13 +1,13 @@
%define uver %(echo %version | tr . _) %define uver %(echo %version | tr . _)
Name: libnl Name: libnl
Version: 3.5.0 Version: 3.5.0
Release: 1mamba Release: 2mamba
Summary: A library for applications dealing with netlink sockets Summary: A library for applications dealing with netlink sockets
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://people.suug.ch/~tgr/libnl/ URL: https://github.com/thom311/libnl/
Source: https://github.com/thom311/libnl/releases/download/libnl%{uver}/libnl-%{version}.tar.gz Source: https://github.com/thom311/libnl/releases/download/libnl%{uver}/libnl-%{version}.tar.gz
Patch0: %{name}-1.1-vlan_include_fix.patch Patch0: %{name}-1.1-vlan_include_fix.patch
Patch1: %{name}-1.1-glibc-2.8.patch Patch1: %{name}-1.1-glibc-2.8.patch
@ -16,7 +16,7 @@ License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description %description
libnl is a library for applications dealing with netlink sockets. libnl is a library for applications dealing with netlink sockets.
@ -32,6 +32,17 @@ 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. 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. This package contains static libraries and header files need for development.
%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
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -59,15 +70,9 @@ chmod 644 ChangeLog COPYING
%dir %{_sysconfdir}/libnl %dir %{_sysconfdir}/libnl
%config %{_sysconfdir}/libnl/classid %config %{_sysconfdir}/libnl/classid
%config %{_sysconfdir}/libnl/pktloc %config %{_sysconfdir}/libnl/pktloc
%{_bindir}/genl-ctrl-list
%{_bindir}/idiag-socket-details
%{_bindir}/nf-*
%{_bindir}/nl-*
%{_libdir}/libnl*.so.* %{_libdir}/libnl*.so.*
%dir %{_libdir}/libnl %dir %{_libdir}/libnl
%{_libdir}/libnl/* %{_libdir}/libnl/*
%{_mandir}/man8/nl-*.8.*
%{_mandir}/man8/genl-ctrl-list.8.*
%doc COPYING %doc COPYING
%files devel %files devel
@ -86,7 +91,19 @@ chmod 644 ChangeLog COPYING
%{_libdir}/pkgconfig/libnl-route-3.0.pc %{_libdir}/pkgconfig/libnl-route-3.0.pc
#%doc ChangeLog #%doc ChangeLog
%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.*
%changelog %changelog
* Thu Jun 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0-2mamba
- added tools and debug subpackages
* Mon Sep 30 2019 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba * Mon Sep 30 2019 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
- automatic version update by autodist - automatic version update by autodist