Summary: sharesecret splits secrets or joins the parts
Name: sharesecret
Version: 0.1.0
Release: 1
Copyright: GPL >= 2
Group: Utilities
Source: sunsite.unc.edu:/pub/Linux/utils/sharesecret
%description
This program splits a secret into m parts such that at least n (<= m) parts
are needed to reconstruct the secret. If you only have n - 1 parts you can
only do brute force search (or guess).

%prep
%setup

%build
env CPPFLAGS=-DWITHOUT_NANA CFLAGS="-O2 -s" ./configure
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
install -s -m 755 -o 0 -g 0 sharesecret /usr/bin/sharesecret
install -m 644 -o 0 -g 0 sharesecret.1 /usr/man/man1

%files
%doc README COPYING ChangeLog

/usr/bin/sharesecret
/usr/man/man1/sharesecret.1

