@ -1,17 +1,15 @@
@@ -1,17 +1,15 @@
Summary: A sophisticated file transfer program
Name: lftp
Version: 4.8.3
Release: 1%{?dist}
Version: 4.8.4
Release: 3%{?dist}
License: GPLv3+
Group: Applications/Internet
Source0: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz
URL: http://lftp.yar.ru/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel, gnutls-devel, pkgconfig, readline-devel, gettext
BuildRequires: zlib-devel
BuildRequires: zlib-devel, gcc-c++
BuildRequires: desktop-file-utils
Patch1: lftp-4.0.9-date_fmt.patch
Patch1: lftp-4.0.9-date_fmt.patch
%description
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
@@ -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
reliability in mind.
%package scripts
Summary: Scripts for lftp
Group: Applications/Internet
Requires: lftp >= %{version}-%{release}
BuildArch: noarch
%description scripts
Utility scripts for use with lftp.
%prep
%setup -q
%patch1 -p1 -b .date_fmt
#sed -i.rpath -e '/lftp_cv_openssl/s|-R.*lib||' configure
sed -i.norpath -e \
'/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib64 |' \
configure
%build
%configure --with-modules --disable-static --with-gnutls --without-openssl --with-debug
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export tagname=CC
@ -61,21 +57,12 @@ rm $RPM_BUILD_ROOT%{_libdir}/liblftp-tasks.so
@@ -61,21 +57,12 @@ rm $RPM_BUILD_ROOT%{_libdir}/liblftp-tasks.so
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{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
%defattr(-,root,root,-)
%doc BUGS COPYING ChangeLog FAQ FEATURES README* NEWS THANKS TODO
%config(noreplace) %{_sysconfdir}/lftp.conf
%{_bindir}/*
@ -98,12 +85,30 @@ rm -rf $RPM_BUILD_ROOT
@@ -98,12 +85,30 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor/*/apps/*
%files scripts
%defattr(-,root,root,-)
%{_datadir}/lftp
%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
- new version 4.8.3