Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-Class-MethodMaker
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define module_name Class-MethodMaker
Name: perl-%module_name
Version: 2.06
Release: alt1
Summary: %module_name module for perl
Summary(ru_RU.UTF8): п°п╬п╢я┐п╩я▄ %module_name п╢п╩я▐ Perl
License: GPL or Artistic
Group: Development/Perl
URL: http://search.cpan.org/dist/%module_name
Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Class/%module_name-%version.tar.bz2
AutoReqProv: yes, perl
BuildRequires: perl-Module-Build perl-Storable perl-devel
%description
This module solves the problem of having to write a bazillion
get/set methods that are all the same. The argument to 'use'
is a hash whose keys are the names of types of generic
methods generated by MethodMaker and whose values tell method
maker what methods to make. (More precisely, the keys are the
names of MethodMaker methods (methods that write methods) and
the values are the arguments to those methods.
%description -l ru_RU.UTF8
п╜я┌п╬я┌ п╪п╬п╢я┐п╩я▄ п╦п╥п╠п╟п╡п╩я▐п╣я┌ п╬я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╬п©п╦я│я▀п╡п╟я┌я▄ п╪п╫п╬п╤п╣я│я┌п╡п╬
п╬п╢п╦п╫п╟п╨п╬п╡я▀я┘ п╪п╣я┌п╬п╢п╬п╡ get/set. п░я─пЁя┐п╪п╣п╫я┌п╬п╪ 'use' я▐п╡п╩я▐п╣я┌я│я▐
я┘я█я┬-п╪п╟я│я│п╦п╡, п╨п╩я▌я┤п╦ п╨п╬я┌п╬я─п╬пЁп╬ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┌ п╦п╪п╣п╫п╟п╪ п©я─п╬я│я┌я▀я┘ п╪п╣я┌п╬п╢п╬п╡,
пЁп╣п╫п╣я─п╦я─я┐п╣п╪я▀я┘ п╪п╬п╢я┐п╩п╣п╪ MethodMaker, п╟ п╥п╫п╟я┤п╣п╫п╦я▐ я│п╬п╬п╠я┴п╟я▌я┌ methodmaker-я┐,
п╨п╟п╨п╦п╣ п╪п╣я┌п╬п╢я▀ я┌я─п╣п╠я┐я▌я┌я│я▐. (п╒п╬я┤п╫п╣п╣, п╨п╩я▌я┤п╦ я▐п╡п╩я▐я▌я┌я│я▐ п╦п╪п╣п╫п╟п╪п╦ п╪п╣я┌п╬п╢п╬п╡
MethodMaker (п╪п╣я┌п╬п╢я▀ я│п╬п╥п╢п╟п╫п╦я▐ п╪п╣я┌п╬п╢п╬п╡), п╟ п╥п╫п╟я┤п╣п╫п╦я▐ п╨п╩я▌я┤п╣п╧ -
п╟я─пЁя┐п╪п╣п╫я┌я▀ я█я┌п╦я┘ п╪п╣я┌п╬п╢п╬п╡.
%prep
%setup -q -n %module_name-%version
%build
CFLAGS="$RPM_OPT_FLAGS" %__perl Makefile.PL INSTALLDIRS=vendor
make
make test
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README TODO Changes
%perl_vendorarch/Class
%perl_vendorarch/auto/Class
%_mandir/*/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: perl-%module_name
Version: 2.06
Release: alt1
Summary: %module_name module for perl
Summary(ru_RU.UTF8): п°п╬п╢я┐п╩я▄ %module_name п╢п╩я▐ Perl
License: GPL or Artistic
Group: Development/Perl
URL: http://search.cpan.org/dist/%module_name
Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Class/%module_name-%version.tar.bz2
AutoReqProv: yes, perl
BuildRequires: perl-Module-Build perl-Storable perl-devel
%description
This module solves the problem of having to write a bazillion
get/set methods that are all the same. The argument to 'use'
is a hash whose keys are the names of types of generic
methods generated by MethodMaker and whose values tell method
maker what methods to make. (More precisely, the keys are the
names of MethodMaker methods (methods that write methods) and
the values are the arguments to those methods.
%description -l ru_RU.UTF8
п╜я┌п╬я┌ п╪п╬п╢я┐п╩я▄ п╦п╥п╠п╟п╡п╩я▐п╣я┌ п╬я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╬п©п╦я│я▀п╡п╟я┌я▄ п╪п╫п╬п╤п╣я│я┌п╡п╬
п╬п╢п╦п╫п╟п╨п╬п╡я▀я┘ п╪п╣я┌п╬п╢п╬п╡ get/set. п░я─пЁя┐п╪п╣п╫я┌п╬п╪ 'use' я▐п╡п╩я▐п╣я┌я│я▐
я┘я█я┬-п╪п╟я│я│п╦п╡, п╨п╩я▌я┤п╦ п╨п╬я┌п╬я─п╬пЁп╬ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┌ п╦п╪п╣п╫п╟п╪ п©я─п╬я│я┌я▀я┘ п╪п╣я┌п╬п╢п╬п╡,
пЁп╣п╫п╣я─п╦я─я┐п╣п╪я▀я┘ п╪п╬п╢я┐п╩п╣п╪ MethodMaker, п╟ п╥п╫п╟я┤п╣п╫п╦я▐ я│п╬п╬п╠я┴п╟я▌я┌ methodmaker-я┐,
п╨п╟п╨п╦п╣ п╪п╣я┌п╬п╢я▀ я┌я─п╣п╠я┐я▌я┌я│я▐. (п╒п╬я┤п╫п╣п╣, п╨п╩я▌я┤п╦ я▐п╡п╩я▐я▌я┌я│я▐ п╦п╪п╣п╫п╟п╪п╦ п╪п╣я┌п╬п╢п╬п╡
MethodMaker (п╪п╣я┌п╬п╢я▀ я│п╬п╥п╢п╟п╫п╦я▐ п╪п╣я┌п╬п╢п╬п╡), п╟ п╥п╫п╟я┤п╣п╫п╦я▐ п╨п╩я▌я┤п╣п╧ -
п╟я─пЁя┐п╪п╣п╫я┌я▀ я█я┌п╦я┘ п╪п╣я┌п╬п╢п╬п╡.
%prep
%setup -q -n %module_name-%version
%build
CFLAGS="$RPM_OPT_FLAGS" %__perl Makefile.PL INSTALLDIRS=vendor
make
make test
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README TODO Changes
%perl_vendorarch/Class
%perl_vendorarch/auto/Class
%_mandir/*/*
%changelog
…
Полный changelog можно просмотреть здесь