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