wget2/wget2.spec

245 lines
7.9 KiB
RPMSpec
Raw Permalink Normal View History

%define with_ssl 1
Name: wget2
Epoch: 1
Version: 2.1.0
Release: 1mamba
Summary: A utility for retrieving files using the HTTP or FTP protocols
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnu.org/software/wget/
Source: https://ftp.gnu.org/gnu/wget/wget2-%{version}.tar.lz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbrotli-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpgme-devel
BuildRequires: libidn2-devel
BuildRequires: libnghttp2-devel
BuildRequires: libpcre2-devel
BuildRequires: libpsl-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
Requires(post):%{__install_info}
Requires(post): %{__install_info}
Requires: ca-certificates
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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 background while you're logged out, recursive retrieval of directories, file name wildcard matching, remote file timestamp storage and comparison, use of Rest with FTP servers and Range with HTTP servers to retrieve files over slow or unstable connections, support for Proxy servers, and configurability.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Provides: libwget
Obsoletes: libwget = 1:2.0.0-1mamba
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
Provides: libwget-devel
Obsoletes: libwget-devel = 1:2.0.0-1mamba
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--with-ssl=gnutls \
--with-libpsl \
--enable-largefile \
--enable-nls \
--disable-rpath
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_bindir}/wget2_noinstall
%find_lang %{name} --all-name
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info %{name}.info
:
%preun
%uninstall_info %{name}.info
:
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/wget2
%ifnarch arm aarch64
%{_mandir}/man1/*
%endif
%doc AUTHORS COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libwget.so.*
#%{_libdir}/libwget_*.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/wget.h
%{_includedir}/wgetver.h
%{_libdir}/libwget.a
%{_libdir}/libwget.so
#%{_libdir}/libwget_*.a
#%{_libdir}/libwget_*.la
#%{_libdir}/libwget_*.so
%{_mandir}/man3/libwget-*.3*
%{_libdir}/pkgconfig/libwget.pc
%changelog
* Sat Sep 02 2023 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Sat May 28 2022 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic version update by autodist
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-3mamba
- libwget2: remove requirement for wget
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
- package renamed from wget
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0
* Sun Nov 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.2-2mamba
- added ca-certificates setting to wgetrc and configure options from Fedora to fix SSL support
* Wed Sep 08 2021 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba
- automatic version update by autodist
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 1.21.1-1mamba
- automatic version update by autodist
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 1.20.3-1mamba
- automatic version update by autodist
* Fri Jun 10 2016 Automatic Build System <autodist@mambasoft.it> 1.18-1mamba
- automatic version update by autodist
* Mon Feb 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.1-2mamba
- rebuilt with gcc 5.3.0 and recent deps (fix libnettle segfault on i586)
* Sat Dec 12 2015 Automatic Build System <autodist@mambasoft.it> 1.17.1-1mamba
- automatic version update by autodist
* Mon Nov 16 2015 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
- automatic version update by autodist
* Tue Mar 10 2015 Automatic Build System <autodist@mambasoft.it> 1.16.3-1mamba
- automatic version update by autodist
* Tue Mar 03 2015 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
- automatic version update by autodist
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
- automatic version update by autodist
* Mon Nov 03 2014 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
- automatic version update by autodist
* Sun Jan 19 2014 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
- automatic version update by autodist
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-2mamba
- added libproxy support patch (from opensuse)
* Mon Aug 06 2012 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
- automatic version update by autodist
* Sun Sep 18 2011 Automatic Build System <autodist@mambasoft.it> 1.13.4-1mamba
- automatic version update by autodist
* Wed Aug 31 2011 Automatic Build System <autodist@mambasoft.it> 1.13.3-1mamba
- automatic version update by autodist
* Wed Aug 17 2011 Automatic Build System <autodist@mambasoft.it> 1.13.1-1mamba
- automatic version update by autodist
* Fri Aug 12 2011 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
- automatic version update by autodist
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12-2mamba
- rebuilt with openssl 1.0.0
* Mon Oct 12 2009 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
- automatic update to 1.12 by autodist
* Fri Sep 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.4-1mamba
- automatic update to 1.11.4 by autodist
* Tue Nov 13 2007 Aleph0 <aleph0@openmamba.org> 1.10.2-4mamba
- rebuilt
* Thu Mar 22 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.10.2-3qilnx
- always exit successfully from the %%preun script
* Tue Mar 20 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.10.2-2qilnx
- security fix against CVE-2006-6719
* Mon Oct 17 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.10.2-1qilnx
- update to version 1.10.2 by autospec
- also fixes the security issue QSA-2005-120 (CAN-2005-3185)
* Thu Oct 06 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.10.1-2qilnx
- removed rmold.pl script
* Mon Aug 22 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.10.1-1qilnx
- update to version 1.10.1 by autospec
- also fixes the security issue CAN-2004-2014
- patches updated
* Fri Jun 10 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.1-2qilnx
- security fix against CAN-2004-1487 and CAN-2004-1488
- large file support (LFS patch)
- fixed package group
- install/uninstall info files
* Mon Mar 01 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.1-1qilnx
- new version rebuilt
* Thu Jul 17 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.8.2-5qilnx
- added msec patch to allow program continuation when system clock is not monotone
* Tue May 27 2003 Alessandro Ramazzina <alessandro.ramazzina@qinet.it> 1.82-4qilnx
- modified wgetrc file, ftp passive is on now
* Mon May 26 2003 Alessandro Ramazzina <alessandro.ramazzina@qinet.it> 1.82-3qilnx
- added sysconfdir and infodir parameters
* Tue Apr 29 2003 Luca Tinelli <luca.tinelli@qinet.it> 1.82-2qilnx
- changed .bz extension for compress files
* Tue Apr 08 2003 Luca Tinelli <luca.tinelli@qinet.it> 1.82-1qilnx
- first build