Browse Source

wget-1.20-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11967 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
88c10f5bc8
1 changed files with 24 additions and 18 deletions
  1. 24 18
      w/wget/wget-vl.spec

+ 24 - 18
w/wget/wget-vl.spec

@@ -1,16 +1,15 @@
 Summary: A utility for retrieving files using the HTTP or FTP protocols.
 Summary(ja): HTTP/FTP プロトコルによるファイル取得ユーティリティ
 Name: wget
-Version: 1.18
-Release: 2%{?_dist_release}
+Version: 1.20
+Release: 1%{?_dist_release}
 License: GPL
 Group: Applications/Internet
-# Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
-Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
-Patch0:  wget-1.17.1-path.patch
+Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
+Patch0:  0001-wget-1.20-path.patch
 
 ## Vine Patch(es)
-Patch110:  wget-1.18_disable_sslv2.patch
+Patch110:  ../0002-wget-1.20-disable-sslv2.patch
 # Security Fix
 # Nothing !
 
@@ -74,7 +73,15 @@ perl -pi -e "s/^PACKAGE_STRING=.+$/PACKAGE_STRING='wget %{version} (Vine)'/" con
 
 %build
 CFLAGS="$RPM_OPT_FLAGS -DOPENSSL_NO_SSL2"; export CFLAGS
-%configure --with-ssl=openssl
+%configure \
+    --with-ssl=openssl \
+    --enable-opie \
+    --enable-digest \
+    --enable-ntlm \
+    --enable-nls \
+    --enable-ipv6 \
+    --disable-rpath
+
 %__make %{?_smp_mflags}
 pushd po
 msgfmt -o ja.gmo ja.po
@@ -83,15 +90,10 @@ popd
 %install
 %__rm -rf $RPM_BUILD_ROOT
 %makeinstall
-%find_lang %{name}
 
-%post
-/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir
+rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
 
-%preun
-if [ "$1" = 0 ]; then
-	/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir
-fi
+%find_lang %{name}
 
 %clean
 %__rm -rf $RPM_BUILD_ROOT
@@ -100,13 +102,17 @@ fi
 %defattr(-,root,root)
 %{!?_licensedir:%global license %%doc}
 %license COPYING
-%doc AUTHORS MAILING-LIST NEWS README INSTALL
-%config %{_sysconfdir}/wgetrc
-%{_bindir}/wget
-%{_infodir}/wget.info*
+%doc AUTHORS MAILING-LIST NEWS README doc/sample.wgetrc
+%config(noreplace) %{_sysconfdir}/wgetrc
 %{_mandir}/man1/wget.1*
+%{_bindir}/wget
+%{_infodir}/*
 
 %changelog
+* Mon Dec 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20-1
+- new upstream release.
+- updated Patch0 and 110.
+
 * Thu Jul 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18-2
 - fixed BR:.