]> git.pld-linux.org Git - packages/whois.git/blob - whois.spec
94fb9951d2a596b038e1fac573849f775cbc44c5
[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.17
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:  011d6615a413a5f4439191d773772b5c
12 Patch0:         %{name}-idn.patch
13 Patch1:         %{name}-mobi.patch
14 URL:            http://www.linux.it/~md/software/
15 BuildRequires:  gettext-devel
16 BuildRequires:  libidn-devel
17 BuildRequires:  perl-base
18 Obsoletes:      inetutils-whois
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This is a new whois (RFC 954) client rewritten from scratch. It is
23 derived from and compatible with the usual BSD and RIPE whois(1)
24 programs. It is intelligent and can automatically select the
25 appropriate whois server for most queries.
26
27 %description -l pl
28 To jest nowy klient us³ugi whois (RFC 954) napisany ca³kowicie od
29 nowa. Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest
30 inteligentny i automatycznie dobiera poprawny serwer whois dla
31 wiêkszosci zapytañ.
32
33 %description -l ru
34 üÔÏ ÎÁÐÉÓÁÎÎÙÊ Ó "ÎÕÌÑ" ËÌÉÅÎÔ (RFC 954), ÓÏ×ÍÅÓÔÉÍÙÊ Ó whois(1)
35 ÐÒÏÇÒÁÍÍÁÍÉ BSD É RIPE. ÷ ÂÏÌØÛÉÎÓÔ×Å ÓÌÕÞÁÅ× ÏΠÍÏÖÅÔ Á×ÔÏÍÁÔÉÞÅÓËÉ
36 ×ÙÂÉÒÁÔØ ÐÒÁ×ÉÌØÎÙÊ whois ÓÅÒ×ÅÒ × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ÚÁÐÒÏÓÁ.
37
38 %description -l uk
39 ãÅ ÚÁÎÏ×Ï ÎÁÐÉÓÁÎÉÊ Ë̦¤ÎÔ whois (RFC 954), ÓÕͦÓÎÉÊ Ú whois(1)
40 ÐÒÏÇÒÁÍÁÍÉ BSD ÔÁ RIPE. ÷¦Î × Â¦ÌØÛÏÓÔ¦ ×ÉÐÁÄ˦נÍÏÖÅ Á×ÔÏÍÁÔÉÞÎÏ
41 ×ÉÂÉÒÁÔÉ ÐÒÁ×ÉÌØÎÉÊ whois ÓÅÒ×ÅÒ × ÚÁÌÅÖÎÏÓÔ¦ ×¦Ä ÚÁÐÉÔÕ.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47
48 mv -f po/{no,nb}.po
49 %{__perl} -pi -e 's/no\.mo/nb.mo/' po/Makefile
50
51 %build
52 %{__make} \
53         CC="%{__cc}" \
54         OPTS="%{rpmcflags}" \
55         HAVE_LIBIDN=1
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
60
61 install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
62
63 %{__make} install \
64         BASEDIR=$RPM_BUILD_ROOT \
65         prefix=%{_prefix}
66
67 %find_lang %{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc README debian/changelog
75 %attr(755,root,root) %{_bindir}/*
76 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf
77 %{_mandir}/man1/*
This page took 0.050298 seconds and 3 git commands to generate.