]> git.pld-linux.org Git - packages/whois.git/blobdiff - whois.spec
- updated to 4.7.11
[packages/whois.git] / whois.spec
index 99339b00167f414e35bbc35c4be8304436c5275f..71d6ede4e5935f728af5f89f71d540db4f9d11c7 100644 (file)
@@ -3,15 +3,13 @@ Summary(pl):  Rozszerzony klient WHOIS
 Summary(ru):   õÌÕÞÛÅÎÎÙÊ ËÌÉÅÎÔ WHOIS
 Summary(uk):   ðÏËÒÁÝÅÎÉÊ Ë̦¤ÎÔ WHOIS
 Name:          whois
-Version:       4.6.11
+Version:       4.7.11
 Release:       1
 License:       GPL
 Group:         Networking/Utilities
 #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: beb48ed9877caa313d46d08104c642bf
-Patch0:                %{name}-Makefile.patch
-Patch1:                %{name}-pl.po-update.patch
+# Source0-md5: aca7ac4c907232f2eea5e7cbb7d6245d
 URL:           http://www.linux.it/~md/software/
 BuildRequires: gettext-devel
 BuildRequires: libidn-devel
@@ -42,8 +40,6 @@ wi
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 mv -f po/{no,nb}.po
 %{__perl} -pi -e 's/no\.mo/nb.mo/' po/Makefile
@@ -56,9 +52,13 @@ mv -f po/{no,nb}.po
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
+
+install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       BASEDIR=$RPM_BUILD_ROOT \
+       prefix=%{_prefix}
 
 %find_lang %{name}
 
@@ -69,4 +69,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %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.083676 seconds and 4 git commands to generate.