|
@@ -2,7 +2,7 @@ Summary: A sophisticated file transfer program
|
|
Summary(ja): 洗練された ftp/http クライアント
|
|
Summary(ja): 洗練された ftp/http クライアント
|
|
Name: lftp
|
|
Name: lftp
|
|
Version: 4.9.2
|
|
Version: 4.9.2
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
Group: internet
|
|
Group: internet
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -15,7 +15,7 @@ Source: http://lftp.yar.ru/ftp/lftp-%{version}.tar.xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: expat-devel
|
|
BuildRequires: expat-devel
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: ncurses-devel
|
|
-BuildRequires: openssl-devel
|
|
|
|
|
|
+BuildRequires: gnutls-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: readline-devel
|
|
BuildRequires: readline-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: zlib-devel
|
|
@@ -63,18 +63,20 @@ CFLAGS="%{optflags}"
|
|
CXXFLAGS="%{optflags}"
|
|
CXXFLAGS="%{optflags}"
|
|
LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"
|
|
LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"
|
|
|
|
|
|
|
|
+%if 0
|
|
if pkg-config openssl ; then
|
|
if pkg-config openssl ; then
|
|
OPENSSL_CPPFLAGS=`pkg-config --cflags openssl`;
|
|
OPENSSL_CPPFLAGS=`pkg-config --cflags openssl`;
|
|
OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`;
|
|
OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`;
|
|
CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS"
|
|
CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS"
|
|
LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
|
|
LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
|
|
fi
|
|
fi
|
|
|
|
+%endif
|
|
|
|
|
|
export CFLAGS
|
|
export CFLAGS
|
|
export CXXFLAGS
|
|
export CXXFLAGS
|
|
export LDFLAGS
|
|
export LDFLAGS
|
|
|
|
|
|
-%configure --with-modules --disable-static --with-openssl
|
|
|
|
|
|
+%configure --with-modules --disable-static --with-gnutls
|
|
export tagname=CC
|
|
export tagname=CC
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
@@ -119,6 +121,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Oct 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.2-2
|
|
|
|
+- disabled openssl.
|
|
|
|
+- built with gnutls.
|
|
|
|
+
|
|
* Fri Mar 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.2-1
|
|
* Fri Mar 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.2-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|