浏览代码

jwhois-4.0-5

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9674 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 9 年之前
父节点
当前提交
2dd86ebbf3
共有 1 个文件被更改,包括 22 次插入2 次删除
  1. 22 2
      j/jwhois/jwhois-vl.spec

+ 22 - 2
j/jwhois/jwhois-vl.spec

@@ -2,7 +2,7 @@ Summary: Internet whois/nicname client.
 Summary(ja): whois クライアント
 Name: jwhois
 Version: 4.0
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
 
 License: GPLv3
 Group: Applications/Internet
@@ -18,6 +18,13 @@ Source10: jwhois-r1.143.conf
 
 Patch0: jwhois-4.0-connect.patch
 Patch1: jwhois-4.0-ipv6match.patch
+Patch2: jwhois-4.0-fclose.patch
+Patch3: jwhois-4.0-select.patch
+Patch4: jwhois-4.0-conf-update.patch
+Patch5: jwhois-4.0-multi-homed.patch
+Patch6: jwhois-4.0-libidn2.patch
+Patch7: jwhois-4.0-idna.patch
+Patch8: jwhois-4.0-idnfail.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: libidn-devel
@@ -36,6 +43,16 @@ A whois client that accepts both traditional and finger-style queries.
 %setup -q
 %patch0 -p1 -b .connect
 %patch1 -p1 -b .ipv6match
+%patch2 -p1 -b .fclose
+%patch3 -p1 -b .select
+%patch4 -p1 -b .conf-update
+%patch5 -p1 -b .multi-homed
+%patch6 -p1 -b .libidn2
+%patch7 -p1 -b .idna
+%patch8 -p1 -b .idnfail
+
+iconv -f iso-8859-1 -t utf-8 < doc/sv/jwhois.1 > doc/sv/jwhois.1_
+mv doc/sv/jwhois.1_ doc/sv/jwhois.1
 
 %build
 %configure --without-cache
@@ -56,7 +73,7 @@ ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois
 echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1
 
 # install newest jwhois.conf
-install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf
+#install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf
 
 
 %files -f %{name}.lang
@@ -82,6 +99,9 @@ fi
 
 
 %changelog
+* Thu Jul  9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-5
+- import patches from rawhide.
+
 * Fri Jan  4 2013 IWAI, Masaharu <iwai@alib.jp> 4.0-4
 - update jwhois.conf (Source10) from cvs head (revision: 1.143)
 - add Vendor and Distribution tags