/[packages]/cauldron/whois/current/SPECS/whois.spec
ViewVC logotype

Annotation of /cauldron/whois/current/SPECS/whois.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174836 - (hide annotations) (download)
Thu Dec 1 12:07:29 2011 UTC (12 years, 4 months ago) by dams
File size: 1388 byte(s)
- new version 5.0.13
- clean specfile

1 wally 54359 Summary: Enhanced WHOIS client
2     Name: whois
3 dams 174836 Version: 5.0.13
4 wally 54359 Release: %mkrel 1
5     License: GPLv2+
6     Group: Networking/Other
7     URL: http://www.linux.it/~md/software/
8     Source0: ftp://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.gz
9     BuildRequires: gettext
10     BuildRequires: libidn-devel
11    
12     %description
13     This is a new whois (RFC 954) client rewritten from scratch.
14    
15     It is derived from and compatible with the usual BSD and RIPE whois(1)
16     programs.
17    
18     It is intelligent and can automatically select the appropriate whois
19     server for most queries.
20    
21     %prep
22     %setup -q
23    
24     %build
25     %make OPTS="%{optflags}" HAVE_LIBIDN=1 LDFLAGS="%ldflags" whois pos
26    
27     %install
28     rm -rf %{buildroot}
29    
30     install -d %{buildroot}%{_bindir}
31     install -d %{buildroot}%{_sysconfdir}
32     install -d %{buildroot}%{_mandir}/man1
33    
34     %makeinstall BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir}
35     %makeinstall BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir} -C po
36    
37     install -m0644 whois.conf %{buildroot}%{_sysconfdir}
38    
39     %find_lang %{name}
40    
41     # fix a file conflict with expect (#46500)
42     mv %{buildroot}%{_bindir}/mkpasswd %{buildroot}%{_bindir}/whois-mkpasswd
43     mv %{buildroot}%{_mandir}/man1/mkpasswd.1 %{buildroot}%{_mandir}/man1/whois-mkpasswd.1
44    
45     %files -f %{name}.lang
46     %doc README
47     %config(noreplace) %{_sysconfdir}/whois.conf
48     %{_bindir}/whois
49     %{_bindir}/whois-mkpasswd
50     %{_mandir}/man1/whois.1*
51     %{_mandir}/man1/whois-mkpasswd.1*

  ViewVC Help
Powered by ViewVC 1.1.30