1 Summary: Enhanced WHOIS client
2 Summary(pl.UTF-8): Rozszerzony klient WHOIS
3 Summary(ru.UTF-8): Улучшенный клиент WHOIS
4 Summary(uk.UTF-8): Покращений клієнт WHOIS
9 Group: Networking/Utilities
10 Source0: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.gz
11 # Source0-md5: 465479682f31f0627ebc4ab3e365b7d2
12 Patch0: %{name}-idn.patch
13 Patch1: %{name}-pl.po-update.patch
14 Patch2: %{name}-as_del_list.patch
15 Patch3: %{name}-config.patch
16 URL: http://www.linux.it/~md/software/
17 BuildRequires: gettext-devel
18 BuildRequires: libidn-devel
19 BuildRequires: perl-base
20 Obsoletes: inetutils-whois
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This is a new whois (RFC 954) client rewritten from scratch. It is
25 derived from and compatible with the usual BSD and RIPE whois(1)
26 programs. It is intelligent and can automatically select the
27 appropriate whois server for most queries.
29 %description -l pl.UTF-8
30 To jest nowy klient usługi whois (RFC 954) napisany całkowicie od
31 nowa. Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest
32 inteligentny i automatycznie dobiera poprawny serwer whois dla
35 %description -l ru.UTF-8
36 Это написанный с "нуля" клиент (RFC 954), совместимый с whois(1)
37 программами BSD и RIPE. В большинстве случаев он может автоматически
38 выбирать правильный whois сервер в зависимости от запроса.
40 %description -l uk.UTF-8
41 Це заново написаний клієнт whois (RFC 954), сумісний з whois(1)
42 програмами BSD та RIPE. Він в більшості випадків може автоматично
43 вибирати правильний whois сервер в залежності від запиту.
53 %{__perl} -pi -e 's/no\.mo/nb.mo/' po/Makefile
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
65 install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
68 BASEDIR=$RPM_BUILD_ROOT \
74 rm -rf $RPM_BUILD_ROOT
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc README debian/changelog
79 %attr(755,root,root) %{_bindir}/*
80 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf