diff --git a/lftp.spec b/lftp.spec index f5ac1ea..45465cd 100644 --- a/lftp.spec +++ b/lftp.spec @@ -1,7 +1,7 @@ Summary: A sophisticated file transfer program Name: lftp Version: 3.7.14 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: Applications/Internet Source0: ftp://ftp.yar.ru/lftp/lftp-%{version}.tar.gz @@ -17,6 +17,15 @@ 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 @@ -60,10 +69,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc BUGS COPYING ChangeLog FAQ FEATURES README* NEWS THANKS TODO %config(noreplace) %{_sysconfdir}/lftp.conf - %{_bindir}/* %{_mandir}/*/* -%{_datadir}/lftp %dir %{_libdir}/lftp %dir %{_libdir}/lftp/%{version} %{_libdir}/lftp/%{version}/cmd-mirror.so @@ -78,7 +85,15 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/liblftp-jobs.so.* %{_libdir}/liblftp-tasks.so.* +%files scripts +%defattr(-,root,root,-) +%{_datadir}/lftp + + %changelog +* Mon Jul 20 2009 Adam Jackson 3.7.14-4 +- Split utility scripts to subpackage to isolate perl dependency. (#510813) + * Wed Jun 10 2009 Jiri Skala - 3.7.14-3 - fixed bug in ls via http - corrupted file names containing spaces