Split documentation into its own subpackage
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=10
This commit is contained in:
parent
ab68bb3350
commit
23f648ea80
@ -42,30 +42,36 @@ Patch10: %name-2.6.29-1-ss-pclose.diff
|
|||||||
Patch13: %name-2.6.29-1-memleak.diff
|
Patch13: %name-2.6.29-1-memleak.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%package -n libnetlink-devel
|
|
||||||
License: GPLv2+
|
|
||||||
Summary: A Higher Level Interface to the Netlink Service
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Provides: libnetlink
|
|
||||||
|
|
||||||
%description -n libnetlink-devel
|
|
||||||
libnetlink provides a higher level interface to rtnetlink(7).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the tools ip, tc, and rtmon needed to use the new
|
This package provides the tools ip, tc, and rtmon needed to use the new
|
||||||
and advanced routing options of the Linux kernel. The SUSE Linux
|
and advanced routing options of the Linux kernel. The SUSE Linux
|
||||||
distribution has used this package for network setup since SuSE Linux
|
distribution has used this package for network setup since SuSE Linux
|
||||||
8.0.
|
8.0.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Alexey Kuznetsov <kuznet at ms2 dot inr dot ac dot ru>
|
Alexey Kuznetsov <kuznet at ms2 dot inr dot ac dot ru>
|
||||||
Stephem Hemminger <shemminger at osdl dot org>
|
Stephem Hemminger <shemminger at osdl dot org>
|
||||||
|
|
||||||
|
%package -n libnetlink-devel
|
||||||
|
Summary: A Higher Level Interface to the Netlink Service
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Provides: libnetlink = %version-%release
|
||||||
|
|
||||||
|
%description -n libnetlink-devel
|
||||||
|
libnetlink provides a higher level interface to rtnetlink(7).
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation to iproute2
|
||||||
|
Group: Documentation
|
||||||
|
%if 0%{?suse_version} >= 1130
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
This package contains the PDF documentation from iproute2,
|
||||||
|
as well as examples and other outdated files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %name-%rversion
|
%setup -q -n %name-%rversion
|
||||||
%patch0
|
%patch0
|
||||||
@ -104,9 +110,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf README.iproute2+tc
|
%doc README* RELNOTES
|
||||||
%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf README
|
|
||||||
%doc RELNOTES ChangeLog examples/ README.decnet ip/ifcfg ip/routef ip/routel
|
|
||||||
/usr/sbin/*
|
/usr/sbin/*
|
||||||
/sbin/*
|
/sbin/*
|
||||||
/bin/ip
|
/bin/ip
|
||||||
@ -121,8 +125,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir /usr/share/tc
|
%dir /usr/share/tc
|
||||||
%attr(644,root,root)/usr/share/tc/*
|
%attr(644,root,root)/usr/share/tc/*
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf
|
||||||
|
%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf
|
||||||
|
%doc ChangeLog examples/ ip/ifcfg ip/routef ip/routel
|
||||||
|
|
||||||
%files -n libnetlink-devel
|
%files -n libnetlink-devel
|
||||||
%defattr(644,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/include/*
|
/usr/include/*
|
||||||
%_mandir/man3/libnetlink*
|
%_mandir/man3/libnetlink*
|
||||||
%_libdir/lib*
|
%_libdir/lib*
|
||||||
|
Loading…
Reference in New Issue
Block a user