|
@@ -1,13 +1,13 @@
|
|
Summary: A sophisticated file transfer program
|
|
Summary: A sophisticated file transfer program
|
|
Summary(ja): 洗練された ftp/http クライアント
|
|
Summary(ja): 洗練された ftp/http クライアント
|
|
Name: lftp
|
|
Name: lftp
|
|
-Version: 4.8.3
|
|
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Version: 4.8.4
|
|
|
|
+Release: 1%{?_dist_release}
|
|
License: GPLv3
|
|
License: GPLv3
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
URL: http://lftp.yar.ru/
|
|
URL: http://lftp.yar.ru/
|
|
|
|
|
|
-Source: http://ftp.yars.free.net/pub/source/lftp/lftp-%{version}.tar.xz
|
|
|
|
|
|
+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
|
|
@@ -54,11 +54,21 @@ LFTP のユーティリティスクリプトです。
|
|
# msgmerge -v %{SOURCE10} po/ja.po.orig -o po/ja.po
|
|
# msgmerge -v %{SOURCE10} po/ja.po.orig -o po/ja.po
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+CFLAGS="%{optflags}"
|
|
|
|
+CXXFLAGS="%{optflags}"
|
|
|
|
+LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"
|
|
|
|
+
|
|
if pkg-config openssl ; then
|
|
if pkg-config openssl ; then
|
|
- CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS
|
|
|
|
- LDFLAGS=`pkg-config --libs-only-L openssl`; export LDFLAGS
|
|
|
|
|
|
+ OPENSSL_CPPFLAGS=`pkg-config --cflags openssl`;
|
|
|
|
+ OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`;
|
|
|
|
+ CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS"
|
|
|
|
+ LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
|
|
fi
|
|
fi
|
|
-LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"; export LDFLAGS
|
|
|
|
|
|
+
|
|
|
|
+export CFLAGS
|
|
|
|
+export CXXFLAGS
|
|
|
|
+export LDFLAGS
|
|
|
|
+
|
|
%configure --with-modules --disable-static --with-openssl
|
|
%configure --with-modules --disable-static --with-openssl
|
|
export tagname=CC
|
|
export tagname=CC
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
@@ -81,7 +91,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc README README.modules FAQ THANKS COPYING
|
|
|
|
|
|
+%license COPYING
|
|
|
|
+%doc README README.modules FAQ THANKS
|
|
%doc TODO NEWS FEATURES
|
|
%doc TODO NEWS FEATURES
|
|
%config(noreplace) %{_sysconfdir}/lftp.conf
|
|
%config(noreplace) %{_sysconfdir}/lftp.conf
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
@@ -95,13 +106,17 @@ rm -rf $RPM_BUILD_ROOT
|
|
# %{_libdir}/lftp/%{version}/liblftp-getdate.so
|
|
# %{_libdir}/lftp/%{version}/liblftp-getdate.so
|
|
%{_libdir}/lftp/%{version}/liblftp-pty.so
|
|
%{_libdir}/lftp/%{version}/liblftp-pty.so
|
|
%{_libdir}/lftp/%{version}/proto-*.so
|
|
%{_libdir}/lftp/%{version}/proto-*.so
|
|
-
|
|
|
|
|
|
+%{_datadir}/applications/lftp.desktop
|
|
|
|
+%{_datadir}/icons/hicolor/48x48/apps/lftp-icon.png
|
|
|
|
|
|
%files scripts
|
|
%files scripts
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_datadir}/lftp
|
|
%{_datadir}/lftp
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Oct 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.4-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Sat Aug 31 2019 Toshiaki Ara <ara_t@384.jp> 4.8.3-3
|
|
* Sat Aug 31 2019 Toshiaki Ara <ara_t@384.jp> 4.8.3-3
|
|
- rebuild with readline-8.0 and ncurses-6.1
|
|
- rebuild with readline-8.0 and ncurses-6.1
|
|
|
|
|