]> git.pld-linux.org Git - packages/whois.git/blob - whois.spec
- updated to 4.7.4
[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.4
7 Release:        1
8 License:        GPL
9 Group:          Networking/Utilities
10 #Source0:       http://www.linux.it/~md/software/%{name}_%{version}.tar.gz
11 Source0:        http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.gz
12 # Source0-md5:  4ca2fd5ce1cf97576e4e6e47b121b417
13 Patch0:         %{name}-Makefile.patch
14 URL:            http://www.linux.it/~md/software/
15 BuildRequires:  gettext-devel
16 BuildRequires:  libidn-devel
17 BuildRequires:  %{_bindir}/perl
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.045244 seconds and 4 git commands to generate.