- Split utility scripts to subpackage to isolate perl dependency. (#510813)

This commit is contained in:
Adam Jackson 2009-07-20 17:24:40 +00:00
parent 178f8f025d
commit ce27806a7a

View File

@ -1,7 +1,7 @@
Summary: A sophisticated file transfer program Summary: A sophisticated file transfer program
Name: lftp Name: lftp
Version: 3.7.14 Version: 3.7.14
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Internet Group: Applications/Internet
Source0: ftp://ftp.yar.ru/lftp/lftp-%{version}.tar.gz 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 mirroring, and can transfer several files in parallel. It is designed with
reliability in mind. 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 %prep
%setup -q %setup -q
@ -60,10 +69,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %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}/*
%{_mandir}/*/* %{_mandir}/*/*
%{_datadir}/lftp
%dir %{_libdir}/lftp %dir %{_libdir}/lftp
%dir %{_libdir}/lftp/%{version} %dir %{_libdir}/lftp/%{version}
%{_libdir}/lftp/%{version}/cmd-mirror.so %{_libdir}/lftp/%{version}/cmd-mirror.so
@ -78,7 +85,15 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/liblftp-jobs.so.* %{_libdir}/liblftp-jobs.so.*
%{_libdir}/liblftp-tasks.so.* %{_libdir}/liblftp-tasks.so.*
%files scripts
%defattr(-,root,root,-)
%{_datadir}/lftp
%changelog %changelog
* Mon Jul 20 2009 Adam Jackson <ajax@redhat.com> 3.7.14-4
- Split utility scripts to subpackage to isolate perl dependency. (#510813)
* Wed Jun 10 2009 Jiri Skala <jskala@redhat.com> - 3.7.14-3 * Wed Jun 10 2009 Jiri Skala <jskala@redhat.com> - 3.7.14-3
- fixed bug in ls via http - corrupted file names containing spaces - fixed bug in ls via http - corrupted file names containing spaces