Add manpage
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftables?expand=0&rev=9
This commit is contained in:
parent
d2f222794c
commit
2ec2a95a1f
@ -31,6 +31,7 @@ Source2: http://xtables.de/files/nftables-plus-%version.tar.asc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
BuildRequires: dblatex
|
||||
BuildRequires: docbook2x
|
||||
BuildRequires: flex
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
@ -65,6 +66,9 @@ ruleset updates.
|
||||
%setup -qn %name-plus-%version
|
||||
|
||||
%build
|
||||
mkdir bin
|
||||
ln -s "%_bindir/docbook-to-man" bin/docbook2x-man
|
||||
export PATH="$PATH:$PWD/bin"
|
||||
%configure --docdir="%_docdir/%name"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -78,5 +82,6 @@ cp -a COPYING "$b/%_docdir/%name/"
|
||||
%config %_sysconfdir/nftables
|
||||
%_sbindir/nft
|
||||
%doc %_docdir/%name/
|
||||
%_mandir/man8/nft*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user