]> git.pld-linux.org Git - packages/whois.git/blob - whois.spec
44e288af6b566d52e545a693abb89c567ea756a2
[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:        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:  011d6615a413a5f4439191d773772b5c
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
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},%{_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.043782 seconds and 3 git commands to generate.