wget/wget.spec

108 lines
2.8 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:19:50 -04:00
Name: wget
2023-02-03 08:23:51 +00:00
Version: 1.21.3
Release: 1
2019-09-30 11:19:50 -04:00
Summary: A package for retrieving files using HTTP, HTTPS, FTP and FTPS the most widely-used Internet protocols.
License: GPLv3+
Url: http://www.gnu.org/software/wget/
2020-12-15 17:26:11 +08:00
Source: https://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz
2019-09-30 11:19:50 -04:00
2023-02-03 08:23:51 +00:00
Patch0: backport-wget-1.17-path.patch
Patch1: backport-wget-1.21.3-hsts-32bit.patch
2020-04-23 10:16:39 +08:00
2019-09-30 11:19:50 -04:00
Provides: webclient bundled(gnulib)
2023-02-03 08:23:51 +00:00
BuildRequires: make perl-HTTP-Daemon python3 libuuid-devel perl-podlators libpsl-devel libmetalink-devel
2019-09-30 11:19:50 -04:00
BuildRequires: gnutls-devel pkgconfig texinfo gettext autoconf libidn2-devel gpgme-devel zlib-devel
2021-05-27 10:55:53 +08:00
BuildRequires: gcc
2019-09-30 11:19:50 -04:00
%description
GNU Wget is a free software package for retrieving files using HTTP, HTTPS,
FTP and FTPS the most widely-used Internet protocols. It is a non-interactive
commandline tool, so it may easily be called from scripts, cron jobs, terminals
without X-Windows support, etc.
%package help
Summary: help package for %{name}
%description help
This is the help package for %{name}. It includes some doc
files and man, info files.
%prep
%autosetup -p1
%build
2022-03-22 15:23:00 +08:00
%configure --with-ssl=gnutls --with-libpsl --enable-largefile --enable-opie --enable-digest --enable-ntlm --enable-nls --enable-ipv6 --disable-rpath --with-metalink --disable-year2038
2019-09-30 11:19:50 -04:00
%make_build
%install
%make_install CFLAGS="$RPM_OPT_FLAGS"
%find_lang %{name}
2022-03-22 15:23:00 +08:00
%find_lang %{name}-gnulib
2019-09-30 11:19:50 -04:00
rm -f %{buildroot}%{_infodir}/dir
%check
make check
2022-03-22 15:23:00 +08:00
%files -f %{name}.lang -f %{name}-gnulib.lang
2019-09-30 11:19:50 -04:00
%doc AUTHORS COPYING
%config(noreplace) %{_sysconfdir}/wgetrc
%{_bindir}/wget
%files help
%doc MAILING-LIST NEWS README doc/sample.wgetrc
%{_mandir}/man1/wget.*
%{_infodir}/*
%changelog
2023-02-03 08:23:51 +00:00
* Fri Feb 03 2023 xingwei <xingwei14@h-partners.com> - 1.21.3-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC:update wget to 1.21.3
2022-10-22 03:06:03 +00:00
* Sat Oct 22 2022 gaihuiying <eaglegai@163.com> - 1.21.2-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix find_cell(): wget killed by SIGSEGV
2022-03-22 15:23:00 +08:00
* Tue Mar 22 2022 xihaochen <xihaochen@huawei.com> - 1.21.2-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC:update wget to 1.21.2
2021-07-30 11:10:55 +08:00
* Fri Jul 30 2021 gaihuiying <gaihuiying1@huawei.com> - 1.20.3-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix build error with gcc10
2021-05-27 10:55:53 +08:00
* Thu May 27 2021 lijingyuan <lijingyuan3@huawei.com> - 1.20.3-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Add the compilation dependency of gcc.
2020-12-15 17:26:11 +08:00
* Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 1.20.3-3
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update source url
2020-04-23 10:16:39 +08:00
* Thu Apr 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.20.3-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Sanitize input param dl_total_time
2020-01-19 09:56:33 +08:00
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.20.3-1
2020-01-12 00:31:41 +08:00
- Type:NA
- ID:NA
- SUG:NA
- DESC:Package upgrade
2019-09-30 11:19:50 -04:00
* Sat Sep 14 2019 huzhiyu<huzhiyu1@huawei.com> - 1.19.5-6
- Package init