File nbase.spec of Package nbase
#
# spec file for package nbase
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define disable() %{expand:%%global disabled_%{1} 1}
%define do_not_build() export NOSUBDIR='%*'
%define enabled() %{expand:%%{?disabled_%{1}:0}%%{!?disabled_%{1}:1}}
%define disabled() %{expand:%%{?disabled_%{1}:1}%%{!?disabled_%{1}:0}}
Name: nbase
Version: 9.3.0.1
Release: 0
Summary: NetBSD userlevel portable to other UNIX-like systems
License: BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause
Group: Productivity/Text/Utilities
URL: https://github.com/cheusov/nbase
Source0: %{name}-%{version}.tar.gz
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc
BuildRequires: libbz2-devel
BuildRequires: libbsd-devel
BuildRequires: ncurses-devel
BuildRequires: libdb-4_8-devel
BuildRequires: mk-configure >= 0.37.0
BuildRequires: mk-configure-rpm-macros
BuildRequires: zlib-devel
%disable chgrp
%disable chown
%disable cleantags
%disable domainname
%disable fgen
%disable fpr
%disable fsplit
%disable what
%define export_nosubdir %{do_not_build chgrp chown cleantags domainname fgen fpr fsplit what}
%description
nbase is a collection of NetBSD tools portable to Linux, macOS and other UNIX-like systems.
%prep
%setup -q
%package dirs
Summary: Directories for nbase-* packages
Group: Productivity/Text/Utilities
%description dirs
Directories for nbase-* packages.
%if %{enabled apply}
%package apply
Summary: NetBSD version of apply(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description apply
NetBSD version of apply(1) ported to Linux.
%endif
%if %{enabled asa}
%package asa
Summary: NetBSD version of asa(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description asa
NetBSD version of asa(1) ported to Linux.
%endif
%if %{enabled awk}
%package awk
Summary: NetBSD version of awk(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description awk
NetBSD version of awk(1) ported to Linux.
%endif
%if %{enabled banner}
%package banner
Summary: NetBSD version of banner(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description banner
NetBSD version of banner(1) ported to Linux.
%endif
%if %{enabled basename}
%package basename
Summary: NetBSD version of basename(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description basename
NetBSD version of basename(1) ported to Linux.
%endif
%if %{enabled cat}
%package cat
Summary: NetBSD version of cat(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description cat
NetBSD version of cat(1) ported to Linux.
%endif
%if %{enabled chgrp}
%package chgrp
Summary: NetBSD version of chgrp(8) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description chgrp
NetBSD version of chgrp(8) ported to Linux.
%endif
%if %{enabled chmod}
%package chmod
Summary: NetBSD version of chmod(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description chmod
NetBSD version of chmod(1) ported to Linux.
%endif
%if %{enabled chown}
%package chown
Summary: NetBSD version of chown(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description chown
NetBSD version of chown(1) ported to Linux.
%endif
%if %{enabled cksum}
%package cksum
Summary: NetBSD version of cksum(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description cksum
NetBSD version of cksum(1) ported to Linux.
%endif
%if %{enabled cleantags}
%package cleantags
Summary: NetBSD version of cleantags(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description cleantags
NetBSD version of cleantags(1) ported to Linux.
%endif
%if %{enabled cmp}
%package cmp
Summary: NetBSD version of cmp(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description cmp
NetBSD version of cmp(1) ported to Linux.
%endif
%if %{enabled col}
%package col
Summary: NetBSD version of col(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description col
NetBSD version of col(1) ported to Linux.
%endif
%if %{enabled colcrt}
%package colcrt
Summary: NetBSD version of colcrt(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description colcrt
NetBSD version of colcrt(1) ported to Linux.
%endif
%if %{enabled rm}
%package colrm
Summary: NetBSD version of colrm(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description colrm
NetBSD version of colrm(1) ported to Linux.
%endif
%if %{enabled column}
%package column
Summary: NetBSD version of column(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description column
NetBSD version of column(1) ported to Linux.
%endif
%if %{enabled comm}
%package comm
Summary: NetBSD version of comm(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description comm
NetBSD version of comm(1) ported to Linux.
%endif
%if %{enabled compress}
%package compress
Summary: NetBSD version of compress(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description compress
NetBSD version of compress(1) ported to Linux.
%endif
%if %{enabled cp}
%package cp
Summary: NetBSD version of cp(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description cp
NetBSD version of cp(1) ported to Linux.
%endif
%if %{enabled csplit}
%package csplit
Summary: NetBSD version of csplit(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description csplit
NetBSD version of csplit(1) ported to Linux.
%endif
%if %{enabled ctags}
%package ctags
Summary: NetBSD version of ctags(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description ctags
NetBSD version of ctags(1) ported to Linux.
%endif
%if %{enabled cut}
%package cut
Summary: NetBSD version of cut(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description cut
NetBSD version of cut(1) ported to Linux.
%endif
%if %{enabled deroff}
%package deroff
Summary: NetBSD version of deroff(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description deroff
NetBSD version of deroff(1) ported to Linux.
%endif
%if %{enabled dd}
%package dd
Summary: NetBSD version of dd(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description dd
NetBSD version of dd(1) ported to Linux.
%endif
%if %{enabled dirname}
%package dirname
Summary: NetBSD version of dirname(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description dirname
NetBSD version of dirname(1) ported to Linux.
%endif
%if %{enabled domainname}
%package domainname
Summary: NetBSD version of domainname(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description domainname
NetBSD version of domainname(1) ported to Linux.
%endif
%if %{enabled du}
%package du
Summary: NetBSD version of du(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description du
NetBSD version of du(1) ported to Linux.
%endif
%if %{enabled echo}
%package echo
Summary: NetBSD version of echo(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description echo
NetBSD version of echo(1) ported to Linux.
%endif
%if %{enabled ed}
%package ed
Summary: NetBSD version of ed(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description ed
NetBSD version of ed(1) ported to Linux.
%endif
%if %{enabled env}
%package env
Summary: NetBSD version of env(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description env
NetBSD version of env(1) ported to Linux.
%endif
%if %{enabled error}
%package error
Summary: NetBSD version of error(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description error
NetBSD version of error(1) ported to Linux.
%endif
%if %{enabled expand}
%package expand
Summary: NetBSD version of expand(1) and unexpand(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description expand
NetBSD version of expand(1) and unexpand(1) ported to Linux.
%endif
%if %{enabled expr}
%package expr
Summary: NetBSD version of expr(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description expr
NetBSD version of expr(1) ported to Linux.
%endif
%if %{enabled false}
%package false
Summary: NetBSD version of false(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description false
NetBSD version of false(1) ported to Linux.
%endif
%if %{enabled fgen}
%package fgen
Summary: NetBSD version of fgen(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description fgen
NetBSD version of fgen(1) ported to Linux.
%endif
%if %{enabled find}
%package find
Summary: NetBSD version of find(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description find
NetBSD version of find(1) ported to Linux.
%endif
%if %{enabled flock}
%package flock
Summary: NetBSD version of flock(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description flock
NetBSD version of flock(1) ported to Linux.
%endif
%if %{enabled fmt}
%package fmt
Summary: NetBSD version of fmt(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description fmt
NetBSD version of fmt(1) ported to Linux.
%endif
%if %{enabled fold}
%package fold
Summary: NetBSD version of fold(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description fold
NetBSD version of fold(1) ported to Linux.
%endif
%if %{enabled fpr}
%package fpr
Summary: NetBSD version of fpr(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description fpr
NetBSD version of fpr(1) ported to Linux.
%endif
%if %{enabled from}
%package from
Summary: NetBSD version of from(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description from
NetBSD version of from(1) ported to Linux.
%endif
%if %{enabled fsplit}
%package fsplit
Summary: NetBSD version of fsplit(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description fsplit
NetBSD version of fsplit(1) ported to Linux.
%endif
%if %{enabled getconf}
%package getconf
Summary: NetBSD version of getconf(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description getconf
NetBSD version of getconf(1) ported to Linux.
%endif
%if %{enabled getopt}
%package getopt
Summary: NetBSD version of getopt(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description getopt
NetBSD version of getopt(1) ported to Linux.
%endif
%if %{enabled grep}
%package grep
Summary: NetBSD version of grep(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description grep
NetBSD version of grep(1) ported to Linux.
%endif
%if %{enabled head}
%package head
Summary: NetBSD version of head(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description head
NetBSD version of head(1) ported to Linux.
%endif
%if %{enabled hexdump}
%package hexdump
Summary: NetBSD version of hexdump(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description hexdump
NetBSD version of hexdump(1) ported to Linux.
%endif
%if %{enabled hostname}
%package hostname
Summary: NetBSD version of hostname(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description hostname
NetBSD version of hostname(1) ported to Linux.
%endif
%if %{enabled id}
%package id
Summary: NetBSD version of id(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description id
NetBSD version of id(1) ported to Linux.
%endif
%if %{enabled join}
%package join
Summary: NetBSD version of join(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description join
NetBSD version of join(1) ported to Linux.
%endif
%if %{enabled jot}
%package jot
Summary: NetBSD version of jot(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description jot
NetBSD version of jot(1) ported to Linux.
%endif
%if %{enabled lam}
%package lam
Summary: NetBSD version of lam(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description lam
NetBSD version of lam(1) ported to Linux.
%endif
%if %{enabled leave}
%package leave
Summary: NetBSD version of leave(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description leave
NetBSD version of leave(1) ported to Linux.
%endif
%if %{enabled ln}
%package ln
Summary: NetBSD version of ln(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description ln
NetBSD version of ln(1) ported to Linux.
%endif
%if %{enabled logname}
%package logname
Summary: NetBSD version of logname(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description logname
NetBSD version of logname(1) ported to Linux.
%endif
%if %{enabled look}
%package look
Summary: NetBSD version of look(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description look
NetBSD version of look(1) ported to Linux.
%endif
%if %{enabled lorder}
%package lorder
Summary: NetBSD version of lorder(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description lorder
NetBSD version of lorder(1) ported to Linux.
%endif
%if %{enabled ls}
%package ls
Summary: NetBSD version of ls(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description ls
NetBSD version of ls(1) ported to Linux.
%endif
%if %{enabled m4}
%package m4
Summary: NetBSD version of m4(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description m4
NetBSD version of m4(1) ported to Linux.
%endif
%if %{enabled machine}
%package machine
Summary: NetBSD version of machine(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description machine
NetBSD version of machine(1) ported to Linux.
%endif
%if %{enabled menuc}
%package menuc
Summary: NetBSD version of menuc(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description menuc
NetBSD version of menuc(1) ported to Linux.
%endif
%if %{enabled mkdep}
%package mkdep
Summary: NetBSD version of mkdep(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description mkdep
NetBSD version of mkdep(1) ported to Linux.
%endif
%if %{enabled mkdir}
%package mkdir
Summary: NetBSD version of mkdir(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description mkdir
NetBSD version of mkdir(1) ported to Linux.
%endif
%if %{enabled mkfifo}
%package mkfifo
Summary: NetBSD version of mkfifo(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description mkfifo
NetBSD version of mkfifo(1) ported to Linux.
%endif
%if %{enabled mkstr}
%package mkstr
Summary: NetBSD version of mkstr(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description mkstr
NetBSD version of mkstr(1) ported to Linux.
%endif
%if %{enabled mktemp}
%package mktemp
Summary: NetBSD version of mktemp(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description mktemp
NetBSD version of mktemp(1) ported to Linux.
%endif
%if %{enabled msgc}
%package msgc
Summary: NetBSD version of msgc(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description msgc
NetBSD version of msgc(1) ported to Linux.
%endif
%if %{enabled mtree}
%package mtree
Summary: NetBSD version of mtree(8) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description mtree
NetBSD version of mtree(8) ported to Linux.
%endif
%if %{enabled mv}
%package mv
Summary: NetBSD version of mv(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description mv
NetBSD version of mv(1) ported to Linux.
%endif
%if %{enabled nice}
%package nice
Summary: NetBSD version of nice(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description nice
NetBSD version of nice(1) ported to Linux.
%endif
%if %{enabled nl}
%package nl
Summary: NetBSD version of nl(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description nl
NetBSD version of nl(1) ported to Linux.
%endif
%if %{enabled nohup}
%package nohup
Summary: NetBSD version of nohup(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description nohup
NetBSD version of nohup(1) ported to Linux.
%endif
%if %{enabled paste}
%package paste
Summary: NetBSD version of paste(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description paste
NetBSD version of paste(1) ported to Linux.
%endif
%if %{enabled patch}
%package patch
Summary: NetBSD version of patch(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description patch
NetBSD version of patch(1) ported to Linux.
%endif
%if %{enabled pax}
%package pax
Summary: NetBSD version of pax(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description pax
NetBSD version of pax(1) ported to Linux.
%endif
%if %{enabled pr}
%package pr
Summary: NetBSD version of pr(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description pr
NetBSD version of pr(1) ported to Linux.
%endif
%if %{enabled printenv}
%package printenv
Summary: NetBSD version of printenv(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description printenv
NetBSD version of printenv(1) ported to Linux.
%endif
%if %{enabled printf}
%package printf
Summary: NetBSD version of printf(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description printf
NetBSD version of printf(1) ported to Linux.
%endif
%if %{enabled pwd}
%package pwd
Summary: NetBSD version of pwd(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description pwd
NetBSD version of pwd(1) ported to Linux.
%endif
%if %{enabled qsubst}
%package qsubst
Summary: NetBSD version of qsubst(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description qsubst
NetBSD version of qsubst(1) ported to Linux.
%endif
%if %{enabled renice}
%package renice
Summary: NetBSD version of renice(8) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description renice
NetBSD version of renice(8) ported to Linux.
%endif
%if %{enabled rev}
%package rev
Summary: NetBSD version of rev(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description rev
NetBSD version of rev(1) ported to Linux.
%endif
%if %{enabled rm}
%package rm
Summary: NetBSD version of rm(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description rm
NetBSD version of rm(1) ported to Linux.
%endif
%if %{enabled rmdir}
%package rmdir
Summary: NetBSD version of rmdir(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description rmdir
NetBSD version of rmdir(1) ported to Linux.
%endif
%if %{enabled rs}
%package rs
Summary: NetBSD version of rs(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description rs
NetBSD version of rs(1) ported to Linux.
%endif
%if %{enabled script}
%package script
Summary: NetBSD version of script(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description script
NetBSD version of script(1) ported to Linux.
%endif
%if %{enabled sdiff}
%package sdiff
Summary: NetBSD version of sdiff(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description sdiff
NetBSD version of sdiff(1) ported to Linux.
%endif
%if %{enabled sed}
%package sed
Summary: NetBSD version of sed(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description sed
NetBSD version of sed(1) ported to Linux.
%endif
%if %{enabled seq}
%package seq
Summary: NetBSD version of seq(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description seq
NetBSD version of seq(1) ported to Linux.
%endif
%if %{enabled shar}
%package shar
Summary: NetBSD version of shar(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description shar
NetBSD version of shar(1) ported to Linux.
%endif
%if %{enabled shlock}
%package shlock
Summary: NetBSD version of shlock(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description shlock
NetBSD version of shlock(1) ported to Linux.
%endif
%if %{enabled shuffle}
%package shuffle
Summary: NetBSD version of shuffle(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description shuffle
NetBSD version of shuffle(1) ported to Linux.
%endif
%if %{enabled sleep}
%package sleep
Summary: NetBSD version of sleep(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description sleep
NetBSD version of sleep(1) ported to Linux.
%endif
%if %{enabled soelim}
%package soelim
Summary: NetBSD version of soelim(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description soelim
NetBSD version of soelim(1) ported to Linux.
%endif
%if %{enabled sort}
%package sort
Summary: NetBSD version of sort(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description sort
NetBSD version of sort(1) ported to Linux.
%endif
%if %{enabled split}
%package split
Summary: NetBSD version of split(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description split
NetBSD version of split(1) ported to Linux.
%endif
%if %{enabled sync}
%package sync
Summary: NetBSD version of sync(8) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description sync
NetBSD version of sync(8) ported to Linux.
%endif
%if %{enabled tabs}
%package tabs
Summary: NetBSD version of tabs(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description tabs
NetBSD version of tabs(1) ported to Linux.
%endif
%if %{enabled tail}
%package tail
Summary: NetBSD version of tail(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description tail
NetBSD version of tail(1) ported to Linux.
%endif
%if %{enabled tee}
%package tee
Summary: NetBSD version of tee(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description tee
NetBSD version of tee(1) ported to Linux.
%endif
%if %{enabled test}
%package test
Summary: NetBSD version of test(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description test
NetBSD version of test(1) ported to Linux.
%endif
%if %{enabled timeout}
%package timeout
Summary: NetBSD version of timeout(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description timeout
NetBSD version of timeout(1) ported to Linux.
%endif
%if %{enabled tr}
%package tr
Summary: NetBSD version of tr(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description tr
NetBSD version of tr(1) ported to Linux.
%endif
%if %{enabled true}
%package true
Summary: NetBSD version of true(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description true
NetBSD version of true(1) ported to Linux.
%endif
%if %{enabled tsort}
%package tsort
Summary: NetBSD version of tsort(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description tsort
NetBSD version of tsort(1) ported to Linux.
%endif
%if %{enabled tty}
%package tty
Summary: NetBSD version of tty(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description tty
NetBSD version of tty(1) ported to Linux.
%endif
%if %{enabled ul}
%package ul
Summary: NetBSD version of ul(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description ul
NetBSD version of ul(1) ported to Linux.
%endif
%if %{enabled unifdef}
%package unifdef
Summary: NetBSD version of unifdef(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description unifdef
NetBSD version of unifdef(1) ported to Linux.
%endif
%if %{enabled uniq}
%package uniq
Summary: NetBSD version of uniq(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description uniq
NetBSD version of uniq(1) ported to Linux.
%endif
%if %{enabled unvis}
%package unvis
Summary: NetBSD version of unvis(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description unvis
NetBSD version of unvis(1) ported to Linux.
%endif
%if %{enabled uuencode}
%package uuencode
Summary: NetBSD version of uuencode(1) and uudecode(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description uuencode
NetBSD version of uuencode(1) and uudecode(1) ported to Linux.
%endif
%if %{enabled vis}
%package vis
Summary: NetBSD version of vis(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description vis
NetBSD version of vis(1) ported to Linux.
%endif
%if %{enabled wc}
%package wc
Summary: NetBSD version of wc(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description wc
NetBSD version of wc(1) ported to Linux.
%endif
%if %{enabled what}
%package what
Summary: NetBSD version of what(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description what
NetBSD version of what(1) ported to Linux.
%endif
%if %{enabled whois}
%package whois
Summary: NetBSD version of whois(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description whois
NetBSD version of whois(1) ported to Linux.
%endif
%if %{enabled xargs}
%package xargs
Summary: NetBSD version of xargs(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description xargs
NetBSD version of xargs(1) ported to Linux.
%endif
%if %{enabled install}
%package install
Summary: NetBSD version of install(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description install
NetBSD version of install(1) ported to Linux.
%endif
%if %{enabled xstr}
%package xstr
Summary: NetBSD version of xstr(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description xstr
NetBSD version of xstr(1) ported to Linux.
%endif
%if %{enabled yes}
%package yes
Summary: NetBSD version of yes(1) ported to Linux
Group: Productivity/Text/Utilities
Requires: %{name}-dirs
%description yes
NetBSD version of yes(1) ported to Linux.
%endif
%define nbase_prefix %{_libexecdir}/nbase
%define env \
export BINDIR=%{nbase_prefix}/bin \
export DATADIR=%{nbase_prefix}/share \
export DOCDIR=%{_docdir}/nbase \
export INSTALL_FLAGS='--strip-program=true' \
export LDADD=-lbsd \
export LINKSPREFIX=/usr \
export LMANDIR=/usr/share/man \
export MANDIR=%{nbase_prefix}/man \
export MANZ=yes \
export PREFIX=%{nbase_prefix} \
export SYSCONFDIR=/etc/nbase \
export USE_DB_HEADER=db_185.h \
export USE_DB_LIBNAME=db \
export LDFLAGS="%{?__global_ldflags}" \
export CPPFLAGS="%{optflags} -fPIC" \
export COPTS="-Wno-error=array-parameter -Wno-error=misleading-indentation" \
%export_nosubdir
%conf
%{env}
%{mkcmake} -j1 configure
%build
%{env}
%{mkcmake} all
%install
%{env}
%if %{disabled chown}
export NOSUBDIR="$NOSUBDIR chown"
%endif
%if %{disabled cleantags}
export NOSUBDIR="$NOSUBDIR cleantags"
%endif
%if %{disabled domainname}
export NOSUBDIR="$NOSUBDIR domainname"
%endif
%if %{disabled fgen}
export NOSUBDIR="$NOSUBDIR fgen"
%endif
%if %{disabled fpr}
export NOSUBDIR="$NOSUBDIR fpr"
%endif
%if %{disabled fsplit}
export NOSUBDIR="$NOSUBDIR fsplit"
%endif
%if %{disabled what}
export NOSUBDIR="$NOSUBDIR what"
%endif
%{mkcmake} -j1 install
%files dirs
%dir %{nbase_prefix}
%dir %{nbase_prefix}/bin
%dir %{nbase_prefix}/share
%dir %{nbase_prefix}/share/misc
%dir %{nbase_prefix}/man
%dir %{nbase_prefix}/man/man1
%dir %{nbase_prefix}/man/man5
%dir %{nbase_prefix}/man/man8
%dir %{_docdir}/nbase
%{_docdir}/nbase/LICENSE
%{_docdir}/nbase/NEWS
%{_docdir}/nbase/TODO
%{_docdir}/nbase/README.md
%if %{enabled apply}
%files apply
%{nbase_prefix}/bin/apply
%{nbase_prefix}/man/man1/apply.*
%{_bindir}/nbapply
%{_mandir}/man1/nbapply.*
%endif
%if %{enabled asa}
%files asa
%{nbase_prefix}/bin/asa
%{nbase_prefix}/man/man1/asa.*
%{_bindir}/nbasa
%{_mandir}/man1/nbasa.*
%endif
%if %{enabled awk}
%files awk
%{nbase_prefix}/bin/awk
%{nbase_prefix}/man/man1/awk.*
%{_bindir}/nbawk
%{_mandir}/man1/nbawk.*
%endif
%if %{enabled banner}
%files banner
%{nbase_prefix}/bin/banner
%{nbase_prefix}/man/man1/banner.*
%{_bindir}/nbbanner
%{_mandir}/man1/nbbanner.*
%endif
%if %{enabled basename}
%files basename
%{nbase_prefix}/bin/basename
%{nbase_prefix}/man/man1/basename.*
%{_bindir}/nbbasename
%{_mandir}/man1/nbbasename.*
%endif
%if %{enabled cat}
%files cat
%{nbase_prefix}/bin/cat
%{nbase_prefix}/man/man1/cat.*
%{_bindir}/nbcat
%{_mandir}/man1/nbcat.*
%endif
%if %{enabled chgrp}
%files chgrp
%{nbase_prefix}/bin/chgrp
%{nbase_prefix}/man/man1/chgrp.*
%{_bindir}/nbchgrp
%{_mandir}/man1/nbchgrp.*
%endif
%if %{enabled chmod}
%files chmod
%{nbase_prefix}/bin/chmod
%{nbase_prefix}/man/man1/chmod.*
%{_bindir}/nbchmod
%{_mandir}/man1/nbchmod.*
%endif
%if %{enabled chown}
%files chown
%{nbase_prefix}/sbin/chown
%{nbase_prefix}/man/man8/chown.*
%{_sbindir}/nbchown
%{_mandir}/man8/nbchown.*
%endif
%if %{enabled cksum}
%files cksum
%{nbase_prefix}/bin/cksum
%{nbase_prefix}/bin/md2
%{nbase_prefix}/bin/md4
%{nbase_prefix}/bin/md5
%{nbase_prefix}/bin/rmd160
%{nbase_prefix}/bin/sha1
%{nbase_prefix}/bin/sum
%{nbase_prefix}/man/man1/cksum.*
%{nbase_prefix}/man/man1/md2.*
%{nbase_prefix}/man/man1/md4.*
%{nbase_prefix}/man/man1/md5.*
%{nbase_prefix}/man/man1/rmd160.*
%{nbase_prefix}/man/man1/sha1.*
%{nbase_prefix}/man/man1/sum.*
%{_bindir}/nbcksum
%{_bindir}/nbmd2
%{_bindir}/nbmd4
%{_bindir}/nbmd5
%{_bindir}/nbrmd160
%{_bindir}/nbsha1
%{_bindir}/nbsum
%{_mandir}/man1/nbcksum.*
%{_mandir}/man1/nbmd2.*
%{_mandir}/man1/nbmd4.*
%{_mandir}/man1/nbmd5.*
%{_mandir}/man1/nbrmd160.*
%{_mandir}/man1/nbsha1.*
%{_mandir}/man1/nbsum.*
%endif
%if %{enabled cleantags}
%files cleantags
%{nbase_prefix}/bin/cleantags
%{nbase_prefix}/man/man1/cleantags.*
%{_bindir}/nbcleantags
%{_mandir}/man1/nbcleantags.*
%endif
%if %{enabled cmp}
%files cmp
%{nbase_prefix}/bin/cmp
%{nbase_prefix}/man/man1/cmp.*
%{_bindir}/nbcmp
%{_mandir}/man1/nbcmp.*
%endif
%if %{enabled col}
%files col
%{nbase_prefix}/bin/col
%{nbase_prefix}/man/man1/col.*
%{_bindir}/nbcol
%{_mandir}/man1/nbcol.*
%endif
%if %{enabled colcrt}
%files colcrt
%{nbase_prefix}/bin/colcrt
%{nbase_prefix}/man/man1/colcrt.*
%{_bindir}/nbcolcrt
%{_mandir}/man1/nbcolcrt.*
%endif
%if %{enabled colrm}
%files colrm
%{nbase_prefix}/bin/colrm
%{nbase_prefix}/man/man1/colrm.*
%{_bindir}/nbcolrm
%{_mandir}/man1/nbcolrm.*
%endif
%if %{enabled column}
%files column
%{nbase_prefix}/bin/column
%{nbase_prefix}/man/man1/column.*
%{_bindir}/nbcolumn
%{_mandir}/man1/nbcolumn.*
%endif
%if %{enabled comm}
%files comm
%{nbase_prefix}/bin/comm
%{nbase_prefix}/man/man1/comm.*
%{_bindir}/nbcomm
%{_mandir}/man1/nbcomm.*
%endif
%if %{enabled compress}
%files compress
%{nbase_prefix}/bin/compress
%{nbase_prefix}/bin/uncompress
%{nbase_prefix}/man/man1/compress.*
%{nbase_prefix}/man/man1/uncompress.*
%{_bindir}/nbcompress
%{_bindir}/nbuncompress
%{_mandir}/man1/nbcompress.*
%{_mandir}/man1/nbuncompress.*
%endif
%if %{enabled cp}
%files cp
%{nbase_prefix}/bin/cp
%{nbase_prefix}/man/man1/cp.*
%{_bindir}/nbcp
%{_mandir}/man1/nbcp.*
%endif
%if %{enabled csplit}
%files csplit
%{nbase_prefix}/bin/csplit
%{nbase_prefix}/man/man1/csplit.*
%{_bindir}/nbcsplit
%{_mandir}/man1/nbcsplit.*
%endif
%if %{enabled ctags}
%files ctags
%{nbase_prefix}/bin/ctags
%{nbase_prefix}/man/man1/ctags.*
%{_bindir}/nbctags
%{_mandir}/man1/nbctags.*
%endif
%if %{enabled cut}
%files cut
%{nbase_prefix}/bin/cut
%{nbase_prefix}/man/man1/cut.*
%{_bindir}/nbcut
%{_mandir}/man1/nbcut.*
%endif
%if %{enabled deroff}
%files deroff
%{nbase_prefix}/bin/deroff
%{nbase_prefix}/man/man1/deroff.*
%{_bindir}/nbderoff
%{_mandir}/man1/nbderoff.*
%endif
%if %{enabled dd}
%files dd
%{nbase_prefix}/bin/dd
%{nbase_prefix}/man/man1/dd.*
%{_bindir}/nbdd
%{_mandir}/man1/nbdd.*
%endif
%if %{enabled dirname}
%files dirname
%{nbase_prefix}/bin/dirname
%{nbase_prefix}/man/man1/dirname.*
%{_bindir}/nbdirname
%{_mandir}/man1/nbdirname.*
%endif
%if %{enabled domainname}
%files domainname
%{nbase_prefix}/bin/domainname
%{nbase_prefix}/man/man1/domainname.*
%{_bindir}/nbdomainname
%{_mandir}/man1/nbdomainname.*
%endif
%if %{enabled du}
%files du
%{nbase_prefix}/bin/du
%{nbase_prefix}/man/man1/du.*
%{_bindir}/nbdu
%{_mandir}/man1/nbdu.*
%endif
%if %{enabled echo}
%files echo
%{nbase_prefix}/bin/echo
%{nbase_prefix}/man/man1/echo.*
%{_bindir}/nbecho
%{_mandir}/man1/nbecho.*
%endif
%if %{enabled ed}
%files ed
%{nbase_prefix}/bin/ed
%{nbase_prefix}/man/man1/ed.*
%{_bindir}/nbed
%{_mandir}/man1/nbed.*
%endif
%if %{enabled env}
%files env
%{nbase_prefix}/bin/env
%{nbase_prefix}/man/man1/env.*
%{_bindir}/nbenv
%{_mandir}/man1/nbenv.*
%endif
%if %{enabled error}
%files error
%{nbase_prefix}/bin/error
%{nbase_prefix}/man/man1/error.*
%{_bindir}/nberror
%{_mandir}/man1/nberror.*
%endif
%if %{enabled expand}
%files expand
%{nbase_prefix}/bin/expand
%{nbase_prefix}/bin/unexpand
%{nbase_prefix}/man/man1/expand.*
%{nbase_prefix}/man/man1/unexpand.*
%{_bindir}/nbexpand
%{_bindir}/nbunexpand
%{_mandir}/man1/nbexpand.*
%{_mandir}/man1/nbunexpand.*
%endif
%if %{enabled expr}
%files expr
%{nbase_prefix}/bin/expr
%{nbase_prefix}/man/man1/expr.*
%{_bindir}/nbexpr
%{_mandir}/man1/nbexpr.*
%endif
%if %{enabled false}
%files false
%{nbase_prefix}/bin/false
%{nbase_prefix}/man/man1/false.*
%{_bindir}/nbfalse
%{_mandir}/man1/nbfalse.*
%endif
%if %{enabled fgen}
%files fgen
%{nbase_prefix}/bin/fgen
%{nbase_prefix}/man/man1/fgen.*
%{_bindir}/nbfgen
%{_mandir}/man1/nbfgen.*
%endif
%if %{enabled find}
%files find
%{nbase_prefix}/bin/find
%{nbase_prefix}/man/man1/find.*
%{_bindir}/nbfind
%{_mandir}/man1/nbfind.*
%endif
%if %{enabled flock}
%files flock
%{nbase_prefix}/bin/flock
%{nbase_prefix}/man/man1/flock.*
%{_bindir}/nbflock
%{_mandir}/man1/nbflock.*
%endif
%if %{enabled fmt}
%files fmt
%{nbase_prefix}/bin/fmt
%{nbase_prefix}/man/man1/fmt.*
%{_bindir}/nbfmt
%{_mandir}/man1/nbfmt.*
%endif
%if %{enabled fold}
%files fold
%{nbase_prefix}/bin/fold
%{nbase_prefix}/man/man1/fold.*
%{_bindir}/nbfold
%{_mandir}/man1/nbfold.*
%endif
%if %{enabled fpr}
%files fpr
%{nbase_prefix}/bin/fpr
%{nbase_prefix}/man/man1/fpr.*
%{_bindir}/nbfpr
%{_mandir}/man1/nbfpr.*
%endif
%if %{enabled from}
%files from
%{nbase_prefix}/bin/from
%{nbase_prefix}/man/man1/from.*
%{_bindir}/nbfrom
%{_mandir}/man1/nbfrom.*
%endif
%if %{enabled fsplit}
%files fsplit
%{nbase_prefix}/bin/fsplit
%{nbase_prefix}/man/man1/fsplit.*
%{_bindir}/nbfsplit
%{_mandir}/man1/nbfsplit.*
%endif
%if %{enabled getconf}
%files getconf
%{nbase_prefix}/bin/getconf
%{nbase_prefix}/man/man1/getconf.*
%{_bindir}/nbgetconf
%{_mandir}/man1/nbgetconf.*
%endif
%if %{enabled getopt}
%files getopt
%{nbase_prefix}/bin/getopt
%{nbase_prefix}/man/man1/getopt.*
%{_bindir}/nbgetopt
%{_mandir}/man1/nbgetopt.*
%endif
%if %{enabled grep}
%files grep
%{nbase_prefix}/bin/grep
%{nbase_prefix}/bin/egrep
%{nbase_prefix}/bin/fgrep
%{nbase_prefix}/bin/zgrep
%{nbase_prefix}/bin/zegrep
%{nbase_prefix}/bin/zfgrep
%{nbase_prefix}/man/man1/grep.*
%{nbase_prefix}/man/man1/egrep.*
%{nbase_prefix}/man/man1/fgrep.*
%{nbase_prefix}/man/man1/zgrep.*
%{nbase_prefix}/man/man1/zegrep.*
%{nbase_prefix}/man/man1/zfgrep.*
%{_bindir}/nbgrep
%{_bindir}/nbegrep
%{_bindir}/nbfgrep
%{_bindir}/nbzgrep
%{_bindir}/nbzegrep
%{_bindir}/nbzfgrep
%{_mandir}/man1/nbgrep.*
%{_mandir}/man1/nbegrep.*
%{_mandir}/man1/nbfgrep.*
%{_mandir}/man1/nbzgrep.*
%{_mandir}/man1/nbzegrep.*
%{_mandir}/man1/nbzfgrep.*
%endif
%if %{enabled head}
%files head
%{nbase_prefix}/bin/head
%{nbase_prefix}/man/man1/head.*
%{_bindir}/nbhead
%{_mandir}/man1/nbhead.*
%endif
%if %{enabled hexdump}
%files hexdump
%{nbase_prefix}/bin/hexdump
%{nbase_prefix}/bin/od
%{nbase_prefix}/man/man1/hexdump.*
%{nbase_prefix}/man/man1/od.*
%{_bindir}/nbhexdump
%{_bindir}/nbod
%{_mandir}/man1/nbhexdump.*
%{_mandir}/man1/nbod.*
%endif
%if %{enabled hostname}
%files hostname
%{nbase_prefix}/bin/hostname
%{nbase_prefix}/man/man1/hostname.*
%{_bindir}/nbhostname
%{_mandir}/man1/nbhostname.*
%endif
%if %{enabled id}
%files id
%{nbase_prefix}/bin/groups
%{nbase_prefix}/bin/id
%{nbase_prefix}/bin/whoami
%{nbase_prefix}/man/man1/groups.*
%{nbase_prefix}/man/man1/id.*
%{nbase_prefix}/man/man1/whoami.*
%{_bindir}/nbgroups
%{_bindir}/nbid
%{_bindir}/nbwhoami
%{_mandir}/man1/nbgroups.*
%{_mandir}/man1/nbid.*
%{_mandir}/man1/nbwhoami.*
%endif
%if %{enabled join}
%files join
%{nbase_prefix}/bin/join
%{nbase_prefix}/man/man1/join.*
%{_bindir}/nbjoin
%{_mandir}/man1/nbjoin.*
%endif
%if %{enabled jot}
%files jot
%{nbase_prefix}/bin/jot
%{nbase_prefix}/man/man1/jot.*
%{_bindir}/nbjot
%{_mandir}/man1/nbjot.*
%endif
%if %{enabled lam}
%files lam
%{nbase_prefix}/bin/lam
%{nbase_prefix}/man/man1/lam.*
%{_bindir}/nblam
%{_mandir}/man1/nblam.*
%endif
%if %{enabled leave}
%files leave
%{nbase_prefix}/bin/leave
%{nbase_prefix}/man/man1/leave.*
%{_bindir}/nbleave
%{_mandir}/man1/nbleave.*
%endif
%if %{enabled ln}
%files ln
%{nbase_prefix}/bin/ln
%{nbase_prefix}/man/man1/ln.*
%{_bindir}/nbln
%{_mandir}/man1/nbln.*
%endif
%if %{enabled logname}
%files logname
%{nbase_prefix}/bin/logname
%{nbase_prefix}/man/man1/logname.*
%{_bindir}/nblogname
%{_mandir}/man1/nblogname.*
%endif
%if %{enabled look}
%files look
%{nbase_prefix}/bin/look
%{nbase_prefix}/man/man1/look.*
%{_bindir}/nblook
%{_mandir}/man1/nblook.*
%endif
%if %{enabled lorder}
%files lorder
%{nbase_prefix}/bin/lorder
%{nbase_prefix}/man/man1/lorder.*
%{_bindir}/nblorder
%{_mandir}/man1/nblorder.*
%endif
%if %{enabled ls}
%files ls
%{nbase_prefix}/bin/ls
%{nbase_prefix}/man/man1/ls.*
%{_bindir}/nbls
%{_mandir}/man1/nbls.*
%endif
%if %{enabled m4}
%files m4
%{nbase_prefix}/bin/m4
%{nbase_prefix}/man/man1/m4.*
%{_bindir}/nbm4
%{_mandir}/man1/nbm4.*
%endif
%if %{enabled machine}
%files machine
%{nbase_prefix}/bin/machine
%{nbase_prefix}/man/man1/machine.*
%{_bindir}/nbmachine
%{_mandir}/man1/nbmachine.*
%endif
%if %{enabled menuc}
%files menuc
%{nbase_prefix}/bin/menuc
%{nbase_prefix}/man/man1/menuc.*
%{nbase_prefix}/share/misc/menu_sys.def
%{_bindir}/nbmenuc
%{_mandir}/man1/nbmenuc.*
%endif
%if %{enabled mkdep}
%files mkdep
%{nbase_prefix}/bin/mkdep
%{nbase_prefix}/man/man1/mkdep.*
%{_bindir}/nbmkdep
%{_mandir}/man1/nbmkdep.*
%endif
%if %{enabled mkdir}
%files mkdir
%{nbase_prefix}/bin/mkdir
%{nbase_prefix}/man/man1/mkdir.*
%{_bindir}/nbmkdir
%{_mandir}/man1/nbmkdir.*
%endif
%if %{enabled mkfifo}
%files mkfifo
%{nbase_prefix}/bin/mkfifo
%{nbase_prefix}/man/man1/mkfifo.*
%{_bindir}/nbmkfifo
%{_mandir}/man1/nbmkfifo.*
%endif
%if %{enabled mkstr}
%files mkstr
%{nbase_prefix}/bin/mkstr
%{nbase_prefix}/man/man1/mkstr.*
%{_bindir}/nbmkstr
%{_mandir}/man1/nbmkstr.*
%endif
%if %{enabled mktemp}
%files mktemp
%{nbase_prefix}/bin/mktemp
%{nbase_prefix}/man/man1/mktemp.*
%{_bindir}/nbmktemp
%{_mandir}/man1/nbmktemp.*
%endif
%if %{enabled msgc}
%files msgc
%{nbase_prefix}/bin/msgc
%{nbase_prefix}/man/man1/msgc.*
%{nbase_prefix}/share/misc/msg_sys.def
%{_bindir}/nbmsgc
%{_mandir}/man1/nbmsgc.*
%endif
%if %{enabled mtree}
%files mtree
%{nbase_prefix}/bin/mtree
%{nbase_prefix}/man/man8/mtree.*
%{_bindir}/nbmtree
%{_mandir}/man8/nbmtree.*
%endif
%if %{enabled mv}
%files mv
%{nbase_prefix}/bin/mv
%{nbase_prefix}/man/man1/mv.*
%{_bindir}/nbmv
%{_mandir}/man1/nbmv.*
%endif
%if %{enabled nice}
%files nice
%{nbase_prefix}/bin/nice
%{nbase_prefix}/man/man1/nice.*
%{_bindir}/nbnice
%{_mandir}/man1/nbnice.*
%endif
%if %{enabled nl}
%files nl
%{nbase_prefix}/bin/nl
%{nbase_prefix}/man/man1/nl.*
%{_bindir}/nbnl
%{_mandir}/man1/nbnl.*
%endif
%if %{enabled nohup}
%files nohup
%{nbase_prefix}/bin/nohup
%{nbase_prefix}/man/man1/nohup.*
%{_bindir}/nbnohup
%{_mandir}/man1/nbnohup.*
%endif
%if %{enabled paste}
%files paste
%{nbase_prefix}/bin/paste
%{nbase_prefix}/man/man1/paste.*
%{_bindir}/nbpaste
%{_mandir}/man1/nbpaste.*
%endif
%if %{enabled patch}
%files patch
%{nbase_prefix}/bin/patch
%{nbase_prefix}/man/man1/patch.*
%{_bindir}/nbpatch
%{_mandir}/man1/nbpatch.*
%endif
%if %{enabled pax}
%files pax
%{nbase_prefix}/bin/pax
%{nbase_prefix}/man/man1/pax.*
%{_bindir}/nbpax
%{_mandir}/man1/nbpax.*
%endif
%if %{enabled pr}
%files pr
%{nbase_prefix}/bin/pr
%{nbase_prefix}/man/man1/pr.*
%{_bindir}/nbpr
%{_mandir}/man1/nbpr.*
%endif
%if %{enabled printenv}
%files printenv
%{nbase_prefix}/bin/printenv
%{nbase_prefix}/man/man1/printenv.*
%{_bindir}/nbprintenv
%{_mandir}/man1/nbprintenv.*
%endif
%if %{enabled printf}
%files printf
%{nbase_prefix}/bin/printf
%{nbase_prefix}/man/man1/printf.*
%{_bindir}/nbprintf
%{_mandir}/man1/nbprintf.*
%endif
%if %{enabled pwd}
%files pwd
%{nbase_prefix}/bin/pwd
%{nbase_prefix}/man/man1/pwd.*
%{_bindir}/nbpwd
%{_mandir}/man1/nbpwd.*
%endif
%if %{enabled qsubst}
%files qsubst
%{nbase_prefix}/bin/qsubst
%{nbase_prefix}/man/man1/qsubst.*
%{_bindir}/nbqsubst
%{_mandir}/man1/nbqsubst.*
%endif
%if %{enabled renice}
%files renice
%{nbase_prefix}/bin/renice
%{nbase_prefix}/man/man8/renice.*
%{_bindir}/nbrenice
%{_mandir}/man8/nbrenice.*
%endif
%if %{enabled rev}
%files rev
%{nbase_prefix}/bin/rev
%{nbase_prefix}/man/man1/rev.*
%{_bindir}/nbrev
%{_mandir}/man1/nbrev.*
%endif
%if %{enabled rm}
%files rm
%{nbase_prefix}/bin/rm
%{nbase_prefix}/man/man1/rm.*
%{_bindir}/nbrm
%{_mandir}/man1/nbrm.*
%endif
%if %{enabled rmdir}
%files rmdir
%{nbase_prefix}/bin/rmdir
%{nbase_prefix}/man/man1/rmdir.*
%{_bindir}/nbrmdir
%{_mandir}/man1/nbrmdir.*
%endif
%if %{enabled rs}
%files rs
%{nbase_prefix}/bin/rs
%{nbase_prefix}/man/man1/rs.*
%{_bindir}/nbrs
%{_mandir}/man1/nbrs.*
%endif
%if %{enabled script}
%files script
%{nbase_prefix}/bin/script
%{nbase_prefix}/man/man1/script.*
%{_bindir}/nbscript
%{_mandir}/man1/nbscript.*
%endif
%if %{enabled sdiff}
%files sdiff
%{nbase_prefix}/bin/sdiff
%{nbase_prefix}/man/man1/sdiff.*
%{_bindir}/nbsdiff
%{_mandir}/man1/nbsdiff.*
%endif
%if %{enabled sed}
%files sed
%{nbase_prefix}/bin/sed
%{nbase_prefix}/man/man1/sed.*
%{_bindir}/nbsed
%{_mandir}/man1/nbsed.*
%endif
%if %{enabled seq}
%files seq
%{nbase_prefix}/bin/seq
%{nbase_prefix}/man/man1/seq.*
%{_bindir}/nbseq
%{_mandir}/man1/nbseq.*
%endif
%if %{enabled shar}
%files shar
%{nbase_prefix}/bin/shar
%{nbase_prefix}/man/man1/shar.*
%{_bindir}/nbshar
%{_mandir}/man1/nbshar.*
%endif
%if %{enabled shlock}
%files shlock
%{nbase_prefix}/bin/shlock
%{nbase_prefix}/man/man1/shlock.*
%{_bindir}/nbshlock
%{_mandir}/man1/nbshlock.*
%endif
%if %{enabled shuffle}
%files shuffle
%{nbase_prefix}/bin/shuffle
%{nbase_prefix}/man/man1/shuffle.*
%{_bindir}/nbshuffle
%{_mandir}/man1/nbshuffle.*
%endif
%if %{enabled sleep}
%files sleep
%{nbase_prefix}/bin/sleep
%{nbase_prefix}/man/man1/sleep.*
%{_bindir}/nbsleep
%{_mandir}/man1/nbsleep.*
%endif
%if %{enabled soelim}
%files soelim
%{nbase_prefix}/bin/soelim
%{nbase_prefix}/man/man1/soelim.*
%{_bindir}/nbsoelim
%{_mandir}/man1/nbsoelim.*
%endif
%if %{enabled sort}
%files sort
%{nbase_prefix}/bin/sort
%{nbase_prefix}/man/man1/sort.*
%{_bindir}/nbsort
%{_mandir}/man1/nbsort.*
%endif
%if %{enabled split}
%files split
%{nbase_prefix}/bin/split
%{nbase_prefix}/man/man1/split.*
%{_bindir}/nbsplit
%{_mandir}/man1/nbsplit.*
%endif
%if %{enabled sync}
%files sync
%{nbase_prefix}/bin/sync
%{nbase_prefix}/man/man8/sync.*
%{_bindir}/nbsync
%{_mandir}/man8/nbsync.*
%endif
%if %{enabled tabs}
%files tabs
%{nbase_prefix}/bin/tabs
%{nbase_prefix}/man/man1/tabs.*
%{_bindir}/nbtabs
%{_mandir}/man1/nbtabs.*
%endif
%if %{enabled tail}
%files tail
%{nbase_prefix}/bin/tail
%{nbase_prefix}/man/man1/tail.*
%{_bindir}/nbtail
%{_mandir}/man1/nbtail.*
%endif
%if %{enabled tee}
%files tee
%{nbase_prefix}/bin/tee
%{nbase_prefix}/man/man1/tee.*
%{_bindir}/nbtee
%{_mandir}/man1/nbtee.*
%endif
%if %{enabled test}
%files test
%{nbase_prefix}/bin/test
%{nbase_prefix}/bin/[
%{nbase_prefix}/man/man1/test.*
%{nbase_prefix}/man/man1/[.*
%{_bindir}/nbtest
%{_bindir}/nb[
%{_mandir}/man1/nbtest.*
%{_mandir}/man1/nb[.*
%endif
%if %{enabled timeout}
%files timeout
%{nbase_prefix}/bin/timeout
%{nbase_prefix}/man/man1/timeout.*
%{_bindir}/nbtimeout
%{_mandir}/man1/nbtimeout.*
%endif
%if %{enabled tr}
%files tr
%{nbase_prefix}/bin/tr
%{nbase_prefix}/man/man1/tr.*
%{_bindir}/nbtr
%{_mandir}/man1/nbtr.*
%endif
%if %{enabled true}
%files true
%{nbase_prefix}/bin/true
%{nbase_prefix}/man/man1/true.*
%{_bindir}/nbtrue
%{_mandir}/man1/nbtrue.*
%endif
%if %{enabled tsort}
%files tsort
%{nbase_prefix}/bin/tsort
%{nbase_prefix}/man/man1/tsort.*
%{_bindir}/nbtsort
%{_mandir}/man1/nbtsort.*
%endif
%if %{enabled tty}
%files tty
%{nbase_prefix}/bin/tty
%{nbase_prefix}/man/man1/tty.*
%{_bindir}/nbtty
%{_mandir}/man1/nbtty.*
%endif
%if %{enabled ul}
%files ul
%{nbase_prefix}/bin/ul
%{nbase_prefix}/man/man1/ul.*
%{_bindir}/nbul
%{_mandir}/man1/nbul.*
%endif
%if %{enabled unifdef}
%files unifdef
%{nbase_prefix}/bin/unifdef
%{nbase_prefix}/bin/unifdefall
%{nbase_prefix}/man/man1/unifdef.*
%{nbase_prefix}/man/man1/unifdefall.*
%{_bindir}/nbunifdef
%{_bindir}/nbunifdefall
%{_mandir}/man1/nbunifdef.*
%{_mandir}/man1/nbunifdefall.*
%endif
%if %{enabled uniq}
%files uniq
%{nbase_prefix}/bin/uniq
%{nbase_prefix}/man/man1/uniq.*
%{_bindir}/nbuniq
%{_mandir}/man1/nbuniq.*
%endif
%if %{enabled unvis}
%files unvis
%{nbase_prefix}/bin/unvis
%{nbase_prefix}/man/man1/unvis.*
%{_bindir}/nbunvis
%{_mandir}/man1/nbunvis.*
%endif
%if %{enabled uuencode}
%files uuencode
%{nbase_prefix}/bin/uuencode
%{nbase_prefix}/bin/uudecode
%{nbase_prefix}/man/man1/uuencode.*
%{nbase_prefix}/man/man1/uudecode.*
%{nbase_prefix}/man/man5/uuencode.*
%{_bindir}/nbuuencode
%{_bindir}/nbuudecode
%{_mandir}/man1/nbuuencode.*
%{_mandir}/man1/nbuudecode.*
%{_mandir}/man5/nbuuencode.*
%endif
%if %{enabled vis}
%files vis
%{nbase_prefix}/bin/vis
%{nbase_prefix}/man/man1/vis.*
%{_bindir}/nbvis
%{_mandir}/man1/nbvis.*
%endif
%if %{enabled wc}
%files wc
%{nbase_prefix}/bin/wc
%{nbase_prefix}/man/man1/wc.*
%{_bindir}/nbwc
%{_mandir}/man1/nbwc.*
%endif
%if %{enabled what}
%files what
%{nbase_prefix}/bin/what
%{nbase_prefix}/man/man1/what.*
%{_bindir}/nbwhat
%{_mandir}/man1/nbwhat.*
%endif
%if %{enabled whois}
%files whois
%{nbase_prefix}/bin/whois
%{nbase_prefix}/man/man1/whois.*
%{_bindir}/nbwhois
%{_mandir}/man1/nbwhois.*
%endif
%if %{enabled xargs}
%files xargs
%{nbase_prefix}/bin/xargs
%{nbase_prefix}/man/man1/xargs.*
%{_bindir}/nbxargs
%{_mandir}/man1/nbxargs.*
%endif
%if %{enabled install}
%files install
%{nbase_prefix}/bin/install
%{nbase_prefix}/man/man1/install.*
%{_bindir}/nbinstall
%{_mandir}/man1/nbinstall.*
%endif
%if %{enabled xstr}
%files xstr
%{nbase_prefix}/bin/xstr
%{nbase_prefix}/man/man1/xstr.*
%{_bindir}/nbxstr
%{_mandir}/man1/nbxstr.*
%endif
%if %{enabled yes}
%files yes
%{nbase_prefix}/bin/yes
%{nbase_prefix}/man/man1/yes.*
%{_bindir}/nbyes
%{_mandir}/man1/nbyes.*
%endif
%changelog