]> git.pld-linux.org Git - packages/whois.git/blob - whois.spec
- fixed version, minor cleanup
[packages/whois.git] / whois.spec
1 Summary:        whois client program 
2 Name:           whois
3 Version:        4.4.7
4 Release:        1
5 Copyright:      GPL
6 Group:          Networking/Utilities
7 Group(pl):      Sieciowe/Narzêdzia
8 Source:         http://www.linux.it/~md/software/whois_%{version}.tar.gz
9 Patch:          whois-Makefile.patch
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 This is a new whois (RFC 954) client rewritten from scratch by me.                   
14 It is derived from and compatible with the usual BSD and RIPE whois(1)               
15 programs.                                                                            
16 It is intelligent and can automatically select the appropriate whois                 
17 server for most queries.                                                             
18                                                                                     
19 %prep
20 %setup -q 
21 %patch -p1
22
23 %build
24 make OPTS="$RPM_OPTS_FLAGS" LDFLAGS="-s"
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28
29 make install DESTDIR=$RPM_BUILD_ROOT
30
31 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
32         README TODO
33
34 %find_lang %{name}
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files -f %{name}.lang
40 %defattr(644,root,root,755)
41 %doc {README,TODO}.gz
42 %attr(755,root,root) %{_bindir}/*
43 %{_mandir}/man1/*
This page took 0.034406 seconds and 4 git commands to generate.