]> git.pld-linux.org Git - packages/fwhois.git/blame - fwhois.spec
almost raw
[packages/fwhois.git] / fwhois.spec
CommitLineData
8e543706
JR
1Summary: A finger-style whois program.
2Name: fwhois
3Version: 1.00
4Release: 11
5Copyright: BSD
6Group: Applications/Internet
7Source: ftp://sunsite.unc.edu/pub/Linux/distributions/slackware/source/n/tcpip/fwhois-1.00.tar.gz
8Prefix: %{_prefix}
9Buildroot: /var/tmp/%{name}-root
10
11%description
12The fwhois program is a different style of the whois program. Both
13fwhois and whois query Internet whois databases to find information
14about system users. Fwhois is smaller and more compact than whois, and
15runs in a different manner.
16
17Install fwhois if you or your system's users need a program for querying
18whois databases. You may also want to install whois, and then decide for
19yourself which program you prefer.
20
21%prep
22%setup -q
23
24%build
25gcc $RPM_OPT_FLAGS -s fwhois.c -o fwhois
26
27%install
28rm -rf $RPM_BUILD_ROOT
29mkdir -p $RPM_BUILD_ROOT/%{_prefix}/bin
30install -s -m755 fwhois $RPM_BUILD_ROOT/%{_prefix}/bin/fwhois
31ln -sf fwhois $RPM_BUILD_ROOT/%{_prefix}/bin/whois
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(-,root,root)
38%doc README
39/%{_prefix}/bin/fwhois
40/%{_prefix}/bin/whois
This page took 0.060676 seconds and 4 git commands to generate.