|
|
@ -1,17 +1,15 @@ |
|
|
|
Summary: A sophisticated file transfer program |
|
|
|
Summary: A sophisticated file transfer program |
|
|
|
Name: lftp |
|
|
|
Name: lftp |
|
|
|
Version: 4.8.3 |
|
|
|
Version: 4.8.4 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 3%{?dist} |
|
|
|
License: GPLv3+ |
|
|
|
License: GPLv3+ |
|
|
|
Group: Applications/Internet |
|
|
|
|
|
|
|
Source0: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz |
|
|
|
Source0: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz |
|
|
|
URL: http://lftp.yar.ru/ |
|
|
|
URL: http://lftp.yar.ru/ |
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
|
|
|
|
|
|
BuildRequires: ncurses-devel, gnutls-devel, pkgconfig, readline-devel, gettext |
|
|
|
BuildRequires: ncurses-devel, gnutls-devel, pkgconfig, readline-devel, gettext |
|
|
|
BuildRequires: zlib-devel |
|
|
|
BuildRequires: zlib-devel, gcc-c++ |
|
|
|
BuildRequires: desktop-file-utils |
|
|
|
BuildRequires: desktop-file-utils |
|
|
|
Patch1: lftp-4.0.9-date_fmt.patch |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: lftp-4.0.9-date_fmt.patch |
|
|
|
|
|
|
|
|
|
|
|
%description |
|
|
|
%description |
|
|
|
LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job |
|
|
|
LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job |
|
|
@ -19,30 +17,28 @@ control and uses the readline library for input. It has bookmarks, built-in |
|
|
|
mirroring, and can transfer several files in parallel. It is designed with |
|
|
|
mirroring, and can transfer several files in parallel. It is designed with |
|
|
|
reliability in mind. |
|
|
|
reliability in mind. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package scripts |
|
|
|
%package scripts |
|
|
|
Summary: Scripts for lftp |
|
|
|
Summary: Scripts for lftp |
|
|
|
Group: Applications/Internet |
|
|
|
|
|
|
|
Requires: lftp >= %{version}-%{release} |
|
|
|
Requires: lftp >= %{version}-%{release} |
|
|
|
BuildArch: noarch |
|
|
|
BuildArch: noarch |
|
|
|
|
|
|
|
|
|
|
|
%description scripts |
|
|
|
%description scripts |
|
|
|
Utility scripts for use with lftp. |
|
|
|
Utility scripts for use with lftp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup -q |
|
|
|
%setup -q |
|
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .date_fmt |
|
|
|
%patch1 -p1 -b .date_fmt |
|
|
|
|
|
|
|
|
|
|
|
#sed -i.rpath -e '/lftp_cv_openssl/s|-R.*lib||' configure |
|
|
|
#sed -i.rpath -e '/lftp_cv_openssl/s|-R.*lib||' configure |
|
|
|
sed -i.norpath -e \ |
|
|
|
sed -i.norpath -e \ |
|
|
|
'/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib64 |' \ |
|
|
|
'/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib64 |' \ |
|
|
|
configure |
|
|
|
configure |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
%configure --with-modules --disable-static --with-gnutls --without-openssl --with-debug |
|
|
|
%configure --with-modules --disable-static --with-gnutls --without-openssl --with-debug |
|
|
|
make %{?_smp_mflags} |
|
|
|
make %{?_smp_mflags} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
export tagname=CC |
|
|
|
export tagname=CC |
|
|
@ -61,21 +57,12 @@ rm $RPM_BUILD_ROOT%{_libdir}/liblftp-tasks.so |
|
|
|
desktop-file-install \ |
|
|
|
desktop-file-install \ |
|
|
|
--dir=%{buildroot}%{_datadir}/applications \ |
|
|
|
--dir=%{buildroot}%{_datadir}/applications \ |
|
|
|
%{buildroot}/%{_datadir}/applications/lftp.desktop |
|
|
|
%{buildroot}/%{_datadir}/applications/lftp.desktop |
|
|
|
%find_lang %{name} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean |
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} |
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig |
|
|
|
%ldconfig_scriptlets |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang |
|
|
|
%files -f %{name}.lang |
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
|
|
|
%doc BUGS COPYING ChangeLog FAQ FEATURES README* NEWS THANKS TODO |
|
|
|
%doc BUGS COPYING ChangeLog FAQ FEATURES README* NEWS THANKS TODO |
|
|
|
%config(noreplace) %{_sysconfdir}/lftp.conf |
|
|
|
%config(noreplace) %{_sysconfdir}/lftp.conf |
|
|
|
%{_bindir}/* |
|
|
|
%{_bindir}/* |
|
|
@ -98,12 +85,30 @@ rm -rf $RPM_BUILD_ROOT |
|
|
|
%{_datadir}/icons/hicolor/*/apps/* |
|
|
|
%{_datadir}/icons/hicolor/*/apps/* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files scripts |
|
|
|
%files scripts |
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
|
|
|
%{_datadir}/lftp |
|
|
|
%{_datadir}/lftp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.8.4-3 |
|
|
|
|
|
|
|
- Rebuild for readline 8.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.4-2 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 01 2018 Michal Ruprich <mruprich@redhat.com> - 4.8.4-1 |
|
|
|
|
|
|
|
- New version 4.8.4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-4 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 26 2018 Tomas Hozza <thozza@redhat.com> - 4.8.3-3 |
|
|
|
|
|
|
|
- Added gcc-c++ as an explicit BuildRequires |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-2 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 23 2017 Michal Ruprich <mruprich@redhat.com> - 4.8.3-1 |
|
|
|
* Mon Oct 23 2017 Michal Ruprich <mruprich@redhat.com> - 4.8.3-1 |
|
|
|
- new version 4.8.3 |
|
|
|
- new version 4.8.3 |
|
|
|
|
|
|
|
|
|
|
|