]> git.pld-linux.org Git - packages/whois.git/blob - whois.spec
- for 4.7.21
[packages/whois.git] / whois.spec
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
5 Name:           whois
6 Version:        4.7.20
7 Release:        1
8 License:        GPL
9 Group:          Networking/Utilities
10 Source0:        http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.gz
11 # Source0-md5:  81cea7350890d2a4dc974f661be31c7d
12 Patch0:         %{name}-idn.patch
13 URL:            http://www.linux.it/~md/software/
14 BuildRequires:  gettext-devel
15 BuildRequires:  libidn-devel
16 BuildRequires:  perl-base
17 Obsoletes:      inetutils-whois
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This is a new whois (RFC 954) client rewritten from scratch. It is
22 derived from and compatible with the usual BSD and RIPE whois(1)
23 programs. It is intelligent and can automatically select the
24 appropriate whois server for most queries.
25
26 %description -l pl.UTF-8
27 To jest nowy klient usługi whois (RFC 954) napisany całkowicie od
28 nowa. Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest
29 inteligentny i automatycznie dobiera poprawny serwer whois dla
30 większosci zapytań.
31
32 %description -l ru.UTF-8
33 Это написанный с "нуля" клиент (RFC 954), совместимый с whois(1)
34 программами BSD и RIPE. В большинстве случаев он может автоматически
35 выбирать правильный whois сервер в зависимости от запроса.
36
37 %description -l uk.UTF-8
38 Це заново написаний клієнт whois (RFC 954), сумісний з whois(1)
39 програмами BSD та RIPE. Він в більшості випадків може автоматично
40 вибирати правильний whois сервер в залежності від запиту.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 mv -f po/{no,nb}.po
47 %{__perl} -pi -e 's/no\.mo/nb.mo/' po/Makefile
48
49 %build
50 %{__make} \
51         CC="%{__cc}" \
52         OPTS="%{rpmcflags}" \
53         HAVE_LIBIDN=1
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
58
59 install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
60
61 %{__make} install \
62         BASEDIR=$RPM_BUILD_ROOT \
63         prefix=%{_prefix}
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc README debian/changelog
73 %attr(755,root,root) %{_bindir}/*
74 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf
75 %{_mandir}/man1/*
This page took 0.071291 seconds and 4 git commands to generate.