]> git.pld-linux.org Git - packages/whois.git/blob - whois.spec
- spec adapterized.
[packages/whois.git] / whois.spec
1 Summary:        whois client program 
2 Name:           whois
3 Version:        4.4.7
4 Release:        1
5 License:        GPL
6 Group:          Networking/Utilities
7 Group(pl):      Sieciowe/Narzêdzia
8 Source0:        http://www.linux.it/~md/software/%{name}_%{version}.tar.gz
9 Patch0:         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. It
14 is derived from and compatible with the usual BSD and RIPE whois(1)
15 programs. It is intelligent and can automatically select the
16 appropriate whois server for most queries.
17
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 -9nf $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.042791 seconds and 4 git commands to generate.