added tools and debug subpackages [release 3.5.0-2mamba;Thu Jun 10 2021]
This commit is contained in:
parent
7aa1924c53
commit
71d37d5e45
35
libnl.spec
35
libnl.spec
@ -1,13 +1,13 @@
|
||||
%define uver %(echo %version | tr . _)
|
||||
Name: libnl
|
||||
Version: 3.5.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A library for applications dealing with netlink sockets
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
Patch0: %{name}-1.1-vlan_include_fix.patch
|
||||
Patch1: %{name}-1.1-glibc-2.8.patch
|
||||
@ -16,7 +16,7 @@ License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
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.
|
||||
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
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
@ -59,15 +70,9 @@ chmod 644 ChangeLog COPYING
|
||||
%dir %{_sysconfdir}/libnl
|
||||
%config %{_sysconfdir}/libnl/classid
|
||||
%config %{_sysconfdir}/libnl/pktloc
|
||||
%{_bindir}/genl-ctrl-list
|
||||
%{_bindir}/idiag-socket-details
|
||||
%{_bindir}/nf-*
|
||||
%{_bindir}/nl-*
|
||||
%{_libdir}/libnl*.so.*
|
||||
%dir %{_libdir}/libnl
|
||||
%{_libdir}/libnl/*
|
||||
%{_mandir}/man8/nl-*.8.*
|
||||
%{_mandir}/man8/genl-ctrl-list.8.*
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
@ -86,7 +91,19 @@ chmod 644 ChangeLog COPYING
|
||||
%{_libdir}/pkgconfig/libnl-route-3.0.pc
|
||||
#%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
|
||||
* 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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user