Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-File-NCopy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
#
# - File::NCopy -
# This spec file was automatically generated by cpan2rpm [ver: 2.027]
# (ALT Linux revision)
# The following arguments were used:
# --spec-only File::NCopy
# For more information on cpan2rpm please visit: http://perl.arix.com/
#
%define module File-NCopy
%define m_distro File-NCopy
%define m_name File::NCopy
%define m_author_id unknown
%define _enable_test 1
Name: perl-File-NCopy
Version: 0.36
Release: alt1.1
Summary: File-NCopy - Copy file, file
License: Artistic
Group: Development/Perl
Url: http://www.cpan.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
Source: http://www.cpan.org/authors/id/C/CH/CHORNY/File-NCopy-0.36.tar.gz
# Automatically added by buildreq on Tue Jul 12 2005
BuildRequires: perl-devel
%description
File::NCopy::copy copies files to directories, or a single file to
another file. You can also use a reference to a file handle if you wish
whem doing a file to file copy. The functionality is very similar to
cp. If the argument is a directory to directory copy and the
recursive flag is set then it is done recursively like cp -R.
In fact it behaves like cp on Unix for the most part.
If called in array context, an array of successful copies is returned,
otherwise the number of succesful copies is returned. If passed a file
handle, it's difficult to make sure the file we are copying isn't the
same that we are copying to, since by opening the file in write mode it
gets pooched. To avoid this use file names instead, if at all possible,
especially for the to file. If passed a file handle, it is not closed
when copy returns, files opened by copy are closed.
%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes
%perl_vendor_privlib/File/
%changelog
…
Полный changelog можно просмотреть здесь
# - File::NCopy -
# This spec file was automatically generated by cpan2rpm [ver: 2.027]
# (ALT Linux revision)
# The following arguments were used:
# --spec-only File::NCopy
# For more information on cpan2rpm please visit: http://perl.arix.com/
#
%define module File-NCopy
%define m_distro File-NCopy
%define m_name File::NCopy
%define m_author_id unknown
%define _enable_test 1
Name: perl-File-NCopy
Version: 0.36
Release: alt1.1
Summary: File-NCopy - Copy file, file
License: Artistic
Group: Development/Perl
Url: http://www.cpan.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
Source: http://www.cpan.org/authors/id/C/CH/CHORNY/File-NCopy-0.36.tar.gz
# Automatically added by buildreq on Tue Jul 12 2005
BuildRequires: perl-devel
%description
File::NCopy::copy copies files to directories, or a single file to
another file. You can also use a reference to a file handle if you wish
whem doing a file to file copy. The functionality is very similar to
cp. If the argument is a directory to directory copy and the
recursive flag is set then it is done recursively like cp -R.
In fact it behaves like cp on Unix for the most part.
If called in array context, an array of successful copies is returned,
otherwise the number of succesful copies is returned. If passed a file
handle, it's difficult to make sure the file we are copying isn't the
same that we are copying to, since by opening the file in write mode it
gets pooched. To avoid this use file names instead, if at all possible,
especially for the to file. If passed a file handle, it is not closed
when copy returns, files opened by copy are closed.
%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes
%perl_vendor_privlib/File/
%changelog
…
Полный changelog можно просмотреть здесь