From 19b238a74a7c98945504cceb273d20068c26cc2092ed2ab529eb492d36546836 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 25 Feb 2008 16:47:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wget?expand=0&rev=3 --- wget.changes | 5 ++ wget.spec | 158 +++++++++++++++++++++++++-------------------------- 2 files changed, 83 insertions(+), 80 deletions(-) diff --git a/wget.changes b/wget.changes index d445ab0..b0df60e 100644 --- a/wget.changes +++ b/wget.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 24 06:02:11 CET 2008 - crrodriguez@suse.de + +- make use of find_lang macro + ------------------------------------------------------------------- Wed Mar 28 19:13:11 CEST 2007 - max@suse.de diff --git a/wget.spec b/wget.spec index fd43378..db188d2 100644 --- a/wget.spec +++ b/wget.spec @@ -1,7 +1,7 @@ # # spec file for package wget (Version 1.10.2) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,14 +10,15 @@ # norootforbuild + Name: wget BuildRequires: libpng-devel openssl-devel -URL: http://wget.sunsite.dk/ -License: GNU General Public License (GPL) +Url: http://wget.sunsite.dk/ +License: GPL v2 or later Group: Productivity/Networking/Web/Utilities -Autoreqprov: on +AutoReqProv: on Version: 1.10.2 -Release: 46 +Release: 103 Summary: A Tool for Mirroring FTP and HTTP Servers Source: %name-%version.tar.bz2 Patch: nops_doc.diff @@ -58,102 +59,99 @@ rename no nb $RPM_BUILD_DIR/wget*/po/no.* %build ./autogen.sh CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -W -Wall -Wpointer-arith -Wno-unused-parameter -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fstack-protector" \ -./configure --prefix=%{_prefix} \ - --infodir=%{_infodir} \ - --sysconfdir=%{_sysconfdir} \ - --mandir=%{_mandir} \ +%configure \ --with-ssl \ --with-ipv4-default \ --enable-ipv6 \ - --enable-LFS \ - %{_target_cpu}-suse-linux + --enable-LFS make localedir=%{_datadir}/locale make -C doc everything %install make DESTDIR=$RPM_BUILD_ROOT install +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT; %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz - %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%files +%files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING NEWS README MAILING-LIST PATCHES TODO %doc doc/sample.wgetrc util/rmold.pl -%doc %{_mandir}/*/wget* -%doc %{_infodir}/wget* +%{_mandir}/*/wget* +%{_infodir}/wget* %config(noreplace) %{_sysconfdir}/wgetrc %{_bindir}/* -%{_datadir}/locale/*/*/* %changelog -* Wed Mar 28 2007 - max@suse.de +* Sun Feb 24 2008 crrodriguez@suse.de +- make use of find_lang macro +* Wed Mar 28 2007 max@suse.de - Fixes a null pointer dereference (#231063, CVE-2006-6719) -* Thu Jun 22 2006 - max@suse.de +* Thu Jun 22 2006 max@suse.de - Removed the unneeded fix for CAN-2004-1487 (bugs #179369 and #185214). - Filter escape responses from the HTTP server (CAN-2004-1488, bug #185265). -* Wed Feb 01 2006 - max@suse.de +* Wed Feb 01 2006 max@suse.de - Fixed (hacked) restart of interrupted FTP transactions (#144410). -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Jan 16 2006 - mmj@suse.de +* Mon Jan 16 2006 mmj@suse.de - Compile with -fstack-protector -* Fri Oct 14 2005 - mmj@suse.de +* Fri Oct 14 2005 mmj@suse.de - Update to wget 1.10.2 -* Mon Sep 19 2005 - mmj@suse.de +* Mon Sep 19 2005 mmj@suse.de - Fix strict aliasing issues -* Tue Aug 30 2005 - mmj@suse.de +* Tue Aug 30 2005 mmj@suse.de - Update to wget-1.10.1 which is a bugfix release [#113682] -* Mon Jun 13 2005 - mmj@suse.de +* Mon Jun 13 2005 mmj@suse.de - Update to wget-1.10 which has LFS and non-experimental IPv6, among many other improvements and bugfixes -* Tue Apr 26 2005 - mmj@suse.de +* Tue Apr 26 2005 mmj@suse.de - Fix the way fnmatch matches [#75791] -* Fri Apr 08 2005 - mmj@suse.de +* Fri Apr 08 2005 mmj@suse.de - Add sanitizing URLs patch - Add other patches -* Thu Mar 31 2005 - mmj@suse.de +* Thu Mar 31 2005 mmj@suse.de - Don't double UTF-8 encode german messages [#74544] -* Fri Feb 11 2005 - mmj@suse.de +* Fri Feb 11 2005 mmj@suse.de - Roll back to wget-1.9.1 since the wget tree with LFS support is too buggy. We rather want a functioning wget. [#47965] -* Mon Jan 31 2005 - ro@suse.de +* Mon Jan 31 2005 ro@suse.de - texi2html changed behaviour, adapt filelist -* Thu Dec 02 2004 - mmj@suse.de +* Thu Dec 02 2004 mmj@suse.de - Update to 20041113 wget-LFS snapshot - Fix NULL pointer assertion [#48748] -* Mon Nov 15 2004 - mmj@suse.de +* Mon Nov 15 2004 mmj@suse.de - Use another version of the fix below -* Sun Nov 14 2004 - mmj@suse.de +* Sun Nov 14 2004 mmj@suse.de - Add fix for using proxies [#47965] -* Mon Oct 18 2004 - mmj@suse.de +* Mon Oct 18 2004 mmj@suse.de - locale no should correctly be nb so rename po/no* to po/nb* -* Mon Sep 27 2004 - mmj@suse.de +* Mon Sep 27 2004 mmj@suse.de - Use LFS patch from Leonid Petrov [#37967] [#45084] -* Mon Jun 28 2004 - mmj@suse.de +* Mon Jun 28 2004 mmj@suse.de - Fix what appears to be a copy/paste error in the dual-family IPv4+IPv6 patch [#42503]. -* Thu Apr 01 2004 - mmj@suse.de +* Thu Apr 01 2004 mmj@suse.de - Enable download of files > 2 GB [#37967] - Remove old crufty comments -* Fri Feb 20 2004 - pth@suse.de +* Fri Feb 20 2004 pth@suse.de - Correctly set the charset for de.po to utf-8. Fixes #34708. -* Sun Feb 01 2004 - mmj@suse.de +* Sun Feb 01 2004 mmj@suse.de - Update to 1.9.1 which is a bugfix release -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - build as user -* Tue Oct 28 2003 - mmj@suse.de +* Tue Oct 28 2003 mmj@suse.de - Add patch for dual-family IPv4+IPv6 support from Ari Edelkind -* Mon Oct 27 2003 - mmj@suse.de +* Mon Oct 27 2003 mmj@suse.de - Update to version 1.9 and remove patches, which was included upstream. 1.9 news: o specify what POST method be used for HTTP @@ -181,106 +179,106 @@ rm -rf $RPM_BUILD_ROOT; and "off" o It is now possible to specify decimal values for timeouts, waiting periods, and download rate. -* Tue Jul 15 2003 - pthomas@suse.de +* Tue Jul 15 2003 pthomas@suse.de - Add security fix to unconditionally terminate the filename in url.c(compose_file_name). -* Thu Apr 24 2003 - ro@suse.de +* Thu Apr 24 2003 ro@suse.de - fix install_info --delete call and move from preun to postun -* Tue Apr 01 2003 - schwab@suse.de +* Tue Apr 01 2003 schwab@suse.de - Define _GNU_SOURCE to fix missing declarations. -* Fri Mar 07 2003 - ro@suse.de +* Fri Mar 07 2003 ro@suse.de - fix build with current autoconf -* Thu Mar 06 2003 - pthomas@suse.de +* Thu Mar 06 2003 pthomas@suse.de - Add missing change log entry. -* Wed Mar 05 2003 - pthomas@suse.de +* Wed Mar 05 2003 pthomas@suse.de - Add security fix that makes wget check for '..' and '/' in file names. -* Wed Feb 12 2003 - kukuk@suse.de +* Wed Feb 12 2003 kukuk@suse.de - Remove ps and pdf documenation, info, man and html are enough. [Bug #23592] -* Tue Feb 11 2003 - mmj@suse.de +* Tue Feb 11 2003 mmj@suse.de - Use %%install_info macro [#23468] - Don't remove $RPM_BUILD_ROOT without checking it's not "/" -* Thu Oct 24 2002 - pthomas@suse.de +* Thu Oct 24 2002 pthomas@suse.de - Change wgetrc to make wget use passive_ftp per default. -* Wed Aug 07 2002 - mmj@suse.de +* Wed Aug 07 2002 mmj@suse.de - Update to 1.8.2 which is a bugfix release. -* Wed Jul 10 2002 - okir@suse.de +* Wed Jul 10 2002 okir@suse.de - added patch for IPv6 support -* Tue May 14 2002 - meissner@suse.de +* Tue May 14 2002 meissner@suse.de - replaced assert msecs>=0 by if (msecs<0) msecs=0. (stupid assert) -* Fri Feb 01 2002 - ro@suse.de +* Fri Feb 01 2002 ro@suse.de - changed neededforbuild to -* Mon Jan 14 2002 - bk@suse.de +* Mon Jan 14 2002 bk@suse.de - marked wgetrc as noreplace, format is compatible to older versions -* Mon Jan 07 2002 - pthomas@suse.de +* Mon Jan 07 2002 pthomas@suse.de - Upgrade to 1.8.1 -* Thu Dec 13 2001 - pthomas@suse.de +* Thu Dec 13 2001 pthomas@suse.de - Upgrade to 1.8 - Regenerate pdf_doc.diff - Drop ppc specific patch as it's not needed anymore. - Install all HTML pages and not only the table of contents. - Pass DESTDIR on from the toplevel Makefile. -* Mon Aug 20 2001 - olh@suse.de +* Mon Aug 20 2001 olh@suse.de - add wget-1.7.ppc.diff to fix segfault on ppc -* Fri Jun 08 2001 - pthomas@suse.de +* Fri Jun 08 2001 pthomas@suse.de - Upgrade to 1.7. - Add a target to doc/Makefile to build a PDF version of the documentation. - Compile with SSL support (for HTTPS). -* Fri May 25 2001 - bjacke@suse.de +* Fri May 25 2001 bjacke@suse.de - apply and enable IPv6 patch - add Debian's manpage -* Thu May 10 2001 - mfabian@suse.de +* Thu May 10 2001 mfabian@suse.de - bzip2 sources -* Fri Mar 30 2001 - pthomas@suse.de +* Fri Mar 30 2001 pthomas@suse.de - Apply my patch accepted for wget 1.7 that replaces ctype.h with safe-ctype.h, a locale independent version of ctype.h taken from libiberty. This makes setting LC_CTYPE safe. -* Thu Mar 08 2001 - ke@suse.de +* Thu Mar 08 2001 ke@suse.de - Build and install a printable manual (PDF). -* Thu Mar 01 2001 - pthomas@suse.de +* Thu Mar 01 2001 pthomas@suse.de - Set LC_CTYPE along with LC_MESSAGES to correctly display messages in locales other then C/POSIX. -* Wed Feb 14 2001 - schwab@suse.de +* Wed Feb 14 2001 schwab@suse.de - Fix large file support (#2647). -* Mon Jan 22 2001 - ke@suse.de +* Mon Jan 22 2001 ke@suse.de - Update to version 1.6. - wget.spec: Use proper rpm macros. - Add README.SuSE - Drop security patch (cf. 1999-02-09 and README.SuSE); not needed any longer. - Lost large file support (cf. README.SuSE); reopen #2647. -* Fri Jun 09 2000 - schwab@suse.de +* Fri Jun 09 2000 schwab@suse.de - Change all values that count bytes from long to unsigned long (#2647). -* Sun Feb 20 2000 - ke@suse.de +* Sun Feb 20 2000 ke@suse.de - General spec file cleanup: - add group tag. - use various macros (%%{version}, %%{_infodir}). - ./configure -> %%build. -* Sat Oct 02 1999 - ke@suse.de +* Sat Oct 02 1999 ke@suse.de - Add more PO files from http://www.iro.umontreal.ca/~pinard/po/HTML/domain-wget.html. -* Mon Sep 13 1999 - bs@suse.de +* Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. -* Tue Feb 09 1999 - ke@suse.de +* Tue Feb 09 1999 ke@suse.de - Security fix (proposed by marc). -* Sun Jan 17 1999 - ke@suse.de +* Sun Jan 17 1999 ke@suse.de - apply patch (new de.po). - fix BuildRoot. -* Thu Sep 24 1998 - ke@suse.de +* Thu Sep 24 1998 ke@suse.de - Update: wget-1.5.3 (bug fix release). -* Fri Jun 26 1998 - ke@suse.de +* Fri Jun 26 1998 ke@suse.de - Update: wget-1.5.2 (bug fix release). - Make BuildRoot work. -* Tue May 12 1998 - ke@suse.de +* Tue May 12 1998 ke@suse.de - update: wget-1.5.1 (bug fix release). -* Fri Apr 24 1998 - ke@suse.de +* Fri Apr 24 1998 ke@suse.de - enable NLS. -* Thu Apr 23 1998 - ke@suse.de +* Thu Apr 23 1998 ke@suse.de - update: wget-1.5.0. -* Sat Jun 21 1997 - Karl Eichwalder +* Sat Jun 21 1997 Karl Eichwalder * patch from Hrvoje Niksic to prevent crashes if you are using proxy authorization. -* Mon May 19 1997 - Karl Eichwalder +* Mon May 19 1997 Karl Eichwalder * new package: wget-1.4.5