]> git.pld-linux.org Git - packages/wget.git/blobdiff - wget.spec
- real update for 1.10.1
[packages/wget.git] / wget.spec
index f4ff4a34e1aa97281dd9d80991b1686ae7216d1c..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:       0.1
+Version:       1.10
+Release:       2
 License:       GPL
 Group:         Networking/Utilities
-Source0:       http://fly.srk.fer.hr/~hniksic/wget/%{name}-%{version}-beta4.tar.gz
-# Source0-md5: 810085ed7df4da45353f4b836a1b06b3
+Source0:       ftp://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.gz
+# 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
-Patch3:                %{name}-ht.patch
-Patch4:                %{name}-filename.patch
-Patch5:                %{name}-lame_fs.patch
-Patch6:                %{name}-pl.patch
-Patch7:                %{name}-wgetrc_path.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
@@ -104,42 +107,44 @@ GNU Wget - 
 Proxy ÓÅÒ×ÅÒ¦×, ÎÁÓÔÒÏÀ×ÁΦÓÔØ.
 
 %prep
-%setup -q -n %{name}-%{version}-beta4
-#%patch0 -p1
+%setup -q
+%patch0 -p1
 %patch1 -p1
-#%patch3 -p0
-#%patch4 -p1
-#%patch5 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 %patch6 -p1
-%patch7 -p1
+rm -f doc/wget.info doc/sample.wgetrc.munged_for_texi_inclusion
+
+mv -f po/{no,nb}.po
 
 %build
-rm -f missing
+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}
 
-echo "y" | \
-       %{__make} install \
-               DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       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.082403 seconds and 4 git commands to generate.