Группа :: Сети/Передача файлов
Пакет: mirror
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: mirror
Version: 2.9
Release: ipl3mdk
Packager: Rider <rider at altlinux.ru>
Summary: A Perl program for mirroring FTP sites
License: distributable
Group: Networking/File transfer
Url: http://sunsite.doc.ic.ac.uk/packages/%name/
Source: %name.tar.bz2
Patch: %name-%version-ipl.patch
BuildArch: noarch
%description
Mirror uses the FTP protocol to duplicate a directory hierarchy
between its local host and a remote host. Mirror avoids unnecessarily
copying files by comparing the file timestamps and sizes before
transfer. Mirror is also optionally capable of compressing, gzipping
and splitting files. Mirror was written for the use of archive
maintainers but can be used by anyone who needs to transfer a large
number of files via FTP.
%prep
%setup -q -c
%patch -p1
%install
mkdir -p $RPM_BUILD_ROOT{%_bindir,%_libdir/%name,%_sysconfdir,%_mandir/man1}
%make_install install \
"PLDIR=$RPM_BUILD_ROOT%_libdir/%name" \
"BINDIR=$RPM_BUILD_ROOT%_bindir" \
"MANDIR=$RPM_BUILD_ROOT%_mandir/man1"
install -p -m644 %name.defaults $RPM_BUILD_ROOT%_sysconfdir
ln -sf %name.pl $RPM_BUILD_ROOT%_bindir/%name
%files
%config(noreplace) %_sysconfdir/%name.defaults
%_bindir/*
%_libdir/%name
%_mandir/man?/*
%doc README.txt *.html CHANGES*
%doc %name.nightly support/cyber-patches support/lstest.pl
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.9
Release: ipl3mdk
Packager: Rider <rider at altlinux.ru>
Summary: A Perl program for mirroring FTP sites
License: distributable
Group: Networking/File transfer
Url: http://sunsite.doc.ic.ac.uk/packages/%name/
Source: %name.tar.bz2
Patch: %name-%version-ipl.patch
BuildArch: noarch
%description
Mirror uses the FTP protocol to duplicate a directory hierarchy
between its local host and a remote host. Mirror avoids unnecessarily
copying files by comparing the file timestamps and sizes before
transfer. Mirror is also optionally capable of compressing, gzipping
and splitting files. Mirror was written for the use of archive
maintainers but can be used by anyone who needs to transfer a large
number of files via FTP.
%prep
%setup -q -c
%patch -p1
%install
mkdir -p $RPM_BUILD_ROOT{%_bindir,%_libdir/%name,%_sysconfdir,%_mandir/man1}
%make_install install \
"PLDIR=$RPM_BUILD_ROOT%_libdir/%name" \
"BINDIR=$RPM_BUILD_ROOT%_bindir" \
"MANDIR=$RPM_BUILD_ROOT%_mandir/man1"
install -p -m644 %name.defaults $RPM_BUILD_ROOT%_sysconfdir
ln -sf %name.pl $RPM_BUILD_ROOT%_bindir/%name
%files
%config(noreplace) %_sysconfdir/%name.defaults
%_bindir/*
%_libdir/%name
%_mandir/man?/*
%doc README.txt *.html CHANGES*
%doc %name.nightly support/cyber-patches support/lstest.pl
%changelog
…
Полный changelog можно просмотреть здесь