diff options
-rwxr-xr-x | configure | 16 | ||||
-rw-r--r-- | packaging/wget.manifest | 5 | ||||
-rw-r--r-- | packaging/wget.spec | 44 |
3 files changed, 57 insertions, 8 deletions
@@ -52428,12 +52428,12 @@ if test -n "$OPENSSL_CFLAGS"; then pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 - ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl1.1") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null` + pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -52445,12 +52445,12 @@ if test -n "$OPENSSL_LIBS"; then pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 - ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl1.1") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null` + pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -52471,9 +52471,9 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1` + OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl1.1" 2>&1` else - OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1` + OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl1.1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$OPENSSL_PKG_ERRORS" >&5 diff --git a/packaging/wget.manifest b/packaging/wget.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/wget.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/wget.spec b/packaging/wget.spec new file mode 100644 index 0000000..46cf907 --- /dev/null +++ b/packaging/wget.spec @@ -0,0 +1,44 @@ +Name: wget +Version: 1.21.1 +Release: 0 +Summary: A Tool for Mirroring FTP and HTTP Servers +License: GPL-3.0+ +Group: Productivity/Networking/Web/Utilities +Url: http://www.gnu.org/software/wget/ +Source: %name-%version.tar.bz2 +Source1001: wget.manifest +BuildRequires: automake +BuildRequires: libidn-devel +BuildRequires: makeinfo +BuildRequires: pkgconfig(openssl1.1) + +%description +Wget enables you to retrieve WWW documents or FTP files from a server. +This can be done in script files or via the command line. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%configure --with-ssl=openssl +make %{?_smp_mflags} + +%install +%make_install +%find_lang %{name} + +%lang_package + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%license COPYING +%doc doc/sample.wgetrc util/rmold.pl +%{_mandir}/*/wget* +%{_infodir}/wget* +%config(noreplace) %{_sysconfdir}/wgetrc +%{_bindir}/* +%{_datadir}/locale/*/LC_MESSAGES/wget-gnulib.mo + +%changelog |