]> git.pld-linux.org Git - packages/wget.git/blobdiff - wget.spec
- real update for 1.10.1
[packages/wget.git] / wget.spec
index 054b970e35873c7dcddc1c806907539d2f6d7560..1ac2c37ce30cd3cd5e1fdcbede9846da3b0131f0 100644 (file)
--- a/wget.spec
+++ b/wget.spec
@@ -7,32 +7,35 @@ Summary(ru):  
 Summary(uk):   õÔÉ̦ÔÁ ÄÌÑ ÏÔÒÉÍÁÎÎÑ ÆÁÊ̦נÐÏ ÐÒÏÔÏËÏÌÁÍ HTTP ÔÁ FTP
 Summary(zh_CN):        [ͨѶ]¹¦ÄÜÇ¿´óµÄÏÂÔسÌÐò,Ö§³Ö¶ÏµãÐø´«
 Name:          wget
-Version:       1.9
-Release:       1
+Version:       1.10
+Release:       2
 License:       GPL
 Group:         Networking/Utilities
 Source0:       ftp://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.gz
-# Source0-md5: 18ac093db70801b210152dd69b4ef08a
+# Source0-md5: caddc199d2cb31969e32b19fd365b0c5
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: d8b2b56ec7461606c22edbafaf8a418f
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-ac.patch
-Patch2:                %{name}-m4.patch
-Patch3:                %{name}-lame_fs.patch
-Patch4:                %{name}-pl.patch
-Patch5:                %{name}-wgetrc_path.patch
-Patch6:                %{name}-back-to-ipv4.patch
+Patch2:                %{name}-pl.patch
+Patch3:                %{name}-wgetrc_path.patch
+Patch4:                %{name}-home_etc.patch
+Patch5:                %{name}-strptime.patch
+Patch6:                %{name}-segv.patch
 URL:           http://sunsite.dk/wget/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: gettext-devel
+BuildRequires: intltool
 BuildRequires: libtool
-BuildRequires: openssl-devel >= 0.9.7c
+BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: texinfo
 BuildRequires: perl-devel
 Provides:      webclient
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _noautoreqfiles         %{_bindir}/rmold
+
 %description
 GNU Wget is a file retrieval utility which can use either the HTTP or
 FTP protocols. Wget features include the ability to work in the
@@ -108,37 +111,40 @@ Proxy 
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-#%patch3 -p1
+%patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+rm -f doc/wget.info doc/sample.wgetrc.munged_for_texi_inclusion
+
+mv -f po/{no,nb}.po
 
 %build
+mv ac{local,include}.m4
 %{__libtoolize}
 %{__gettextize}
+intltoolize --copy --force
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
 %configure \
-       --with-ssl \
-       --enable-ipv6
+       --with-ssl
 %{__make}
-tail -6 util/README >rmold.README
-
-cd doc
-makeinfo --force %{name}.texi; touch *
+tail -n 6 util/README >rmold.README
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       GETTEXT_PACKAGE=wget
 
 install util/rmold.pl          $RPM_BUILD_ROOT%{_bindir}/rmold
 install doc/sample.wgetrc      $RPM_BUILD_ROOT%{_sysconfdir}/wgetrc
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+rm -f $RPM_BUILD_ROOT%{_mandir}/README*
 
 %find_lang %{name}
 
This page took 0.05736 seconds and 4 git commands to generate.