]> git.pld-linux.org Git - packages/whois.git/blob - whois.spec
becd8fa5c90575e7681703215d39cc6ff3001c79
[packages/whois.git] / whois.spec
1 Summary:        Enhanced WHOIS client
2 Summary(pl):    Rozszerzony klient WHOIS
3 Summary(ru):    õÌÕÞÛÅÎÎÙÊ ËÌÉÅÎÔ WHOIS
4 Summary(uk):    ðÏËÒÁÝÅÎÉÊ Ë̦¤ÎÔ WHOIS
5 Name:           whois
6 Version:        4.7.2
7 Release:        2
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:  d05fddf828be83f007ece656e6d9a41f
12 Patch0:         %{name}-Makefile.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
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
33 üÔÏ ÎÁÐÉÓÁÎÎÙÊ Ó "ÎÕÌÑ" ËÌÉÅÎÔ (RFC 954), ÓÏ×ÍÅÓÔÉÍÙÊ Ó whois(1)
34 ÐÒÏÇÒÁÍÍÁÍÉ BSD É RIPE. ÷ ÂÏÌØÛÉÎÓÔ×Å ÓÌÕÞÁÅ× ÏΠÍÏÖÅÔ Á×ÔÏÍÁÔÉÞÅÓËÉ
35 ×ÙÂÉÒÁÔØ ÐÒÁ×ÉÌØÎÙÊ whois ÓÅÒ×ÅÒ × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ÚÁÐÒÏÓÁ.
36
37 %description -l uk
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}
58
59 install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc README debian/changelog
72 %attr(755,root,root) %{_bindir}/*
73 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf
74 %{_mandir}/man1/*
This page took 0.162449 seconds and 2 git commands to generate.