Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17510 | Посещений: 15343885
en ru br
Репозитории ALT
S:1.116-alt1
5.1: 0.05-alt2
4.1: 0.05-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-File-ShareDir

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
#   - File-ShareDir -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       File::ShareDir
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module File-ShareDir
%define m_distro File-ShareDir
%define m_name File-ShareDir
%define m_author_id ADAMK
%define _enable_test 1

Name: perl-File-ShareDir
Version: 0.05
Release: alt1

Summary: Locate per-dist and per-module shared files

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/~adamk/%m_distro-%version/

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/%m_distro-%version.tar.bz2

# Automatically added by buildreq on Thu Jan 17 2008

BuildRequires: perl-Class-Inspector perl-Module-Install perl-Params-Util perl-Test-Pod

%description
The intent of File::ShareDir is to provide a companion to
Class::Inspector and File::HomeDir, modules that take a process that is
well-known by advanced Perl developers but gets a little tricky, and
make it more available to the larger Perl community.

Quite often you want or need your Perl module (CPAN or otherwise) to
have access to a large amount of read-only data that is stored on the
file-system at run-time.

On a linux-like system, this would be in a place such as /usr/share,
however Perl runs on a wide variety of different systems, and so the use
of any one location is unreliable.

Perl provides a little-known method for doing this, but almost nobody is
aware that it exists. As a result, module authors often go through some
very strange ways to make the data available to their code.

The most common of these is to dump the data out to an enormous Perl
data structure and save it into the module itself. The result are
enormous multi-megabyte .pm files that chew up a lot of memory
needlessly.

%prep
%setup -q -n %m_distro-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc Changes README LICENSE
%perl_vendor_privlib/File/
%perl_vendor_man3dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin