]>
Commit | Line | Data |
---|---|---|
6c0a3382 | 1 | Summary: Enhanced WHOIS client |
722623dd ER |
2 | Summary(pl.UTF-8): Rozszerzony klient WHOIS |
3 | Summary(ru.UTF-8): Улучшенный клиент WHOIS | |
4 | Summary(uk.UTF-8): Покращений клієнт WHOIS | |
4fe354dc | 5 | Name: whois |
0751043f AM |
6 | Version: 5.3.1 |
7 | Release: 1 | |
ea343e65 | 8 | License: GPL v2+ |
4fe354dc | 9 | Group: Networking/Utilities |
fa50a4d9 | 10 | Source0: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz |
0751043f | 11 | # Source0-md5: 5c436e40a7257a44401c001fc05c668c |
9b2c61ab | 12 | Patch0: %{name}-idn.patch |
4df52eb5 | 13 | Patch1: %{name}-config.patch |
36a5fbe5 | 14 | Patch2: %{name}-mkpwdhash.patch |
5eb20b60 | 15 | URL: https://github.com/rfc1036/whois |
f0436875 | 16 | BuildRequires: gettext-tools |
3448b6f1 | 17 | BuildRequires: libidn2-devel |
4bfea0db | 18 | BuildRequires: perl-base |
fa50a4d9 ŁK |
19 | BuildRequires: tar >= 1:1.22 |
20 | BuildRequires: xz | |
208c14ff | 21 | Obsoletes: inetutils-whois |
a73d1947 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4fe354dc AF |
23 | |
24 | %description | |
ce2ab3e4 JB |
25 | This is a new whois (RFC 954) client rewritten from scratch. It is |
26 | derived from and compatible with the usual BSD and RIPE whois(1) | |
edd72b25 | 27 | programs. It is intelligent and can automatically select the |
28 | appropriate whois server for most queries. | |
29 | ||
9d281871 JR |
30 | %description -l pl.UTF-8 |
31 | To jest nowy klient usługi whois (RFC 954) napisany całkowicie od | |
32 | nowa. Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest | |
ce2ab3e4 | 33 | inteligentny i automatycznie dobiera poprawny serwer whois dla |
9d281871 | 34 | większosci zapytań. |
edd72b25 | 35 | |
9d281871 JR |
36 | %description -l ru.UTF-8 |
37 | Это написанный с "нуля" клиент (RFC 954), совместимый с whois(1) | |
38 | программами BSD и RIPE. В большинстве случаев он может автоматически | |
39 | выбирать правильный whois сервер в зависимости от запроса. | |
a817d6cb | 40 | |
9d281871 JR |
41 | %description -l uk.UTF-8 |
42 | Це заново написаний клієнт whois (RFC 954), сумісний з whois(1) | |
43 | програмами BSD та RIPE. Він в більшості випадків може автоматично | |
44 | вибирати правильний whois сервер в залежності від запиту. | |
a817d6cb | 45 | |
4fe354dc | 46 | %prep |
56f55bc2 | 47 | %setup -q |
9b2c61ab | 48 | %patch0 -p1 |
35f335e5 | 49 | %patch1 -p1 |
36a5fbe5 | 50 | %patch2 -p1 |
4fe354dc | 51 | |
115d3501 JB |
52 | # Makefile vs po/Makefile mismatch |
53 | echo 'install-pos: install' >> po/Makefile | |
54 | ||
4fe354dc | 55 | %build |
592bcb74 JB |
56 | %{__make} \ |
57 | CC="%{__cc}" \ | |
878851b5 | 58 | CFLAGS="%{rpmcflags} %{rpmcppflags}" \ |
985c5c7f | 59 | HAVE_ICONV=1 |
4fe354dc | 60 | |
f1fa470a AG |
61 | %{__make} -C po |
62 | ||
4fe354dc AF |
63 | %install |
64 | rm -rf $RPM_BUILD_ROOT | |
56f55bc2 | 65 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1} |
36a5fbe5 | 66 | %{__make} install install-pos \ |
56f55bc2 JB |
67 | BASEDIR=$RPM_BUILD_ROOT \ |
68 | prefix=%{_prefix} | |
4fe354dc | 69 | |
36a5fbe5 | 70 | %{__cp} -p whois.conf $RPM_BUILD_ROOT%{_sysconfdir} |
2afd6a03 | 71 | |
d536721a | 72 | %find_lang %{name} |
73 | ||
4fe354dc AF |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
d536721a | 77 | %files -f %{name}.lang |
4fe354dc | 78 | %defattr(644,root,root,755) |
6a1f9784 | 79 | %doc README debian/changelog |
36a5fbe5 | 80 | %attr(755,root,root) %{_bindir}/mkpwdhash |
1c27599e | 81 | %attr(755,root,root) %{_bindir}/whois |
f660410f | 82 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf |
36a5fbe5 | 83 | %{_mandir}/man1/mkpwdhash.1* |
1c27599e | 84 | %{_mandir}/man1/whois.1* |
9501bca8 | 85 | %{_mandir}/man5/whois.conf.5* |