]> git.pld-linux.org Git - packages/whois.git/blobdiff - whois.spec
- updated to 4.7.8
[packages/whois.git] / whois.spec
index 3f2e0b2e44711ea232a72c0ece57481b8ca2eac4..373ecfcf95cc81164d00349c8056d67906ae3146 100644 (file)
@@ -1,42 +1,65 @@
-Summary:       whois client program
-Summary(pl):   klient us³ugi whois
+Summary:       Enhanced WHOIS client
+Summary(pl):   Rozszerzony klient WHOIS
+Summary(ru):   õÌÕÞÛÅÎÎÙÊ ËÌÉÅÎÔ WHOIS
+Summary(uk):   ðÏËÒÁÝÅÎÉÊ Ë̦¤ÎÔ WHOIS
 Name:          whois
-Version:       4.5.15
+Version:       4.7.8
 Release:       2
 License:       GPL
 Group:         Networking/Utilities
-Group(de):     Netzwerkwesen/Werkzeuge
-Group(es):     Red/Utilitarios
-Group(pl):     Sieciowe/Narzêdzia
-Group(pt_BR):  Rede/Utilitários
-Source0:       http://www.linux.it/~md/software/%{name}_%{version}.tar.gz
+Source0:       http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.gz
+# Source0-md5: 41cc0635976d6d0b33ba3067ad246b97
 Patch0:                %{name}-Makefile.patch
+URL:           http://www.linux.it/~md/software/
+BuildRequires: gettext-devel
+BuildRequires: libidn-devel
+BuildRequires: perl-base
+Obsoletes:     inetutils-whois
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This is a new whois (RFC 954) client rewritten from scratch by me. It
-is derived from and compatible with the usual BSD and RIPE whois(1)
+This is a new whois (RFC 954) client rewritten from scratch. It is
+derived from and compatible with the usual BSD and RIPE whois(1)
 programs. It is intelligent and can automatically select the
 appropriate whois server for most queries.
 
 %description -l pl
-To jest nowy klient us³ugi whois*RFC 954) napisany ca³kowicie od nowa.
-Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest inteligentny i
-automatycznie dobiera poprawny serwer whois dla wiêkszosci zapytañ.
+To jest nowy klient us³ugi whois (RFC 954) napisany ca³kowicie od
+nowa. Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest
+inteligentny i automatycznie dobiera poprawny serwer whois dla
+wiêkszosci zapytañ.
+
+%description -l ru
+üÔÏ ÎÁÐÉÓÁÎÎÙÊ Ó "ÎÕÌÑ" ËÌÉÅÎÔ (RFC 954), ÓÏ×ÍÅÓÔÉÍÙÊ Ó whois(1)
+ÐÒÏÇÒÁÍÍÁÍÉ BSD É RIPE. ÷ ÂÏÌØÛÉÎÓÔ×Å ÓÌÕÞÁÅ× ÏΠÍÏÖÅÔ Á×ÔÏÍÁÔÉÞÅÓËÉ
+×ÙÂÉÒÁÔØ ÐÒÁ×ÉÌØÎÙÊ whois ÓÅÒ×ÅÒ × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ÚÁÐÒÏÓÁ.
+
+%description -l uk
+ãÅ ÚÁÎÏ×Ï ÎÁÐÉÓÁÎÉÊ Ë̦¤ÎÔ whois (RFC 954), ÓÕͦÓÎÉÊ Ú whois(1)
+ÐÒÏÇÒÁÍÁÍÉ BSD ÔÁ RIPE. ÷¦Î × Â¦ÌØÛÏÓÔ¦ ×ÉÐÁÄ˦נÍÏÖÅ Á×ÔÏÍÁÔÉÞÎÏ
+×ÉÂÉÒÁÔÉ ÐÒÁ×ÉÌØÎÉÊ whois ÓÅÒ×ÅÒ × ÚÁÌÅÖÎÏÓÔ¦ ×¦Ä ÚÁÐÉÔÕ.
 
 %prep
-%setup -q 
-%patch -p1
+%setup -q -n %{name}-4.7.7
+%patch0 -p1
+
+mv -f po/{no,nb}.po
+%{__perl} -pi -e 's/no\.mo/nb.mo/' po/Makefile
 
 %build
-%{__make} OPTS="%{rpmcflags}"
+%{__make} \
+       CC="%{__cc}" \
+       OPTS="%{rpmcflags}" \
+       HAVE_LIBIDN=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
-gzip -9nf README TODO
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name}
 
@@ -45,6 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {README,TODO}.gz
+%doc README debian/changelog
 %attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf
 %{_mandir}/man1/*
This page took 0.076579 seconds and 4 git commands to generate.